41 #ifndef OBJECTS_SEQCODE_SEQ_MAP_TABLE_BASE_HPP
42 #define OBJECTS_SEQCODE_SEQ_MAP_TABLE_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
115 bool IsSetFrom(
void)
const;
122 bool CanGetFrom(
void)
const;
125 void ResetFrom(
void);
131 TFrom GetFrom(
void)
const;
143 TFrom& SetFrom(
void);
153 bool IsSetTo(
void)
const;
160 bool CanGetTo(
void)
const;
169 TTo GetTo(
void)
const;
191 bool IsSetNum(
void)
const;
198 bool CanGetNum(
void)
const;
207 TNum GetNum(
void)
const;
229 bool IsSetStart_at(
void)
const;
236 bool CanGetStart_at(
void)
const;
239 void ResetStart_at(
void);
242 void SetDefaultStart_at(
void);
270 bool IsSetTable(
void)
const;
277 bool CanGetTable(
void)
const;
280 void ResetTable(
void);
286 const TTable& GetTable(
void)
const;
295 virtual void Reset(
void);
User-defined methods of the data storage class.
for tables of sequence mappings
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_SEQCODE_EXPORT
TStart_at & SetStart_at(void)
Assign a value to Start_at data member.
bool CanGetTo(void) const
Check if it is safe to call GetTo method.
TTable & SetTable(void)
Assign a value to Table data member.
bool CanGetNum(void) const
Check if it is safe to call GetNum method.
Tparent::CMemberIndex< E_memberIndex, 6 > TmemberIndex
TTo GetTo(void) const
Get the To member data.
bool CanGetFrom(void) const
Check if it is safe to call GetFrom method.
CSeq_map_table_Base & operator=(const CSeq_map_table_Base &)
TStart_at GetStart_at(void) const
Get the Start_at member data.
void ResetStart_at(void)
Reset Start_at data member.
TFrom & SetFrom(void)
Assign a value to From data member.
void ResetTo(void)
Reset To data member.
DECLARE_INTERNAL_TYPE_INFO()
TNum & SetNum(void)
Assign a value to Num data member.
TNum GetNum(void) const
Get the Num member data.
void SetDefaultStart_at(void)
Assign default value to Start_at data member.
bool CanGetStart_at(void) const
Check if it is safe to call GetStart_at method.
bool IsSetStart_at(void) const
index offset of first element Check if a value has been assigned to Start_at data member.
void ResetNum(void)
Reset Num data member.
bool IsSetTo(void) const
code to map to Check if a value has been assigned to To data member.
TFrom GetFrom(void) const
Get the From member data.
ESeq_code_type
sequence representations
const TTable & GetTable(void) const
Get the Table member data.
void ResetFrom(void)
Reset From data member.
bool IsSetNum(void) const
number of rows in table Check if a value has been assigned to Num data member.
CSeq_map_table_Base(const CSeq_map_table_Base &)
TTo & SetTo(void)
Assign a value to To data member.
bool IsSetTable(void) const
table of values, in from-to order Check if a value has been assigned to Table data member.
bool IsSetFrom(void) const
code to map from Check if a value has been assigned to From data member.
bool CanGetTable(void) const
Check if it is safe to call GetTable method.
const GenericPointer< typename T::ValueType > T2 value