41 #ifndef OBJECTS_SEQLOC_SEQ_POINT_BASE_HPP
42 #define OBJECTS_SEQLOC_SEQ_POINT_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
115 bool IsSetPoint(
void)
const;
122 bool CanGetPoint(
void)
const;
125 void ResetPoint(
void);
131 TPoint GetPoint(
void)
const;
152 bool IsSetStrand(
void)
const;
159 bool CanGetStrand(
void)
const;
162 void ResetStrand(
void);
190 bool IsSetId(
void)
const;
197 bool CanGetId(
void)
const;
227 bool IsSetFuzz(
void)
const;
234 bool CanGetFuzz(
void)
const;
237 void ResetFuzz(
void);
255 TFuzz& SetFuzz(
void);
258 virtual void Reset(
void);
380 return m_Id.NotEmpty();
Base class for all serializable objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
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
TStrand & SetStrand(void)
Assign a value to Strand data member.
bool IsSetId(void) const
WARNING: this used to be optional Check if a value has been assigned to Id data member.
void ResetPoint(void)
Reset Point data member.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
ENa_strand
strand of nucleic acid
bool IsSetPoint(void) const
Check if a value has been assigned to Point data member.
void ResetId(void)
Reset Id data member.
TPoint GetPoint(void) const
Get the Point member data.
bool IsSetFuzz(void) const
Check if a value has been assigned to Fuzz data member.
const TFuzz & GetFuzz(void) const
Get the Fuzz member data.
const TId & GetId(void) const
Get the Id member data.
TStrand GetStrand(void) const
Get the Strand member data.
TId & SetId(void)
Assign a value to Id data member.
TPoint & SetPoint(void)
Assign a value to Point data member.
bool CanGetFuzz(void) const
Check if it is safe to call GetFuzz method.
bool CanGetStrand(void) const
Check if it is safe to call GetStrand method.
void ResetStrand(void)
Reset Strand data member.
bool CanGetPoint(void) const
Check if it is safe to call GetPoint method.
CSeq_point_Base(const CSeq_point_Base &)
bool IsSetStrand(void) const
Check if a value has been assigned to Strand data member.
CSeq_point_Base & operator=(const CSeq_point_Base &)
DECLARE_INTERNAL_TYPE_INFO()
bool CanGetId(void) const
Check if it is safe to call GetId method.
static const CInt_fuzz * GetFuzz(const CDelta_item &delta)