41 #ifndef OBJECTS_VARIATION_VARIATIONEXCEPTION_BASE_HPP
42 #define OBJECTS_VARIATION_VARIATIONEXCEPTION_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
85 eCode_hgvs_parsing = 1,
86 eCode_hgvs_exon_boundary = 2,
87 eCode_inconsistent_consequence = 3,
88 eCode_inconsistent_asserted_allele = 4,
90 eCode_partial_mapping = 6,
91 eCode_split_mapping = 7,
92 eCode_mismatches_in_mapping = 8,
93 eCode_inconsistent_asserted_moltype = 9,
94 eCode_bioseq_state = 10,
95 eCode_ambiguous_sequence = 11,
96 eCode_ref_same_as_variant = 12,
97 eCode_seqfetch_too_long = 13,
98 eCode_seqfetch_intronic = 14,
99 eCode_seqfetch_invalid = 15,
100 eCode_no_mapping_from_newer_version = 16,
101 eCode_source_location_overhang = 17,
102 eCode_hgvs_exon_boundary_induced = 18
130 bool IsSetCode(
void)
const;
137 bool CanGetCode(
void)
const;
140 void ResetCode(
void);
146 TCode GetCode(
void)
const;
158 TCode& SetCode(
void);
167 bool IsSetMessage(
void)
const;
174 bool CanGetMessage(
void)
const;
177 void ResetMessage(
void);
183 const TMessage& GetMessage(
void)
const;
199 virtual void Reset(
void);
300 m_Message = std::forward<CVariationException_Base::TMessage>(
value);
Base class for all serializable objects.
CVariationException_Base –.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
static string UnassignedString(void)
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_VARIATION_EXPORT
TMessage & SetMessage(void)
Assign a value to Message data member.
TCode GetCode(void) const
Get the Code member data.
DECLARE_INTERNAL_TYPE_INFO()
const TMessage & GetMessage(void) const
Get the Message member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
void ResetCode(void)
Reset Code data member.
bool CanGetCode(void) const
Check if it is safe to call GetCode method.
CVariationException_Base & operator=(const CVariationException_Base &)
bool IsSetCode(void) const
Check if a value has been assigned to Code data member.
bool IsSetMessage(void) const
Check if a value has been assigned to Message data member.
bool CanGetMessage(void) const
Check if it is safe to call GetMessage method.
CVariationException_Base(const CVariationException_Base &)
TCode & SetCode(void)
Assign a value to Code data member.
const GenericPointer< typename T::ValueType > T2 value