41 #ifndef OBJECTS_SEQLOC_PACKED_SEQPNT_BASE_HPP
42 #define OBJECTS_SEQLOC_PACKED_SEQPNT_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
116 bool IsSetStrand(
void)
const;
123 bool CanGetStrand(
void)
const;
126 void ResetStrand(
void);
153 bool IsSetId(
void)
const;
160 bool CanGetId(
void)
const;
190 bool IsSetFuzz(
void)
const;
197 bool CanGetFuzz(
void)
const;
200 void ResetFuzz(
void);
218 TFuzz& SetFuzz(
void);
227 bool IsSetPoints(
void)
const;
234 bool CanGetPoints(
void)
const;
237 void ResetPoints(
void);
243 const TPoints& GetPoints(
void)
const;
252 virtual void Reset(
void);
327 return m_Id.NotEmpty();
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
ENa_strand GetStrand(const CSeq_loc &loc, CScope *scope=0)
Returns eNa_strand_unknown if multiple Bioseqs in loc Returns eNa_strand_other if multiple strands in...
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.
#define NCBI_SEQLOC_EXPORT
void ResetId(void)
Reset Id data member.
bool CanGetStrand(void) const
Check if it is safe to call GetStrand method.
ENa_strand
strand of nucleic acid
TStrand GetStrand(void) const
Get the Strand member data.
CPacked_seqpnt_Base & operator=(const CPacked_seqpnt_Base &)
bool IsSetPoints(void) const
Check if a value has been assigned to Points data member.
void ResetStrand(void)
Reset Strand data member.
CPacked_seqpnt_Base(const CPacked_seqpnt_Base &)
TId & SetId(void)
Assign a value to Id data member.
TStrand & SetStrand(void)
Assign a value to Strand data member.
bool IsSetStrand(void) const
Check if a value has been assigned to Strand data member.
const TId & GetId(void) const
Get the Id member data.
bool IsSetFuzz(void) const
Check if a value has been assigned to Fuzz data member.
TPoints & SetPoints(void)
Assign a value to Points data member.
vector< TSeqPos > TPoints
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool CanGetFuzz(void) const
Check if it is safe to call GetFuzz method.
bool CanGetPoints(void) const
Check if it is safe to call GetPoints method.
const TPoints & GetPoints(void) const
Get the Points member data.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
const TFuzz & GetFuzz(void) const
Get the Fuzz member data.
vector< TSeqPos > m_Points
static const CInt_fuzz * GetFuzz(const CDelta_item &delta)