41 #ifndef OBJECTS_SEQSET_BIOSEQ_SET_BASE_HPP
42 #define OBJECTS_SEQSET_BIOSEQ_SET_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
109 eClass_swissprot = 11,
110 eClass_pdb_entry = 12,
115 eClass_gen_prod_set = 17,
117 eClass_named_annot = 19,
118 eClass_named_annot_prod = 20,
119 eClass_read_set = 21,
120 eClass_paired_end_reads = 22,
121 eClass_small_genome_set = 23,
137 typedef list< CRef< CSeq_annot > >
TAnnot;
164 bool IsSetId(
void)
const;
171 bool CanGetId(
void)
const;
202 bool IsSetColl(
void)
const;
209 bool CanGetColl(
void)
const;
212 void ResetColl(
void);
218 const TColl& GetColl(
void)
const;
230 TColl& SetColl(
void);
240 bool IsSetLevel(
void)
const;
247 bool CanGetLevel(
void)
const;
250 void ResetLevel(
void);
256 TLevel GetLevel(
void)
const;
277 bool IsSetClass(
void)
const;
284 bool CanGetClass(
void)
const;
287 void ResetClass(
void);
290 void SetDefaultClass(
void);
296 TClass GetClass(
void)
const;
317 bool IsSetRelease(
void)
const;
324 bool CanGetRelease(
void)
const;
327 void ResetRelease(
void);
333 const TRelease& GetRelease(
void)
const;
355 bool IsSetDate(
void)
const;
362 bool CanGetDate(
void)
const;
365 void ResetDate(
void);
371 const TDate& GetDate(
void)
const;
383 TDate& SetDate(
void);
392 bool IsSetDescr(
void)
const;
399 bool CanGetDescr(
void)
const;
402 void ResetDescr(
void);
408 const TDescr& GetDescr(
void)
const;
429 bool IsSetSeq_set(
void)
const;
436 bool CanGetSeq_set(
void)
const;
439 void ResetSeq_set(
void);
445 const TSeq_set& GetSeq_set(
void)
const;
460 bool IsSetAnnot(
void)
const;
467 bool CanGetAnnot(
void)
const;
470 void ResetAnnot(
void);
476 const TAnnot& GetAnnot(
void)
const;
485 virtual void Reset(
void);
518 return m_Id.NotEmpty();
*** Sequence Collections ******************************** * just a collection
@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)
static string UnassignedString(void)
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_SEQSET_EXPORT
CBioseq_set_Base & operator=(const CBioseq_set_Base &)
bool IsSetClass(void) const
Check if a value has been assigned to Class data member.
bool CanGetRelease(void) const
Check if it is safe to call GetRelease method.
Tparent::CMemberIndex< E_memberIndex, 10 > TmemberIndex
const TDescr & GetDescr(void) const
Get the Descr member data.
list< CRef< CSeq_entry > > m_Seq_set
TRelease & SetRelease(void)
Assign a value to Release data member.
bool CanGetDescr(void) const
Check if it is safe to call GetDescr method.
bool IsSetColl(void) const
to identify a collection Check if a value has been assigned to Coll data member.
bool CanGetAnnot(void) const
Check if it is safe to call GetAnnot method.
bool CanGetSeq_set(void) const
Check if it is safe to call GetSeq_set method.
void SetDefaultClass(void)
Assign default value to Class data member.
bool CanGetDate(void) const
Check if it is safe to call GetDate method.
TClass GetClass(void) const
Get the Class member data.
bool IsSetDate(void) const
Check if a value has been assigned to Date data member.
bool IsSetRelease(void) const
Check if a value has been assigned to Release data member.
TAnnot & SetAnnot(void)
Assign a value to Annot data member.
list< CRef< CSeq_annot > > m_Annot
bool IsSetAnnot(void) const
Check if a value has been assigned to Annot data member.
void ResetLevel(void)
Reset Level data member.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
bool IsSetSeq_set(void) const
Check if a value has been assigned to Seq_set data member.
DECLARE_INTERNAL_TYPE_INFO()
const TRelease & GetRelease(void) const
Get the Release member data.
bool IsSetLevel(void) const
nesting level Check if a value has been assigned to Level data member.
bool IsSetDescr(void) const
Check if a value has been assigned to Descr data member.
void ResetClass(void)
Reset Class data member.
const TDate & GetDate(void) const
Get the Date member data.
bool CanGetClass(void) const
Check if it is safe to call GetClass method.
list< CRef< CSeq_annot > > TAnnot
TLevel & SetLevel(void)
Assign a value to Level data member.
const TSeq_set & GetSeq_set(void) const
Get the Seq_set member data.
const TAnnot & GetAnnot(void) const
Get the Annot member data.
CBioseq_set_Base(const CBioseq_set_Base &)
bool CanGetColl(void) const
Check if it is safe to call GetColl method.
const TColl & GetColl(void) const
Get the Coll member data.
bool CanGetLevel(void) const
Check if it is safe to call GetLevel method.
TClass & SetClass(void)
Assign a value to Class data member.
list< CRef< CSeq_entry > > TSeq_set
bool CanGetId(void) const
Check if it is safe to call GetId method.
TSeq_set & SetSeq_set(void)
Assign a value to Seq_set data member.
const TId & GetId(void) const
Get the Id member data.
TLevel GetLevel(void) const
Get the Level member data.
const GenericPointer< typename T::ValueType > T2 value