19 #ifndef OST_CONOP_COMPOUND_HH
20 #define OST_CONOP_COMPOUND_HH
23 #include <boost/shared_ptr.hpp>
29 namespace ost {
namespace conop {
59 assert(year.first); assert(month.first); assert(day.first);
60 return Date(year.second, month.second, day.second);
123 : olc_(
'?'), tlc_(id), chem_class_(), dialect_(
Compound::PDB) {
162 chem_class_=chem_class;
170 return chem_class_.IsPeptideLinking();
173 atom_specs_.push_back(atom);
177 bond_specs_.push_back(bond);
184 int GetAtomSpecIndex(
const String& name)
const;
193 const Date& GetModificationDate()
const
197 const Date& GetCreationDate()
const
199 return creation_date_;
202 void SetModificationDate(
const Date& mod_date)
207 void SetCreationDate(
const Date& creation_date)
209 creation_date_=creation_date;