41 #ifndef OBJECTS_SEQ_BIOSEQ_BASE_HPP
42 #define OBJECTS_SEQ_BIOSEQ_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
94 typedef list< CRef< CSeq_id > >
TId;
97 typedef list< CRef< CSeq_annot > >
TAnnot;
120 bool IsSetId(
void)
const;
127 bool CanGetId(
void)
const;
152 bool IsSetDescr(
void)
const;
159 bool CanGetDescr(
void)
const;
162 void ResetDescr(
void);
168 const TDescr& GetDescr(
void)
const;
190 bool IsSetInst(
void)
const;
197 bool CanGetInst(
void)
const;
200 void ResetInst(
void);
206 const TInst& GetInst(
void)
const;
218 TInst& SetInst(
void);
227 bool IsSetAnnot(
void)
const;
234 bool CanGetAnnot(
void)
const;
237 void ResetAnnot(
void);
243 const TAnnot& GetAnnot(
void)
const;
252 virtual void Reset(
void);
*** Sequence ******************************** *
@Seq_descr.hpp User-defined methods of the data storage class.
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
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.
list< CRef< CSeq_id > > m_Id
TId & SetId(void)
Assign a value to Id data member.
const TInst & GetInst(void) const
Get the Inst member data.
bool CanGetAnnot(void) const
Check if it is safe to call GetAnnot method.
bool IsSetAnnot(void) const
Check if a value has been assigned to Annot data member.
TAnnot & SetAnnot(void)
Assign a value to Annot data member.
const TAnnot & GetAnnot(void) const
Get the Annot member data.
const TId & GetId(void) const
Get the Id member data.
bool CanGetDescr(void) const
Check if it is safe to call GetDescr method.
bool IsSetInst(void) const
the sequence data Check if a value has been assigned to Inst data member.
list< CRef< CSeq_id > > TId
TInst & SetInst(void)
Assign a value to Inst data member.
bool IsSetDescr(void) const
descriptors Check if a value has been assigned to Descr data member.
CBioseq_Base & operator=(const CBioseq_Base &)
bool CanGetId(void) const
Check if it is safe to call GetId method.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
DECLARE_INTERNAL_TYPE_INFO()
list< CRef< CSeq_annot > > m_Annot
bool IsSetId(void) const
equivalent identifiers Check if a value has been assigned to Id data member.
list< CRef< CSeq_annot > > TAnnot
void ResetInst(void)
Reset Inst data member.
CBioseq_Base(const CBioseq_Base &)
const TDescr & GetDescr(void) const
Get the Descr member data.
bool CanGetInst(void) const
Check if it is safe to call GetInst method.