41 #ifndef OBJECTS_SEQ_NUM_REAL_BASE_HPP
42 #define OBJECTS_SEQ_NUM_REAL_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
110 bool IsSetA(
void)
const;
117 bool CanGetA(
void)
const;
148 bool IsSetB(
void)
const;
155 bool CanGetB(
void)
const;
185 bool IsSetUnits(
void)
const;
192 bool CanGetUnits(
void)
const;
195 void ResetUnits(
void);
201 const TUnits& GetUnits(
void)
const;
217 virtual void Reset(
void);
mapping to floating point system
Base class for all serializable objects.
static char UnassignedByte(void)
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.
CNum_real_Base & operator=(const CNum_real_Base &)
void ResetB(void)
Reset B data member.
TB & SetB(void)
Assign a value to B data member.
TB GetB(void) const
Get the B member data.
bool CanGetUnits(void) const
Check if it is safe to call GetUnits method.
bool IsSetA(void) const
from an integer system used by Bioseq Check if a value has been assigned to A data member.
TA GetA(void) const
Get the A member data.
TA & SetA(void)
Assign a value to A data member.
CNum_real_Base(const CNum_real_Base &)
bool CanGetA(void) const
Check if it is safe to call GetA method.
const TUnits & GetUnits(void) const
Get the Units member data.
TUnits & SetUnits(void)
Assign a value to Units data member.
void ResetA(void)
Reset A data member.
bool CanGetB(void) const
Check if it is safe to call GetB method.
bool IsSetUnits(void) const
Check if a value has been assigned to Units data member.
bool IsSetB(void) const
position = (a * int_position) + b Check if a value has been assigned to B data member.
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
const GenericPointer< typename T::ValueType > T2 value