41 #ifndef OBJECTS_SEQFEAT_ORG_REF_BASE_HPP
42 #define OBJECTS_SEQFEAT_ORG_REF_BASE_HPP
54 #ifndef BEGIN_objects_SCOPE
55 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
56 # define END_objects_SCOPE END_SCOPE(objects)
101 typedef vector< CRef< CDbtag > >
TDb;
128 bool IsSetTaxname(
void)
const;
135 bool CanGetTaxname(
void)
const;
138 void ResetTaxname(
void);
144 const TTaxname& GetTaxname(
void)
const;
167 bool IsSetCommon(
void)
const;
174 bool CanGetCommon(
void)
const;
177 void ResetCommon(
void);
183 const TCommon& GetCommon(
void)
const;
206 bool IsSetMod(
void)
const;
213 bool CanGetMod(
void)
const;
222 const TMod& GetMod(
void)
const;
238 bool IsSetDb(
void)
const;
245 bool CanGetDb(
void)
const;
254 const TDb& GetDb(
void)
const;
270 bool IsSetSyn(
void)
const;
277 bool CanGetSyn(
void)
const;
286 const TSyn& GetSyn(
void)
const;
301 bool IsSetOrgname(
void)
const;
308 bool CanGetOrgname(
void)
const;
317 const TOrgname& GetOrgname(
void)
const;
332 virtual void Reset(
void);
*** Org-ref *********************************************** * * Reference to an organism * defines on...
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
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_SEQFEAT_EXPORT
bool IsSetDb(void) const
ids in taxonomic or culture dbases Check if a value has been assigned to Db data member.
TCommon & SetCommon(void)
Assign a value to Common data member.
bool CanGetMod(void) const
Check if it is safe to call GetMod method.
bool CanGetCommon(void) const
Check if it is safe to call GetCommon method.
vector< CRef< CDbtag > > m_Db
CRef< TOrgname > m_Orgname
Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex
TTaxname & SetTaxname(void)
Assign a value to Taxname data member.
bool CanGetSyn(void) const
Check if it is safe to call GetSyn method.
COrg_ref_Base & operator=(const COrg_ref_Base &)
bool IsSetCommon(void) const
common name Check if a value has been assigned to Common data member.
TDb & SetDb(void)
Assign a value to Db data member.
vector< CRef< CDbtag > > TDb
bool IsSetMod(void) const
unstructured modifiers Check if a value has been assigned to Mod data member.
TSyn & SetSyn(void)
Assign a value to Syn data member.
const TTaxname & GetTaxname(void) const
Get the Taxname member data.
const TCommon & GetCommon(void) const
Get the Common member data.
const TDb & GetDb(void) const
Get the Db member data.
const TSyn & GetSyn(void) const
Get the Syn member data.
bool CanGetTaxname(void) const
Check if it is safe to call GetTaxname method.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetOrgname(void) const
Check if it is safe to call GetOrgname method.
bool IsSetOrgname(void) const
Check if a value has been assigned to Orgname data member.
bool IsSetTaxname(void) const
preferred formal name Check if a value has been assigned to Taxname data member.
TMod & SetMod(void)
Assign a value to Mod data member.
bool CanGetDb(void) const
Check if it is safe to call GetDb method.
const TMod & GetMod(void) const
Get the Mod member data.
bool IsSetSyn(void) const
synonyms for taxname or common Check if a value has been assigned to Syn data member.
COrg_ref_Base(const COrg_ref_Base &)
const TOrgname & GetOrgname(void) const
Get the Orgname member data.
const GenericPointer< typename T::ValueType > T2 value
void ResetOrgname(CRef< objects::CSeq_entry > entry)
void SetTaxname(CRef< objects::CSeq_entry > entry, string taxname)
void SetCommon(CRef< objects::CSeq_entry > entry, string common)