41 #ifndef OBJECTS_SEQSPLIT_ID2S_SEQUENCE_PIECE_BASE_HPP
42 #define OBJECTS_SEQSPLIT_ID2S_SEQUENCE_PIECE_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
90 typedef list< CRef< CSeq_literal > >
TData;
111 bool IsSetStart(
void)
const;
118 bool CanGetStart(
void)
const;
121 void ResetStart(
void);
148 bool IsSetData(
void)
const;
155 bool CanGetData(
void)
const;
158 void ResetData(
void);
164 const TData& GetData(
void)
const;
170 TData& SetData(
void);
173 virtual void Reset(
void);
CID2S_Sequence_Piece_Base –.
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 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.
DECLARE_INTERNAL_TYPE_INFO()
CID2S_Sequence_Piece_Base & operator=(const CID2S_Sequence_Piece_Base &)
TStart GetStart(void) const
Get the Start member data.
list< CRef< CSeq_literal > > m_Data
void ResetStart(void)
Reset Start data member.
bool IsSetStart(void) const
start position on sequence Check if a value has been assigned to Start data member.
bool CanGetData(void) const
Check if it is safe to call GetData method.
CID2S_Sequence_Piece_Base(const CID2S_Sequence_Piece_Base &)
const TData & GetData(void) const
Get the Data member data.
list< CRef< CSeq_literal > > TData
bool CanGetStart(void) const
Check if it is safe to call GetStart method.
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
TData & SetData(void)
Assign a value to Data data member.
TStart & SetStart(void)
Assign a value to Start data member.
const GenericPointer< typename T::ValueType > T2 value