Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MembraneTopology.cc
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 sw=2 noet:
3 //
4 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 // Unit headers
14 #include <basic/datacache/BasicDataCache.hh>
15 
16 // Project Headers
17 #include <core/pose/Pose.hh>
18 //parsing
19 #include <utility/tag/Tag.hh>
20 #include <protocols/moves/Mover.fwd.hh> //Movers_map
21 #include <protocols/filters/Filter.fwd.hh> //Filters_map
22 #include <basic/Tracer.hh>
23 
24 // Utility Headers
25 
26 // Unit Headers
27 
28 // C++ headers
29 
30 namespace protocols {
31 namespace simple_moves {
32 
33 using namespace std;
34 
35 using core::pose::Pose;
36 
37 static basic::Tracer TR( "protocols.simple_moves.MembraneTopology" );
38 
41 {
43 }
44 
47  return new MembraneTopology;
48 }
49 
52 {
53  return "MembraneTopology";
54 }
55 
56 MembraneTopology::~MembraneTopology() {}
57 
58 ///@brief default ctor
60  parent(),
61  span_file_("")
62 {}
63 
64 void MembraneTopology::apply( Pose & pose ) {
66  membrane_topology->initialize( span_file_ );
68  TR<<"Setting pose's membrane topology according to span file "<<span_file()<<std::endl;
69 }
70 
72 MembraneTopology::get_name() const {
73  return MembraneTopologyCreator::mover_name();
74 }
75 
76 void MembraneTopology::parse_my_tag( utility::tag::TagPtr const tag,
80  Pose const & )
81 {
82 
83  span_file( tag->getOption< std::string >( "span_file" ) );
84  TR<<"Span file defined as "<<span_file()<<std::endl;
85 }
86 
87 
88 } // moves
89 } // protocols