41 #ifndef OBJECTS_SEQSPLIT_ID2S_GI_RANGE_BASE_HPP
42 #define OBJECTS_SEQSPLIT_ID2S_GI_RANGE_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
103 bool IsSetStart(
void)
const;
110 bool CanGetStart(
void)
const;
113 void ResetStart(
void);
141 bool IsSetCount(
void)
const;
148 bool CanGetCount(
void)
const;
151 void ResetCount(
void);
154 void SetDefaultCount(
void);
160 TCount GetCount(
void)
const;
175 virtual void Reset(
void);
Base class for all serializable objects.
CStrictId< SStrictId_Gi, SStrictId_Gi::TId > TGi
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
TSeqPos GetStart(const CSeq_loc &loc, CScope *scope, ESeqLocExtremes ext=eExtreme_Positional)
If only one CBioseq is represented by CSeq_loc, returns the position at the start of the location.
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.
TCount GetCount(void) const
Get the Count member data.
bool IsSetStart(void) const
start gi in this gi range Check if a value has been assigned to Start data member.
bool CanGetStart(void) const
Check if it is safe to call GetStart method.
TStart GetStart(void) const
Get the Start member data.
bool IsSetCount(void) const
number of sequential gis Check if a value has been assigned to Count data member.
void SetDefaultCount(void)
Assign default value to Count data member.
bool CanGetCount(void) const
Check if it is safe to call GetCount method.
void ResetStart(void)
Reset Start data member.
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
TCount & SetCount(void)
Assign a value to Count data member.
CID2S_Gi_Range_Base(const CID2S_Gi_Range_Base &)
TStart & SetStart(void)
Assign a value to Start data member.
CID2S_Gi_Range_Base & operator=(const CID2S_Gi_Range_Base &)
void ResetCount(void)
Reset Count data member.
const GenericPointer< typename T::ValueType > T2 value