OpenStructure
Loading...
Searching...
No Matches
minimal_compound_lib.hh
Go to the documentation of this file.
1
2#ifndef OST_CONOP_MINIMAL_COMPOUND_LIB_HH
3#define OST_CONOP_MINIMAL_COMPOUND_LIB_HH
4
6
7namespace ost { namespace conop {
8
9class MinimalCompoundLib;
10typedef boost::shared_ptr<MinimalCompoundLib> MinimalCompoundLibPtr;
11
12// a minimal compound lib containing the definitions of the 20 standard
13// amino acids and standard nucleotides
15public:
19 virtual CompoundPtr FindCompound(const String& id,
20 Compound::Dialect dialect) const;
21private:
22 static CompoundMap InitCompounds();
23 // since this information is never going to change, it is shared
24 // between instances of minimal compound lib.
25 static CompoundMap compounds_;
26};
27
28
29}}
30#endif
virtual CompoundPtr FindCompound(const String &id, Compound::Dialect dialect) const
#define DLLEXPORT_OST_CONOP
std::string String
Definition base.hh:54
boost::shared_ptr< Compound > CompoundPtr
Definition compound.hh:145
boost::shared_ptr< MinimalCompoundLib > MinimalCompoundLibPtr
std::map< String, CompoundPtr > CompoundMap
Definition compound.hh:338
Definition base.dox:1