41 #ifndef OBJECTS_SEQFEAT_BIOSOURCE_BASE_HPP
42 #define OBJECTS_SEQFEAT_BIOSOURCE_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
100 eGenome_chloroplast = 2,
101 eGenome_chromoplast = 3,
102 eGenome_kinetoplast = 4,
103 eGenome_mitochondrion = 5,
105 eGenome_macronuclear = 7,
106 eGenome_extrachrom = 8,
108 eGenome_transposon = 10,
109 eGenome_insertion_seq = 11,
110 eGenome_cyanelle = 12,
111 eGenome_proviral = 13,
113 eGenome_nucleomorph = 15,
114 eGenome_apicoplast = 16,
115 eGenome_leucoplast = 17,
116 eGenome_proplastid = 18,
117 eGenome_endogenous_virus = 19,
118 eGenome_hydrogenosome = 20,
119 eGenome_chromosome = 21,
120 eGenome_chromatophore = 22,
121 eGenome_plasmid_in_mitochondrion = 23,
122 eGenome_plasmid_in_plastid = 24
133 eOrigin_artificial = 4,
134 eOrigin_synthetic = 5,
170 bool IsSetGenome(
void)
const;
177 bool CanGetGenome(
void)
const;
180 void ResetGenome(
void);
183 void SetDefaultGenome(
void);
210 bool IsSetOrigin(
void)
const;
217 bool CanGetOrigin(
void)
const;
220 void ResetOrigin(
void);
223 void SetDefaultOrigin(
void);
250 bool IsSetOrg(
void)
const;
257 bool CanGetOrg(
void)
const;
266 const TOrg& GetOrg(
void)
const;
287 bool IsSetSubtype(
void)
const;
294 bool CanGetSubtype(
void)
const;
297 void ResetSubtype(
void);
318 bool IsSetIs_focus(
void)
const;
324 bool CanGetIs_focus(
void)
const;
327 void ResetIs_focus(
void);
330 void SetIs_focus(
void);
339 bool IsSetPcr_primers(
void)
const;
346 bool CanGetPcr_primers(
void)
const;
349 void ResetPcr_primers(
void);
370 virtual void Reset(
void);
499 return m_Org.NotEmpty();
********************************************************************
Base class for all serializable objects.
int GetSubtype(CFieldNamePanel *field_name_panel, string &ncRNA_class)
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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
const TSubtype & GetSubtype(void) const
Get the Subtype member data.
const TPcr_primers & GetPcr_primers(void) const
Get the Pcr_primers member data.
TGenome GetGenome(void) const
Get the Genome member data.
TOrigin GetOrigin(void) const
Get the Origin member data.
void ResetGenome(void)
Reset Genome data member.
void ResetOrigin(void)
Reset Origin data member.
bool CanGetSubtype(void) const
Check if it is safe to call GetSubtype method.
bool IsSetOrg(void) const
Check if a value has been assigned to Org data member.
bool CanGetOrg(void) const
Check if it is safe to call GetOrg method.
CPCRReactionSet TPcr_primers
list< CRef< CSubSource > > TSubtype
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetSubtype(void) const
Check if a value has been assigned to Subtype data member.
TGenome & SetGenome(void)
Assign a value to Genome data member.
bool IsSetPcr_primers(void) const
Check if a value has been assigned to Pcr_primers data member.
void SetIs_focus(void)
Set NULL data member (assign 'NULL' value to Is_focus data member).
void ResetIs_focus(void)
Reset Is_focus data member.
bool CanGetGenome(void) const
Check if it is safe to call GetGenome method.
bool CanGetOrigin(void) const
Check if it is safe to call GetOrigin method.
const TOrg & GetOrg(void) const
Get the Org member data.
bool IsSetOrigin(void) const
Check if a value has been assigned to Origin data member.
TOrg & SetOrg(void)
Assign a value to Org data member.
bool CanGetPcr_primers(void) const
Check if it is safe to call GetPcr_primers method.
bool CanGetIs_focus(void) const
Check if value of Is_focus member is getatable.
CBioSource_Base(const CBioSource_Base &)
bool IsSetGenome(void) const
Check if a value has been assigned to Genome data member.
list< CRef< CSubSource > > m_Subtype
CRef< TPcr_primers > m_Pcr_primers
void ResetOrg(void)
Reset Org data member.
void SetDefaultOrigin(void)
Assign default value to Origin data member.
bool IsSetIs_focus(void) const
to distinguish biological focus Check if a value has been assigned to Is_focus data member.
void SetDefaultGenome(void)
Assign default value to Genome data member.
TOrigin & SetOrigin(void)
Assign a value to Origin data member.
Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex
EGenome
biological context
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
CBioSource_Base & operator=(const CBioSource_Base &)
const GenericPointer< typename T::ValueType > T2 value
void SetGenome(CRef< objects::CSeq_entry > entry, objects::CBioSource::TGenome genome)
void SetOrigin(CRef< objects::CSeq_entry > entry, objects::CBioSource::TOrigin origin)