41 #ifndef OBJECTS_ENTREZ2_ENTREZ2_TERM_LIST_BASE_HPP
42 #define OBJECTS_ENTREZ2_ENTREZ2_TERM_LIST_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< CEntrez2_term > >
TList;
113 bool IsSetPos(
void)
const;
120 bool CanGetPos(
void)
const;
129 TPos GetPos(
void)
const;
151 bool IsSetNum(
void)
const;
158 bool CanGetNum(
void)
const;
167 TNum GetNum(
void)
const;
188 bool IsSetList(
void)
const;
195 bool CanGetList(
void)
const;
198 void ResetList(
void);
204 const TList& GetList(
void)
const;
210 TList& SetList(
void);
213 virtual void Reset(
void);
CEntrez2_term_list_Base –.
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_ENTREZ2_EXPORT
list< CRef< CEntrez2_term > > m_List
TList & SetList(void)
Assign a value to List data member.
bool IsSetNum(void) const
number of terms in list Check if a value has been assigned to Num data member.
TNum GetNum(void) const
Get the Num member data.
bool IsSetPos(void) const
position of first term in list Check if a value has been assigned to Pos data member.
CEntrez2_term_list_Base(const CEntrez2_term_list_Base &)
void ResetNum(void)
Reset Num data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool CanGetNum(void) const
Check if it is safe to call GetNum method.
const TList & GetList(void) const
Get the List member data.
bool CanGetPos(void) const
Check if it is safe to call GetPos method.
TPos & SetPos(void)
Assign a value to Pos data member.
DECLARE_INTERNAL_TYPE_INFO()
void ResetPos(void)
Reset Pos data member.
bool IsSetList(void) const
Check if a value has been assigned to List data member.
CEntrez2_term_list_Base & operator=(const CEntrez2_term_list_Base &)
bool CanGetList(void) const
Check if it is safe to call GetList method.
TPos GetPos(void) const
Get the Pos member data.
list< CRef< CEntrez2_term > > TList
TNum & SetNum(void)
Assign a value to Num data member.
const GenericPointer< typename T::ValueType > T2 value