Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DnaDesignDef.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=2 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 DnaDesignDef.hh
11 /// @brief
12 /// @author ashworth
13 
14 #ifndef INCLUDED_protocols_dna_DnaDesignDef_hh
15 #define INCLUDED_protocols_dna_DnaDesignDef_hh
16 
18 #include <utility/pointer/ReferenceCount.hh>
19 
20 #include <utility/vector1.fwd.hh>
21 
22 #include <iosfwd>
23 #include <string>
24 
25 namespace protocols {
26 namespace dna {
27 
28 ///@brief command-line dna_defs are of the format "C.501.ADE"
29 /// they are parsed here into this little class for convenience
31 public:
32  char chain;
33  int pdbpos; // store pdb position (can be negative), convert to rosetta index later
34  std::string name3; // store as string, convert to AA or Residue type later
35 
36  // string constructor
37  DnaDesignDef( std::string const & );
38  virtual ~DnaDesignDef();
39 };
40 
41 std::ostream & operator << ( std::ostream &, DnaDesignDef const & );
42 std::ostream & operator << ( std::ostream &, DnaDesignDefs const & );
43 std::ostream & operator << ( std::ostream &, DnaDesignDefOPs const & );
44 
45 } // namespace dna
46 } // namespace protocols
47 
48 #endif