41 #ifndef OBJECTS_GENESBYLOC_GBL_DATA_BASE_HPP
42 #define OBJECTS_GENESBYLOC_GBL_DATA_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
91 typedef list< CRef< CGBL_Gene > >
TGenes;
113 bool IsSetTotal(
void)
const;
120 bool CanGetTotal(
void)
const;
123 void ResetTotal(
void);
129 TTotal GetTotal(
void)
const;
151 bool IsSetReturned(
void)
const;
158 bool CanGetReturned(
void)
const;
161 void ResetReturned(
void);
188 bool IsSetGenes(
void)
const;
195 bool CanGetGenes(
void)
const;
198 void ResetGenes(
void);
204 const TGenes& GetGenes(
void)
const;
213 virtual void Reset(
void);
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
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_GENESBYLOC_EXPORT
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetTotal(void) const
total number of genes found Check if a value has been assigned to Total data member.
void ResetReturned(void)
Reset Returned data member.
bool CanGetTotal(void) const
Check if it is safe to call GetTotal method.
TReturned GetReturned(void) const
Get the Returned member data.
list< CRef< CGBL_Gene > > TGenes
CGBL_Data_Base(const CGBL_Data_Base &)
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
CGBL_Data_Base & operator=(const CGBL_Data_Base &)
bool CanGetReturned(void) const
Check if it is safe to call GetReturned method.
bool IsSetReturned(void) const
number of gene records returned in the reply data, may be less than the total gene count Check if a v...
TTotal GetTotal(void) const
Get the Total member data.
TGenes & SetGenes(void)
Assign a value to Genes data member.
TTotal & SetTotal(void)
Assign a value to Total data member.
TReturned & SetReturned(void)
Assign a value to Returned data member.
list< CRef< CGBL_Gene > > m_Genes
bool IsSetGenes(void) const
Check if a value has been assigned to Genes data member.
void ResetTotal(void)
Reset Total data member.
bool CanGetGenes(void) const
Check if it is safe to call GetGenes method.
const TGenes & GetGenes(void) const
Get the Genes member data.
const GenericPointer< typename T::ValueType > T2 value