41 #ifndef OBJECTS_SEQSPLIT_ID2S_INTERVAL_BASE_HPP
42 #define OBJECTS_SEQSPLIT_ID2S_INTERVAL_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
102 bool IsSetStart(
void)
const;
109 bool CanGetStart(
void)
const;
112 void ResetStart(
void);
139 bool IsSetLength(
void)
const;
146 bool CanGetLength(
void)
const;
149 void ResetLength(
void);
152 void SetDefaultLength(
void);
173 virtual void Reset(
void);
Base class for all serializable objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
TSeqPos GetLength(const CSeq_id &id, CScope *scope)
Get sequence length if scope not null, else return max possible TSeqPos.
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.
bool IsSetLength(void) const
Check if a value has been assigned to Length data member.
TLength GetLength(void) const
Get the Length member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
TStart GetStart(void) const
Get the Start member data.
void ResetStart(void)
Reset Start data member.
CID2S_Interval_Base(const CID2S_Interval_Base &)
bool CanGetStart(void) const
Check if it is safe to call GetStart method.
DECLARE_INTERNAL_TYPE_INFO()
TLength & SetLength(void)
Assign a value to Length data member.
TStart & SetStart(void)
Assign a value to Start data member.
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
void SetDefaultLength(void)
Assign default value to Length data member.
void ResetLength(void)
Reset Length data member.
bool IsSetStart(void) const
Check if a value has been assigned to Start data member.
CID2S_Interval_Base & operator=(const CID2S_Interval_Base &)
const GenericPointer< typename T::ValueType > T2 value