41 #ifndef OBJECTS_MMDB1_RESIDUE_GRAPH_BASE_HPP
42 #define OBJECTS_MMDB1_RESIDUE_GRAPH_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
107 eResidue_type_deoxyribonucleotide = 1,
108 eResidue_type_ribonucleotide = 2,
109 eResidue_type_amino_acid = 3,
110 eResidue_type_other = 255
118 typedef list< CRef< CBiomol_descr > >
TDescr;
122 typedef list< CRef< CIntra_residue_bond > >
TBonds;
148 bool IsSetId(
void)
const;
155 bool CanGetId(
void)
const;
185 bool IsSetDescr(
void)
const;
192 bool CanGetDescr(
void)
const;
195 void ResetDescr(
void);
201 const TDescr& GetDescr(
void)
const;
216 bool IsSetResidue_type(
void)
const;
223 bool CanGetResidue_type(
void)
const;
226 void ResetResidue_type(
void);
253 bool IsSetIupac_code(
void)
const;
260 bool CanGetIupac_code(
void)
const;
263 void ResetIupac_code(
void);
284 bool IsSetAtoms(
void)
const;
291 bool CanGetAtoms(
void)
const;
294 void ResetAtoms(
void);
300 const TAtoms& GetAtoms(
void)
const;
315 bool IsSetBonds(
void)
const;
322 bool CanGetBonds(
void)
const;
325 void ResetBonds(
void);
331 const TBonds& GetBonds(
void)
const;
346 bool IsSetChiral_centers(
void)
const;
353 bool CanGetChiral_centers(
void)
const;
356 void ResetChiral_centers(
void);
371 virtual void Reset(
void);
User-defined methods of the data storage class.
Residue graphs define atomic formulae, connectivity, chirality, and names.
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_MMDB1_EXPORT
CResidue_graph_Base & operator=(const CResidue_graph_Base &)
TResidue_type GetResidue_type(void) const
Get the Residue_type member data.
list< CRef< CAtom > > m_Atoms
TChiral_centers & SetChiral_centers(void)
Assign a value to Chiral_centers data member.
const TChiral_centers & GetChiral_centers(void) const
Get the Chiral_centers member data.
void ResetResidue_type(void)
Reset Residue_type data member.
bool IsSetAtoms(void) const
Check if a value has been assigned to Atoms data member.
list< CRef< CAtom > > TAtoms
bool IsSetChiral_centers(void) const
Check if a value has been assigned to Chiral_centers data member.
const TDescr & GetDescr(void) const
Get the Descr member data.
void ResetId(void)
Reset Id data member.
list< CRef< CBiomol_descr > > TDescr
TBonds & SetBonds(void)
Assign a value to Bonds data member.
list< CRef< CChiral_center > > TChiral_centers
bool IsSetDescr(void) const
Check if a value has been assigned to Descr data member.
CResidue_graph_Base(const CResidue_graph_Base &)
const TIupac_code & GetIupac_code(void) const
Get the Iupac_code member data.
TAtoms & SetAtoms(void)
Assign a value to Atoms data member.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
list< CRef< CChiral_center > > m_Chiral_centers
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetResidue_type(void) const
Check if a value has been assigned to Residue_type data member.
bool IsSetBonds(void) const
Check if a value has been assigned to Bonds data member.
bool CanGetBonds(void) const
Check if it is safe to call GetBonds method.
bool CanGetChiral_centers(void) const
Check if it is safe to call GetChiral_centers method.
TId & SetId(void)
Assign a value to Id data member.
bool CanGetIupac_code(void) const
Check if it is safe to call GetIupac_code method.
TIupac_code & SetIupac_code(void)
Assign a value to Iupac_code data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
list< CRef< CIntra_residue_bond > > m_Bonds
const TBonds & GetBonds(void) const
Get the Bonds member data.
bool CanGetDescr(void) const
Check if it is safe to call GetDescr method.
bool IsSetIupac_code(void) const
Check if a value has been assigned to Iupac_code data member.
bool CanGetAtoms(void) const
Check if it is safe to call GetAtoms method.
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
list< CRef< CIntra_residue_bond > > TBonds
TDescr & SetDescr(void)
Assign a value to Descr data member.
list< string > TIupac_code
bool CanGetResidue_type(void) const
Check if it is safe to call GetResidue_type method.
list< CRef< CBiomol_descr > > m_Descr
const TId & GetId(void) const
Get the Id member data.
list< string > m_Iupac_code
const TAtoms & GetAtoms(void) const
Get the Atoms member data.
TResidue_type & SetResidue_type(void)
Assign a value to Residue_type data member.
const GenericPointer< typename T::ValueType > T2 value