41 #ifndef OBJECTS_VARREP_NASUB_BASE_HPP
42 #define OBJECTS_VARREP_NASUB_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
219 virtual void Reset(
void);
246 return m_Loc.NotEmpty();
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.
TInitial & SetInitial(void)
Assign a value to Initial data member.
bool IsSetInitial(void) const
Check if a value has been assigned to Initial data member.
bool IsSetLoc(void) const
Check if a value has been assigned to Loc data member.
TLoc & SetLoc(void)
Assign a value to Loc data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool IsSetFinal(void) const
Check if a value has been assigned to Final data member.
virtual void Reset(void)
Reset the whole object.
const TInitial & GetInitial(void) const
Get the Initial member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetFinal(void)
Reset Final data member.
virtual ~CNaSub_Base(void)
TFinal & SetFinal(void)
Assign a value to Final data member.
bool CanGetInitial(void) const
Check if it is safe to call GetInitial method.
void ResetInitial(void)
Reset Initial data member.
const TFinal & GetFinal(void) const
Get the Final member data.
bool CanGetLoc(void) const
Check if it is safe to call GetLoc method.
void ResetLoc(void)
Reset Loc data member.
const TLoc & GetLoc(void) const
Get the Loc member data.
CNaSub_Base & operator=(const CNaSub_Base &)
bool CanGetFinal(void) const
Check if it is safe to call GetFinal method.
CNaSub_Base(const CNaSub_Base &)
const GenericPointer< typename T::ValueType > T2 value