41 #ifndef OBJECTS_GENOMECOLL_GC_ASSEMBLYSET_BASE_HPP
42 #define OBJECTS_GENOMECOLL_GC_ASSEMBLYSET_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
93 eSet_type_full_assembly = 0,
94 eSet_type_assembly_set = 100,
103 eClass_full_assembly = 0,
105 eClass_haploid_with_alt_loci = 2,
107 eClass_unresolved_diploid = 4,
108 eClass_alternate_haplotype = 5,
109 eClass_alternate_pseudohaplotype = 6,
110 eClass_annotation_target_set = 101,
111 eClass_analysis_set = 102,
119 typedef list< CRef< CDbtag > >
TId;
159 bool IsSetId(
void)
const;
166 bool CanGetId(
void)
const;
190 bool IsSetSet_type(
void)
const;
197 bool CanGetSet_type(
void)
const;
200 void ResetSet_type(
void);
227 bool IsSetClass(
void)
const;
234 bool CanGetClass(
void)
const;
237 void ResetClass(
void);
243 TClass GetClass(
void)
const;
265 bool IsSetDesc(
void)
const;
272 bool CanGetDesc(
void)
const;
275 void ResetDesc(
void);
281 const TDesc& GetDesc(
void)
const;
293 TDesc& SetDesc(
void);
303 bool IsSetPrimary_assembly(
void)
const;
310 bool CanGetPrimary_assembly(
void)
const;
313 void ResetPrimary_assembly(
void);
340 bool IsSetMore_assemblies(
void)
const;
347 bool CanGetMore_assemblies(
void)
const;
350 void ResetMore_assemblies(
void);
373 bool IsSetStats(
void)
const;
380 bool CanGetStats(
void)
const;
383 void ResetStats(
void);
389 const TStats& GetStats(
void)
const;
404 virtual void Reset(
void);
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_GENOME_COLLECTION_EXPORT
DECLARE_INTERNAL_TYPE_INFO()
list< CRef< CGC_Assembly > > m_More_assemblies
void ResetDesc(void)
Reset Desc data member.
const TId & GetId(void) const
Get the Id member data.
bool CanGetPrimary_assembly(void) const
Check if it is safe to call GetPrimary_assembly method.
TPrimary_assembly & SetPrimary_assembly(void)
Assign a value to Primary_assembly data member.
bool IsSetSet_type(void) const
Check if a value has been assigned to Set_type data member.
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
TClass GetClass(void) const
Get the Class member data.
TSet_type & SetSet_type(void)
Assign a value to Set_type data member.
CGC_AssemblySet_Base(const CGC_AssemblySet_Base &)
bool IsSetId(void) const
The identifier of this assembly examples: GC internal id, Assembly-accession.version Types of DbTags ...
CRef< TPrimary_assembly > m_Primary_assembly
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool IsSetDesc(void) const
descriptors live in a shared data block Check if a value has been assigned to Desc data member.
TId & SetId(void)
Assign a value to Id data member.
bool IsSetPrimary_assembly(void) const
we contain hierarchically a set of assemblies Check if a value has been assigned to Primary_assembly ...
Tparent::CMemberIndex< E_memberIndex, 8 > TmemberIndex
CGC_AssemblySet_Base & operator=(const CGC_AssemblySet_Base &)
bool IsSetStats(void) const
statistics "stats" field holds stats for all chromosomes combined: Check if a value has been assigned...
bool IsSetMore_assemblies(void) const
Check if a value has been assigned to More_assemblies data member.
bool CanGetSet_type(void) const
Check if it is safe to call GetSet_type method.
void ResetClass(void)
Reset Class data member.
const TDesc & GetDesc(void) const
Get the Desc member data.
bool CanGetStats(void) const
Check if it is safe to call GetStats method.
const TPrimary_assembly & GetPrimary_assembly(void) const
Get the Primary_assembly member data.
TClass & SetClass(void)
Assign a value to Class data member.
void ResetPrimary_assembly(void)
Reset Primary_assembly data member.
CGC_Assembly TPrimary_assembly
TDesc & SetDesc(void)
Assign a value to Desc data member.
TSet_type GetSet_type(void) const
Get the Set_type member data.
list< CRef< CDbtag > > TId
ESet_type
set type: Assembly-Sets can be of 2 categories
EClass
'class' defines the semantics of how to interpret this item
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
list< CRef< CGC_Assembly > > TMore_assemblies
const TStats & GetStats(void) const
Get the Stats member data.
TMore_assemblies & SetMore_assemblies(void)
Assign a value to More_assemblies data member.
void ResetSet_type(void)
Reset Set_type data member.
bool CanGetMore_assemblies(void) const
Check if it is safe to call GetMore_assemblies method.
const TMore_assemblies & GetMore_assemblies(void) const
Get the More_assemblies member data.
bool CanGetDesc(void) const
Check if it is safe to call GetDesc method.
list< CRef< CDbtag > > m_Id
const GenericPointer< typename T::ValueType > T2 value