41 #ifndef OBJECTS_MMDB1_BIOSTRUC_ANNOT_SET_BASE_HPP
42 #define OBJECTS_MMDB1_BIOSTRUC_ANNOT_SET_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
96 typedef list< CRef< CBiostruc_id > >
TId;
97 typedef list< CRef< CBiostruc_descr > >
TDescr;
98 typedef list< CRef< CBiostruc_feature_set > >
TFeatures;
119 bool IsSetId(
void)
const;
126 bool CanGetId(
void)
const;
150 bool IsSetDescr(
void)
const;
157 bool CanGetDescr(
void)
const;
160 void ResetDescr(
void);
166 const TDescr& GetDescr(
void)
const;
181 bool IsSetFeatures(
void)
const;
188 bool CanGetFeatures(
void)
const;
191 void ResetFeatures(
void);
197 const TFeatures& GetFeatures(
void)
const;
206 virtual void Reset(
void);
216 list< CRef< CBiostruc_id > >
m_Id;
A biostruc annotation set is a means to collect ASN.1 data for biostruc features into one file.
Base class for all serializable objects.
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_MMDB1_EXPORT
list< CRef< CBiostruc_descr > > TDescr
TDescr & SetDescr(void)
Assign a value to Descr data member.
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool IsSetFeatures(void) const
Check if a value has been assigned to Features data member.
TId & SetId(void)
Assign a value to Id data member.
TFeatures & SetFeatures(void)
Assign a value to Features data member.
const TFeatures & GetFeatures(void) const
Get the Features member data.
bool CanGetDescr(void) const
Check if it is safe to call GetDescr method.
list< CRef< CBiostruc_descr > > m_Descr
bool IsSetDescr(void) const
Check if a value has been assigned to Descr data member.
bool CanGetFeatures(void) const
Check if it is safe to call GetFeatures method.
list< CRef< CBiostruc_id > > m_Id
CBiostruc_annot_set_Base(const CBiostruc_annot_set_Base &)
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
list< CRef< CBiostruc_feature_set > > TFeatures
const TDescr & GetDescr(void) const
Get the Descr member data.
list< CRef< CBiostruc_feature_set > > m_Features
const TId & GetId(void) const
Get the Id member data.
list< CRef< CBiostruc_id > > TId
CBiostruc_annot_set_Base & operator=(const CBiostruc_annot_set_Base &)