41 #ifndef OBJECTS_SEQ_SEQ_LITERAL_BASE_HPP
42 #define OBJECTS_SEQ_SEQ_LITERAL_BASE_HPP
48 #ifndef BEGIN_objects_SCOPE
49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
50 # define END_objects_SCOPE END_SCOPE(objects)
110 bool IsSetLength(
void)
const;
117 bool CanGetLength(
void)
const;
120 void ResetLength(
void);
148 bool IsSetFuzz(
void)
const;
155 bool CanGetFuzz(
void)
const;
158 void ResetFuzz(
void);
176 TFuzz& SetFuzz(
void);
186 bool IsSetSeq_data(
void)
const;
193 bool CanGetSeq_data(
void)
const;
196 void ResetSeq_data(
void);
202 const TSeq_data& GetSeq_data(
void)
const;
217 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.
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.
void ResetLength(void)
Reset Length data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
TLength & SetLength(void)
Assign a value to Length data member.
TLength GetLength(void) const
Get the Length member data.
bool CanGetLength(void) const
Check if it is safe to call GetLength method.
const TFuzz & GetFuzz(void) const
Get the Fuzz member data.
bool IsSetFuzz(void) const
could be unsure Check if a value has been assigned to Fuzz data member.
bool IsSetLength(void) const
must give a length in residues Check if a value has been assigned to Length data member.
CSeq_literal_Base(const CSeq_literal_Base &)
bool CanGetFuzz(void) const
Check if it is safe to call GetFuzz method.
bool CanGetSeq_data(void) const
Check if it is safe to call GetSeq_data method.
bool IsSetSeq_data(void) const
may have the data Check if a value has been assigned to Seq_data data member.
CRef< TSeq_data > m_Seq_data
const TSeq_data & GetSeq_data(void) const
Get the Seq_data member data.
DECLARE_INTERNAL_TYPE_INFO()
CSeq_literal_Base & operator=(const CSeq_literal_Base &)
const GenericPointer< typename T::ValueType > T2 value
static const CInt_fuzz * GetFuzz(const CDelta_item &delta)