41 #ifndef OBJECTS_GENOMECOLL_GC_SEQUENCE_BASE_HPP
42 #define OBJECTS_GENOMECOLL_GC_SEQUENCE_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
106 ePatch_type_novel = 0,
108 ePatch_type_other = 255
118 typedef list< CRef< CSeq_annot > >
TAnnot;
156 bool IsSetSeq_id(
void)
const;
163 bool CanGetSeq_id(
void)
const;
166 void ResetSeq_id(
void);
172 const TSeq_id& GetSeq_id(
void)
const;
194 bool IsSetSeq_id_synonyms(
void)
const;
201 bool CanGetSeq_id_synonyms(
void)
const;
204 void ResetSeq_id_synonyms(
void);
227 bool IsSetDescr(
void)
const;
234 bool CanGetDescr(
void)
const;
237 void ResetDescr(
void);
243 const TDescr& GetDescr(
void)
const;
282 bool IsSetAnnot(
void)
const;
289 bool CanGetAnnot(
void)
const;
292 void ResetAnnot(
void);
298 const TAnnot& GetAnnot(
void)
const;
315 bool IsSetSequences(
void)
const;
322 bool CanGetSequences(
void)
const;
325 void ResetSequences(
void);
347 bool IsSetStructure(
void)
const;
354 bool CanGetStructure(
void)
const;
357 void ResetStructure(
void);
385 bool IsSetStats(
void)
const;
392 bool CanGetStats(
void)
const;
395 void ResetStats(
void);
401 const TStats& GetStats(
void)
const;
422 bool IsSetPatch_type(
void)
const;
429 bool CanGetPatch_type(
void)
const;
432 void ResetPatch_type(
void);
460 bool IsSetRoles(
void)
const;
467 bool CanGetRoles(
void)
const;
470 void ResetRoles(
void);
476 const TRoles& GetRoles(
void)
const;
485 virtual void Reset(
void);
User-defined methods of the data storage class.
GC-Sequence: Used for scaffolds, scaffold-sets and components in Gencoll terminology.
@Seq_descr.hpp User-defined methods of the data storage class.
Base class for all serializable objects.
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_GENOME_COLLECTION_EXPORT
bool CanGetSequences(void) const
Check if it is safe to call GetSequences method.
bool CanGetSeq_id(void) const
Check if it is safe to call GetSeq_id method.
TPatch_type & SetPatch_type(void)
Assign a value to Patch_type data member.
const TStats & GetStats(void) const
Get the Stats member data.
const TDescr & GetDescr(void) const
Get the Descr member data.
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
bool IsSetDescr(void) const
Various attributes assigned at this level: biosrc, comments, publications...
const TRoles & GetRoles(void) const
Get the Roles member data.
const TStructure & GetStructure(void) const
Get the Structure member data.
bool CanGetAnnot(void) const
Check if it is safe to call GetAnnot method.
list< CRef< CSeq_annot > > TAnnot
bool CanGetSeq_id_synonyms(void) const
Check if it is safe to call GetSeq_id_synonyms method.
bool CanGetStats(void) const
Check if it is safe to call GetStats method.
list< CRef< CSeq_annot > > m_Annot
TSeq_id_synonyms & SetSeq_id_synonyms(void)
Assign a value to Seq_id_synonyms data member.
list< CRef< CGC_TypedSeqId > > TSeq_id_synonyms
TSeq_id & SetSeq_id(void)
Assign a value to Seq_id data member.
TRoles & SetRoles(void)
Assign a value to Roles data member.
TAnnot & SetAnnot(void)
Assign a value to Annot data member.
bool IsSetPatch_type(void) const
Check if a value has been assigned to Patch_type data member.
CRef< TStructure > m_Structure
CGC_Sequence_Base & operator=(const CGC_Sequence_Base &)
TSequences & SetSequences(void)
Assign a value to Sequences data member.
bool IsSetAnnot(void) const
Feature annotation; Contains Pseudo Autosomal regions on chromosomes and scaffolds in the following f...
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetStructure(void) const
locations of ordered scaffolds/components Check if a value has been assigned to Structure data member...
const TSeq_id_synonyms & GetSeq_id_synonyms(void) const
Get the Seq_id_synonyms member data.
const TAnnot & GetAnnot(void) const
Get the Annot member data.
bool CanGetRoles(void) const
Check if it is safe to call GetRoles method.
list< CRef< CGC_TaggedSequences > > TSequences
bool IsSetSequences(void) const
placed: populated both on chromosome and scaffold levels unlocalized: populated on chromosome level C...
void ResetSeq_id(void)
Reset Seq_id data member.
list< CRef< CGC_TaggedSequences > > m_Sequences
bool CanGetPatch_type(void) const
Check if it is safe to call GetPatch_type method.
const TSequences & GetSequences(void) const
Get the Sequences member data.
void ResetPatch_type(void)
Reset Patch_type data member.
bool CanGetStructure(void) const
Check if it is safe to call GetStructure method.
bool IsSetStats(void) const
statistics Check if a value has been assigned to Stats data member.
bool IsSetRoles(void) const
sequence-role: what role(s) does this sequence have in the assembly Check if a value has been assigne...
bool IsSetSeq_id(void) const
identifiers are: Local / gpipe-satellite / genbank / refseq local is merely local name (or maybe with...
CGC_Sequence_Base(const CGC_Sequence_Base &)
bool IsSetSeq_id_synonyms(void) const
Other known identifiers: Local / gpipe-satellite / genbank / refseq Check if a value has been assigne...
TPatch_type GetPatch_type(void) const
Get the Patch_type member data.
list< CRef< CGC_TypedSeqId > > m_Seq_id_synonyms
bool CanGetDescr(void) const
Check if it is safe to call GetDescr method.
const TSeq_id & GetSeq_id(void) const
Get the Seq_id member data.
const GenericPointer< typename T::ValueType > T2 value