41 #ifndef OBJECTS_SEQ_SEQ_GAP_BASE_HPP
42 #define OBJECTS_SEQ_SEQ_GAP_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
93 eType_heterochromatin = 4,
99 eType_contamination = 10,
107 eLinkage_unlinked = 0,
139 bool IsSetType(
void)
const;
146 bool CanGetType(
void)
const;
149 void ResetType(
void);
155 TType GetType(
void)
const;
167 TType& SetType(
void);
176 bool IsSetLinkage(
void)
const;
183 bool CanGetLinkage(
void)
const;
186 void ResetLinkage(
void);
213 bool IsSetLinkage_evidence(
void)
const;
220 bool CanGetLinkage_evidence(
void)
const;
223 void ResetLinkage_evidence(
void);
238 virtual void Reset(
void);
static bool GetLinkage(const CSeqMap_CI &iter, const bool *default_linkage)
Base class for all serializable objects.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
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()
bool IsSetLinkage(void) const
Check if a value has been assigned to Linkage data member.
CSeq_gap_Base(const CSeq_gap_Base &)
bool CanGetType(void) const
Check if it is safe to call GetType method.
TLinkage GetLinkage(void) const
Get the Linkage member data.
TType GetType(void) const
Get the Type member data.
bool CanGetLinkage_evidence(void) const
Check if it is safe to call GetLinkage_evidence method.
CSeq_gap_Base & operator=(const CSeq_gap_Base &)
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
list< CRef< CLinkage_evidence > > m_Linkage_evidence
const TLinkage_evidence & GetLinkage_evidence(void) const
Get the Linkage_evidence member data.
void ResetLinkage(void)
Reset Linkage data member.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
bool CanGetLinkage(void) const
Check if it is safe to call GetLinkage method.
TLinkage_evidence & SetLinkage_evidence(void)
Assign a value to Linkage_evidence data member.
void ResetType(void)
Reset Type data member.
TLinkage & SetLinkage(void)
Assign a value to Linkage data member.
list< CRef< CLinkage_evidence > > TLinkage_evidence
TType & SetType(void)
Assign a value to Type data member.
bool IsSetLinkage_evidence(void) const
Check if a value has been assigned to Linkage_evidence data member.
const GenericPointer< typename T::ValueType > T2 value