41 #ifndef OBJECTS_MIM_MIM_PAGE_BASE_HPP
42 #define OBJECTS_MIM_MIM_PAGE_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
106 bool IsSetFrom(
void)
const;
113 bool CanGetFrom(
void)
const;
116 void ResetFrom(
void);
122 const TFrom& GetFrom(
void)
const;
135 TFrom& SetFrom(
void);
144 bool IsSetTo(
void)
const;
151 bool CanGetTo(
void)
const;
160 const TTo& GetTo(
void)
const;
176 virtual void Reset(
void);
230 m_From = std::forward<CMim_page_Base::TFrom>(
value);
277 m_To = std::forward<CMim_page_Base::TTo>(
value);
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
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.
bool CanGetFrom(void) const
Check if it is safe to call GetFrom method.
const TTo & GetTo(void) const
Get the To member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
CMim_page_Base & operator=(const CMim_page_Base &)
bool IsSetFrom(void) const
Check if a value has been assigned to From data member.
TFrom & SetFrom(void)
Assign a value to From data member.
bool CanGetTo(void) const
Check if it is safe to call GetTo method.
bool IsSetTo(void) const
Check if a value has been assigned to To data member.
CMim_page_Base(const CMim_page_Base &)
const TFrom & GetFrom(void) const
Get the From member data.
TTo & SetTo(void)
Assign a value to To data member.
DECLARE_INTERNAL_TYPE_INFO()
const GenericPointer< typename T::ValueType > T2 value