41 #ifndef OBJECTS_SEQSPLIT_ID2S_SEQ_ID_INTERVAL_BASE_HPP
42 #define OBJECTS_SEQSPLIT_ID2S_SEQ_ID_INTERVAL_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
108 bool IsSetSeq_id(
void)
const;
115 bool CanGetSeq_id(
void)
const;
118 void ResetSeq_id(
void);
124 const TSeq_id& GetSeq_id(
void)
const;
145 bool IsSetStart(
void)
const;
152 bool CanGetStart(
void)
const;
155 void ResetStart(
void);
182 bool IsSetLength(
void)
const;
189 bool CanGetLength(
void)
const;
192 void ResetLength(
void);
195 void SetDefaultLength(
void);
216 virtual void Reset(
void);
CID2S_Seq_id_Interval_Base –.
Base class for all serializable objects.
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.
TStart GetStart(void) const
Get the Start member data.
void SetDefaultLength(void)
Assign default value to Length data member.
TStart & SetStart(void)
Assign a value to Start data member.
void ResetSeq_id(void)
Reset Seq_id data member.
void ResetStart(void)
Reset Start data member.
bool CanGetSeq_id(void) const
Check if it is safe to call GetSeq_id method.
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
CID2S_Seq_id_Interval_Base & operator=(const CID2S_Seq_id_Interval_Base &)
TSeq_id & SetSeq_id(void)
Assign a value to Seq_id data member.
const TSeq_id & GetSeq_id(void) const
Get the Seq_id member data.
CID2S_Seq_id_Interval_Base(const CID2S_Seq_id_Interval_Base &)
bool IsSetSeq_id(void) const
Check if a value has been assigned to Seq_id data member.
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
TLength & SetLength(void)
Assign a value to Length data member.
bool CanGetStart(void) const
Check if it is safe to call GetStart method.
bool IsSetStart(void) const
Check if a value has been assigned to Start data member.
void ResetLength(void)
Reset Length data member.
bool IsSetLength(void) const
Check if a value has been assigned to Length data member.
TLength GetLength(void) const
Get the Length member data.