41 #ifndef OBJECTS_SEQLOC_SEQ_INTERVAL_BASE_HPP
42 #define OBJECTS_SEQLOC_SEQ_INTERVAL_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
119 bool IsSetFrom(
void)
const;
126 bool CanGetFrom(
void)
const;
129 void ResetFrom(
void);
135 TFrom GetFrom(
void)
const;
147 TFrom& SetFrom(
void);
156 bool IsSetTo(
void)
const;
163 bool CanGetTo(
void)
const;
172 TTo GetTo(
void)
const;
193 bool IsSetStrand(
void)
const;
200 bool CanGetStrand(
void)
const;
203 void ResetStrand(
void);
231 bool IsSetId(
void)
const;
238 bool CanGetId(
void)
const;
268 bool IsSetFuzz_from(
void)
const;
275 bool CanGetFuzz_from(
void)
const;
278 void ResetFuzz_from(
void);
305 bool IsSetFuzz_to(
void)
const;
312 bool CanGetFuzz_to(
void)
const;
315 void ResetFuzz_to(
void);
321 const TFuzz_to& GetFuzz_to(
void)
const;
336 virtual void Reset(
void);
507 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
const TFuzz_from & GetFuzz_from(void) const
Get the Fuzz_from member data.
bool CanGetFuzz_to(void) const
Check if it is safe to call GetFuzz_to method.
Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex
ENa_strand
strand of nucleic acid
bool CanGetStrand(void) const
Check if it is safe to call GetStrand method.
const TId & GetId(void) const
Get the Id member data.
void ResetId(void)
Reset Id data member.
const TFuzz_to & GetFuzz_to(void) const
Get the Fuzz_to member data.
TFrom GetFrom(void) const
Get the From member data.
bool CanGetTo(void) const
Check if it is safe to call GetTo method.
CRef< TFuzz_to > m_Fuzz_to
TStrand & SetStrand(void)
Assign a value to Strand data member.
TFrom & SetFrom(void)
Assign a value to From data member.
bool IsSetTo(void) const
Check if a value has been assigned to To data member.
bool CanGetId(void) const
Check if it is safe to call GetId method.
bool IsSetStrand(void) const
Check if a value has been assigned to Strand data member.
bool IsSetFuzz_to(void) const
Check if a value has been assigned to Fuzz_to data member.
void ResetFrom(void)
Reset From data member.
TId & SetId(void)
Assign a value to Id data member.
TStrand GetStrand(void) const
Get the Strand member data.
bool IsSetId(void) const
WARNING: this used to be optional Check if a value has been assigned to Id data member.
TTo GetTo(void) const
Get the To member data.
TTo & SetTo(void)
Assign a value to To data member.
bool IsSetFrom(void) const
Check if a value has been assigned to From data member.
CSeq_interval_Base(const CSeq_interval_Base &)
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetFuzz_from(void) const
Check if a value has been assigned to Fuzz_from data member.
void ResetStrand(void)
Reset Strand data member.
CRef< TFuzz_from > m_Fuzz_from
void ResetTo(void)
Reset To data member.
CSeq_interval_Base & operator=(const CSeq_interval_Base &)
bool CanGetFrom(void) const
Check if it is safe to call GetFrom method.
bool CanGetFuzz_from(void) const
Check if it is safe to call GetFuzz_from method.