Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PDBOutputter.hh
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=1 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file protocols/outputter/PDBOutputter.hh
11 /// @brief An outputter can take a PipeMapSP, a PipeSP, or a PoseSP and write it to a pdb
12 /// @author Ken Jung
13 
14 #ifndef INCLUDED_protocols_outputter_PDBOutputter_hh
15 #define INCLUDED_protocols_outputter_PDBOutputter_hh
16 
17 // Unit Headers
20 
21 namespace protocols {
22 namespace outputter {
23 
24 #ifdef USELUA
25 void lregister_PDBOutputter( lua_State * lstate );
26 #endif
27 
28 using namespace core::io::serialization;
29 using core::pose::PoseSP;
30 
32 
33  public:
34  PDBOutputter();
35  virtual ~PDBOutputter();
36 
37  virtual void write( Pose & p );
38 
39  // factory functions
40  OutputterSP create();
41  static std::string name() {
42  return "PDBOutputter";
43  }
44 
45 #ifdef USELUA
46  virtual void lregister( lua_State * lstate );
47 #endif
48 
49 }; // end
50 
51 } // outputter
52 } // protocols
53 
54 
55 #endif //INCLUDED_protocols_outputter_PDBOutputter_hh