41 #ifndef OBJECTS_SEQFEAT_VARIATION_INST_BASE_HPP
42 #define OBJECTS_SEQFEAT_VARIATION_INST_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
98 eType_microsatellite = 8,
101 eType_direct_copy = 11,
102 eType_rev_direct_copy = 12,
103 eType_inverted_copy = 13,
104 eType_everted_copy = 14,
105 eType_translocation = 15,
106 eType_prot_missense = 16,
107 eType_prot_nonsense = 17,
108 eType_prot_neutral = 18,
109 eType_prot_silent = 19,
110 eType_prot_other = 20,
121 eObservation_asserted = 1,
122 eObservation_reference = 2,
123 eObservation_variant = 4
131 typedef list< CRef< CDelta_item > >
TDelta;
153 bool IsSetType(
void)
const;
160 bool CanGetType(
void)
const;
163 void ResetType(
void);
169 TType GetType(
void)
const;
181 TType& SetType(
void);
191 bool IsSetDelta(
void)
const;
198 bool CanGetDelta(
void)
const;
201 void ResetDelta(
void);
207 const TDelta& GetDelta(
void)
const;
222 bool IsSetObservation(
void)
const;
229 bool CanGetObservation(
void)
const;
232 void ResetObservation(
void);
253 virtual void Reset(
void);
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.
#define NCBI_SEQFEAT_EXPORT
TType GetType(void) const
Get the Type member data.
DECLARE_INTERNAL_TYPE_INFO()
TObservation GetObservation(void) const
Get the Observation member data.
void ResetType(void)
Reset Type data member.
void ResetObservation(void)
Reset Observation data member.
bool IsSetDelta(void) const
Sequence that replaces the location, in biological order.
bool CanGetType(void) const
Check if it is safe to call GetType method.
const TDelta & GetDelta(void) const
Get the Delta member data.
CVariation_inst_Base(const CVariation_inst_Base &)
TObservation & SetObservation(void)
Assign a value to Observation data member.
list< CRef< CDelta_item > > m_Delta
bool CanGetDelta(void) const
Check if it is safe to call GetDelta method.
bool CanGetObservation(void) const
Check if it is safe to call GetObservation method.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
list< CRef< CDelta_item > > TDelta
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
bool IsSetObservation(void) const
Check if a value has been assigned to Observation data member.
TType & SetType(void)
Assign a value to Type data member.
EObservation
'observation' is used to label items in a Variation-ref package This field is explicitly a bit-field,...
TDelta & SetDelta(void)
Assign a value to Delta data member.
CVariation_inst_Base & operator=(const CVariation_inst_Base &)
const GenericPointer< typename T::ValueType > T2 value