41 #ifndef OBJECTS_HOMOLOGENE_HG_GENE_BASE_HPP
42 #define OBJECTS_HOMOLOGENE_HG_GENE_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
751 virtual void Reset(
void);
1390 m_Chr = std::forward<CHG_Gene_Base::TChr>(
value);
Base class for all serializable objects.
static char UnassignedByte(void)
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.
bool CanGetLocus_tag(void) const
Check if it is safe to call GetLocus_tag method.
CRef< TLocation > m_Location
bool IsSetTaxid(void) const
taxid of gene node Check if a value has been assigned to Taxid data member.
const TSymbol & GetSymbol(void) const
Get the Symbol member data.
TTitle & SetTitle(void)
Assign a value to Title data member.
TProt_acc & SetProt_acc(void)
Assign a value to Prot_acc data member.
bool IsSetSymbol(void) const
Check if a value has been assigned to Symbol data member.
TLocation & SetLocation(void)
Assign a value to Location data member.
bool IsSetProt_links(void) const
Check if a value has been assigned to Prot_links data member.
void ResetNuc_gi(void)
Reset Nuc_gi data member.
TChr & SetChr(void)
Assign a value to Chr data member.
void ResetChr(void)
Reset Chr data member.
TNuc_acc & SetNuc_acc(void)
Assign a value to Nuc_acc data member.
list< CRef< CHG_Domain > > m_Domains
void ResetProt_links(void)
Reset Prot_links data member.
const TLocus_tag & GetLocus_tag(void) const
Get the Locus_tag member data.
bool IsSetLocation(void) const
location on the genome Check if a value has been assigned to Location data member.
bool IsSetTitle(void) const
Check if a value has been assigned to Title data member.
void ResetSymbol(void)
Reset Symbol data member.
bool CanGetNuc_acc(void) const
Check if it is safe to call GetNuc_acc method.
bool CanGetProt_len(void) const
Check if it is safe to call GetProt_len method.
bool CanGetProt_gi(void) const
Check if it is safe to call GetProt_gi method.
TSymbol & SetSymbol(void)
Assign a value to Symbol data member.
virtual ~CHG_Gene_Base(void)
const TLocation & GetLocation(void) const
Get the Location member data.
const TChr & GetChr(void) const
Get the Chr member data.
list< CRef< CHG_Domain > > TDomains
bool CanGetGeneid(void) const
Check if it is safe to call GetGeneid method.
TOtherid GetOtherid(void) const
Get the Otherid member data.
TNuc_gi & SetNuc_gi(void)
Assign a value to Nuc_gi data member.
CHG_Gene_Base & operator=(const CHG_Gene_Base &)
TGene_links & SetGene_links(void)
Assign a value to Gene_links data member.
bool IsSetLocus_tag(void) const
Check if a value has been assigned to Locus_tag data member.
CHG_Gene_Base(const CHG_Gene_Base &)
void ResetLocus_tag(void)
Reset Locus_tag data member.
const TNuc_acc & GetNuc_acc(void) const
Get the Nuc_acc member data.
TDomains & SetDomains(void)
Assign a value to Domains data member.
bool IsSetProt_len(void) const
Check if a value has been assigned to Prot_len data member.
void ResetProt_gi(void)
Reset Prot_gi data member.
list< CRef< CHG_Link > > TProt_links
bool CanGetDomains(void) const
Check if it is safe to call GetDomains method.
void ResetLocation(void)
Reset Location data member.
void ResetNuc_acc(void)
Reset Nuc_acc data member.
bool CanGetGene_links(void) const
Check if it is safe to call GetGene_links method.
bool IsSetGene_links(void) const
Check if a value has been assigned to Gene_links data member.
bool CanGetTitle(void) const
Check if it is safe to call GetTitle method.
bool CanGetProt_links(void) const
Check if it is safe to call GetProt_links method.
bool IsSetDomains(void) const
Check if a value has been assigned to Domains data member.
bool IsSetNuc_acc(void) const
Check if a value has been assigned to Nuc_acc data member.
list< CRef< CHG_Link > > TGene_links
bool CanGetChr(void) const
Check if it is safe to call GetChr method.
bool IsSetChr(void) const
Check if a value has been assigned to Chr data member.
TLocus_tag & SetLocus_tag(void)
Assign a value to Locus_tag data member.
bool IsSetOtherid(void) const
internal use only!!!!! Check if a value has been assigned to Otherid data member.
bool IsSetGeneid(void) const
Check if a value has been assigned to Geneid data member.
void ResetOtherid(void)
Reset Otherid data member.
bool IsSetProt_gi(void) const
Check if a value has been assigned to Prot_gi data member.
TOtherid & SetOtherid(void)
Assign a value to Otherid data member.
TTaxid & SetTaxid(void)
Assign a value to Taxid data member.
Tparent::CMemberIndex< E_memberIndex, 18 > TmemberIndex
bool CanGetSymbol(void) const
Check if it is safe to call GetSymbol method.
TProt_gi & SetProt_gi(void)
Assign a value to Prot_gi data member.
const TTitle & GetTitle(void) const
Get the Title member data.
bool CanGetLocation(void) const
Check if it is safe to call GetLocation method.
void ResetAliases(void)
Reset Aliases data member.
bool IsSetProt_acc(void) const
Check if a value has been assigned to Prot_acc data member.
TGeneid GetGeneid(void) const
Get the Geneid member data.
void ResetDomains(void)
Reset Domains data member.
TGeneid & SetGeneid(void)
Assign a value to Geneid data member.
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetAliases(void) const
Check if it is safe to call GetAliases method.
list< CRef< CHG_Link > > m_Gene_links
bool IsSetAliases(void) const
Check if a value has been assigned to Aliases data member.
TNuc_gi GetNuc_gi(void) const
Get the Nuc_gi member data.
bool CanGetNuc_gi(void) const
Check if it is safe to call GetNuc_gi method.
void ResetProt_acc(void)
Reset Prot_acc data member.
list< CRef< CHG_Link > > m_Prot_links
TTaxid GetTaxid(void) const
Get the Taxid member data.
const TDomains & GetDomains(void) const
Get the Domains member data.
void ResetGeneid(void)
Reset Geneid data member.
void ResetTaxid(void)
Reset Taxid data member.
bool IsSetNuc_gi(void) const
Check if a value has been assigned to Nuc_gi data member.
bool CanGetProt_acc(void) const
Check if it is safe to call GetProt_acc method.
TProt_gi GetProt_gi(void) const
Get the Prot_gi member data.
TProt_links & SetProt_links(void)
Assign a value to Prot_links data member.
void ResetTitle(void)
Reset Title data member.
TAliases & SetAliases(void)
Assign a value to Aliases data member.
void ResetGene_links(void)
Reset Gene_links data member.
TProt_len GetProt_len(void) const
Get the Prot_len member data.
bool CanGetTaxid(void) const
Check if it is safe to call GetTaxid method.
const TProt_acc & GetProt_acc(void) const
Get the Prot_acc member data.
const TAliases & GetAliases(void) const
Get the Aliases member data.
void ResetProt_len(void)
Reset Prot_len data member.
TProt_len & SetProt_len(void)
Assign a value to Prot_len data member.
virtual void Reset(void)
Reset the whole object.
const TProt_links & GetProt_links(void) const
Get the Prot_links member data.
const TGene_links & GetGene_links(void) const
Get the Gene_links member data.
bool CanGetOtherid(void) const
Check if it is safe to call GetOtherid method.