41 #ifndef OBJECTS_SEQFEAT_VARIATION_REF_BASE_HPP
42 #define OBJECTS_SEQFEAT_VARIATION_REF_BASE_HPP
53 #ifndef BEGIN_objects_SCOPE
54 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
55 # define END_objects_SCOPE END_SCOPE(objects)
101 eMethod_E_unknown = 0,
102 eMethod_E_bac_acgh = 1,
103 eMethod_E_computational = 2,
104 eMethod_E_curated = 3,
105 eMethod_E_digital_array = 4,
106 eMethod_E_expression_array = 5,
108 eMethod_E_flanking_sequence = 7,
110 eMethod_E_mcd_analysis = 9,
112 eMethod_E_oea_assembly = 11,
113 eMethod_E_oligo_acgh = 12,
114 eMethod_E_paired_end = 13,
117 eMethod_E_read_depth = 16,
119 eMethod_E_rt_pcr = 18,
121 eMethod_E_sequence_alignment = 20,
122 eMethod_E_sequencing = 21,
123 eMethod_E_snp_array = 22,
124 eMethod_E_snp_genoytyping = 23,
125 eMethod_E_southern = 24,
126 eMethod_E_western = 25,
127 eMethod_E_optical_mapping = 26,
128 eMethod_E_other = 255
139 eAllele_origin_unknown = 0,
140 eAllele_origin_germline = 1,
141 eAllele_origin_somatic = 2,
142 eAllele_origin_inherited = 4,
143 eAllele_origin_paternal = 8,
144 eAllele_origin_maternal = 16,
145 eAllele_origin_de_novo = 32,
146 eAllele_origin_biparental = 64,
147 eAllele_origin_uniparental = 128,
148 eAllele_origin_not_tested = 256,
149 eAllele_origin_tested_inconclusive = 512,
150 eAllele_origin_other = 1073741824
159 eAllele_state_unknown = 0,
160 eAllele_state_homozygous = 1,
161 eAllele_state_heterozygous = 2,
162 eAllele_state_hemizygous = 3,
163 eAllele_state_nullizygous = 4,
164 eAllele_state_other = 255
207 eData_set_type_unknown = 0,
208 eData_set_type_compound = 1,
209 eData_set_type_products = 2,
210 eData_set_type_haplotype = 3,
211 eData_set_type_genotype = 4,
212 eData_set_type_mosaic = 5,
213 eData_set_type_individual = 6,
214 eData_set_type_population = 7,
215 eData_set_type_alleles = 8,
216 eData_set_type_package = 9,
217 eData_set_type_other = 255
247 bool IsSetType(
void)
const;
254 bool CanGetType(
void)
const;
257 void ResetType(
void);
263 TType GetType(
void)
const;
275 TType& SetType(
void);
284 bool IsSetVariations(
void)
const;
291 bool CanGetVariations(
void)
const;
294 void ResetVariations(
void);
315 bool IsSetName(
void)
const;
322 bool CanGetName(
void)
const;
325 void ResetName(
void);
331 const TName& GetName(
void)
const;
344 TName& SetName(
void);
381 void ResetSelection(
void);
387 E_Choice Which(
void)
const;
393 void CheckSelected(E_Choice index)
const;
399 NCBI_NORETURN
void ThrowInvalidSelection(E_Choice index)
const;
407 static string SelectionName(E_Choice index);
438 bool IsUnknown(
void)
const;
441 void SetUnknown(
void);
450 bool IsNote(
void)
const;
456 const TNote& GetNote(
void)
const;
462 TNote& SetNote(
void);
476 bool IsUniparental_disomy(
void)
const;
479 void SetUniparental_disomy(
void);
488 bool IsInstance(
void)
const;
494 const TInstance& GetInstance(
void)
const;
514 bool IsSet(
void)
const;
520 const TSet& GetSet(
void)
const;
539 bool IsComplex(
void)
const;
542 void SetComplex(
void);
554 static const char*
const sm_SelectionNames[];
557 NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string>
m_string;
618 bool IsSetPhase(
void)
const;
625 bool CanGetPhase(
void)
const;
628 void ResetPhase(
void);
634 TPhase GetPhase(
void)
const;
655 bool IsSetX_length(
void)
const;
662 bool CanGetX_length(
void)
const;
665 void ResetX_length(
void);
741 bool IsSetReference(
void)
const;
748 bool CanGetReference(
void)
const;
751 void ResetReference(
void);
780 bool IsSetTest(
void)
const;
787 bool CanGetTest(
void)
const;
790 void ResetTest(
void);
796 const TTest& GetTest(
void)
const;
834 e_Loss_of_heterozygosity
845 void ResetSelection(
void);
851 E_Choice Which(
void)
const;
857 void CheckSelected(E_Choice index)
const;
863 NCBI_NORETURN
void ThrowInvalidSelection(E_Choice index)
const;
871 static string SelectionName(E_Choice index);
903 bool IsUnknown(
void)
const;
906 void SetUnknown(
void);
914 bool IsSplicing(
void)
const;
917 void SetSplicing(
void);
926 bool IsNote(
void)
const;
932 const TNote& GetNote(
void)
const;
938 TNote& SetNote(
void);
953 bool IsVariation(
void)
const;
979 bool IsFrameshift(
void)
const;
1005 bool IsLoss_of_heterozygosity(
void)
const;
1034 static const char*
const sm_SelectionNames[];
1037 NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string>
m_string;
1082 e__allMandatory = 0,
1098 bool IsSetDescription(
void)
const;
1105 bool CanGetDescription(
void)
const;
1108 void ResetDescription(
void);
1137 bool IsSetObject_id(
void)
const;
1144 bool CanGetObject_id(
void)
const;
1147 void ResetObject_id(
void);
1181 e__allMandatory = 0,
1198 bool IsSetSource(
void)
const;
1205 bool CanGetSource(
void)
const;
1208 void ResetSource(
void);
1214 const TSource& GetSource(
void)
const;
1235 bool IsSetCondition(
void)
const;
1242 bool CanGetCondition(
void)
const;
1245 void ResetCondition(
void);
1308 e__allMandatory = 0,
1325 e_is_ancestral_allele,
1353 bool IsSetId(
void)
const;
1360 bool CanGetId(
void)
const;
1390 bool IsSetParent_id(
void)
const;
1397 bool CanGetParent_id(
void)
const;
1400 void ResetParent_id(
void);
1427 bool IsSetSample_id(
void)
const;
1434 bool CanGetSample_id(
void)
const;
1437 void ResetSample_id(
void);
1464 bool IsSetOther_ids(
void)
const;
1471 bool CanGetOther_ids(
void)
const;
1474 void ResetOther_ids(
void);
1498 bool IsSetName(
void)
const;
1505 bool CanGetName(
void)
const;
1508 void ResetName(
void);
1514 const TName& GetName(
void)
const;
1527 TName& SetName(
void);
1536 bool IsSetSynonyms(
void)
const;
1543 bool CanGetSynonyms(
void)
const;
1546 void ResetSynonyms(
void);
1552 const TSynonyms& GetSynonyms(
void)
const;
1568 bool IsSetDescription(
void)
const;
1575 bool CanGetDescription(
void)
const;
1578 void ResetDescription(
void);
1607 bool IsSetPhenotype(
void)
const;
1614 bool CanGetPhenotype(
void)
const;
1617 void ResetPhenotype(
void);
1638 bool IsSetMethod(
void)
const;
1645 bool CanGetMethod(
void)
const;
1648 void ResetMethod(
void);
1654 const TMethod& GetMethod(
void)
const;
1677 bool IsSetPopulation_data(
void)
const;
1684 bool CanGetPopulation_data(
void)
const;
1687 void ResetPopulation_data(
void);
1709 bool IsSetVariant_prop(
void)
const;
1716 bool CanGetVariant_prop(
void)
const;
1719 void ResetVariant_prop(
void);
1748 bool IsSetValidated(
void)
const;
1755 bool CanGetValidated(
void)
const;
1758 void ResetValidated(
void);
1787 bool IsSetClinical_test(
void)
const;
1794 bool CanGetClinical_test(
void)
const;
1797 void ResetClinical_test(
void);
1818 bool IsSetAllele_origin(
void)
const;
1825 bool CanGetAllele_origin(
void)
const;
1828 void ResetAllele_origin(
void);
1855 bool IsSetAllele_state(
void)
const;
1862 bool CanGetAllele_state(
void)
const;
1865 void ResetAllele_state(
void);
1896 bool IsSetAllele_frequency(
void)
const;
1903 bool CanGetAllele_frequency(
void)
const;
1906 void ResetAllele_frequency(
void);
1935 bool IsSetIs_ancestral_allele(
void)
const;
1942 bool CanGetIs_ancestral_allele(
void)
const;
1945 void ResetIs_ancestral_allele(
void);
1977 bool IsSetPub(
void)
const;
1984 bool CanGetPub(
void)
const;
1987 void ResetPub(
void);
1993 const TPub& GetPub(
void)
const;
2014 bool IsSetData(
void)
const;
2021 bool CanGetData(
void)
const;
2024 void ResetData(
void);
2030 const TData& GetData(
void)
const;
2042 TData& SetData(
void);
2051 bool IsSetConsequence(
void)
const;
2058 bool CanGetConsequence(
void)
const;
2061 void ResetConsequence(
void);
2084 bool IsSetLocation(
void)
const;
2091 bool CanGetLocation(
void)
const;
2094 void ResetLocation(
void);
2100 const TLocation& GetLocation(
void)
const;
2123 bool IsSetExt_locs(
void)
const;
2130 bool CanGetExt_locs(
void)
const;
2133 void ResetExt_locs(
void);
2139 const TExt_locs& GetExt_locs(
void)
const;
2155 bool IsSetExt(
void)
const;
2162 bool CanGetExt(
void)
const;
2165 void ResetExt(
void);
2171 const TExt& GetExt(
void)
const;
2192 bool IsSetSomatic_origin(
void)
const;
2199 bool CanGetSomatic_origin(
void)
const;
2202 void ResetSomatic_origin(
void);
2217 virtual void Reset(
void);
2284 if (!CanGetType()) {
2324 return m_Variations;
2331 return m_Variations;
2365 m_Name = std::forward<CVariation_ref_Base::C_Data::C_Set::TName>(
value);
2487 return IsSetPhase();
2500 if (!CanGetPhase()) {
2517 if (!IsSetPhase()) {
2534 return IsSetX_length();
2547 if (!CanGetX_length()) {
2564 if (!IsSetX_length()) {
2581 return IsSetReference();
2587 if (!CanGetReference()) {
2596 m_Reference =
value;
2603 m_Reference = std::forward<CVariation_ref_Base::C_E_Consequence::C_Loss_of_heterozygosity::TReference>(
value);
2611 if (!IsSetReference()) {
2634 if (!CanGetTest()) {
2650 m_Test = std::forward<CVariation_ref_Base::C_E_Consequence::C_Loss_of_heterozygosity::TTest>(
value);
2754 return m_choice == e_Loss_of_heterozygosity;
2788 m_Description = std::forward<CVariation_ref_Base::C_E_Somatic_origin::C_Condition::TDescription>(
value);
2832 return m_Source.NotEmpty();
2838 return IsSetSource();
2844 if (!CanGetSource()) {
2853 return m_Condition.NotEmpty();
2859 return IsSetCondition();
2865 if (!CanGetCondition()) {
2868 return (*m_Condition);
2874 return m_Id.NotEmpty();
2990 m_Name = std::forward<CVariation_ref_Base::TName>(
value);
3437 return m_Pub.NotEmpty();
3559 return m_Ext.NotEmpty();
Base class for all serializable objects.
Set of related Variations.
see http://www.hgvs.org/mutnomen/recs-prot.html
C_Loss_of_heterozygosity –.
condition related to this origin's type
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
static string UnassignedString(void)
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,...
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty – pointing to an object and has a non-null value.
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
DECLARE_INTERNAL_TYPE_INFO()
TAllele_origin GetAllele_origin(void) const
Get the Allele_origin member data.
TNote & SetNote(void)
Select the variant.
bool CanGetCondition(void) const
Check if it is safe to call GetCondition method.
const TVariant_prop & GetVariant_prop(void) const
Get the Variant_prop member data.
C_Loss_of_heterozygosity & operator=(const C_Loss_of_heterozygosity &)
bool CanGetObject_id(void) const
Check if it is safe to call GetObject_id method.
void SetComplex(void)
Select the variant.
bool CanGetName(void) const
Check if it is safe to call GetName method.
list< CRef< CDbtag > > m_Clinical_test
C_Data & operator=(const C_Data &)
bool IsSetSomatic_origin(void) const
Check if a value has been assigned to Somatic_origin data member.
list< CRef< CVariation_ref > > TVariations
C_Frameshift & operator=(const C_Frameshift &)
bool CanGetConsequence(void) const
Check if it is safe to call GetConsequence method.
bool CanGetTest(void) const
Check if it is safe to call GetTest method.
TDescription & SetDescription(void)
Assign a value to Description data member.
TIs_ancestral_allele & SetIs_ancestral_allele(void)
Assign a value to Is_ancestral_allele data member.
C_Loss_of_heterozygosity(const C_Loss_of_heterozygosity &)
bool CanGetAllele_frequency(void) const
Check if it is safe to call GetAllele_frequency method.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void ResetValidated(void)
Reset Validated data member.
CRef< TCondition > m_Condition
C_Condition(const C_Condition &)
C_E_Consequence(const C_E_Consequence &)
C_E_Consequence & operator=(const C_E_Consequence &)
bool IsUnknown(void) const
Check if variant Unknown is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
E_Choice Which(void) const
Which variant is currently selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
CRef< TParent_id > m_Parent_id
bool IsSetPhase(void) const
Check if a value has been assigned to Phase data member.
TName & SetName(void)
Assign a value to Name data member.
bool IsSetCondition(void) const
Check if a value has been assigned to Condition data member.
bool CanGetMethod(void) const
Check if it is safe to call GetMethod method.
bool CanGetExt_locs(void) const
Check if it is safe to call GetExt_locs method.
void ResetAllele_frequency(void)
Reset Allele_frequency data member.
bool IsSetSample_id(void) const
Check if a value has been assigned to Sample_id data member.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool CanGetSource(void) const
Check if it is safe to call GetSource method.
bool CanGetExt(void) const
Check if it is safe to call GetExt method.
bool IsSetVariant_prop(void) const
variant properties bit fields Check if a value has been assigned to Variant_prop data member.
C_Frameshift(const C_Frameshift &)
bool IsSetAllele_origin(void) const
Check if a value has been assigned to Allele_origin data member.
bool CanGetLocation(void) const
Check if it is safe to call GetLocation method.
TValidated & SetValidated(void)
Assign a value to Validated data member.
list< CRef< CDbtag > > TOther_ids
TSomatic_origin & SetSomatic_origin(void)
Assign a value to Somatic_origin data member.
TType GetType(void) const
Get the Type member data.
TConsequence & SetConsequence(void)
Assign a value to Consequence data member.
list< CRef< CPhenotype > > m_Phenotype
const TSample_id & GetSample_id(void) const
Get the Sample_id member data.
bool CanGetData(void) const
Check if it is safe to call GetData method.
bool IsSetOther_ids(void) const
Check if a value has been assigned to Other_ids data member.
list< CRef< C_E_Consequence > > m_Consequence
double m_Allele_frequency
list< CRef< CPhenotype > > TPhenotype
bool CanGetAllele_state(void) const
Check if it is safe to call GetAllele_state method.
const TNote & GetNote(void) const
Get the variant data.
bool IsSetX_length(void) const
Check if a value has been assigned to X_length data member.
bool CanGetValidated(void) const
Check if it is safe to call GetValidated method.
list< CRef< CPopulation_data > > m_Population_data
bool IsSetPopulation_data(void) const
Note about SNP representation and pretinent fields: allele-frequency, population, quality-codes: The ...
bool CanGetVariant_prop(void) const
Check if it is safe to call GetVariant_prop method.
list< CRef< CDbtag > > m_Other_ids
const TSource & GetSource(void) const
Get the Source member data.
bool CanGetAllele_origin(void) const
Check if it is safe to call GetAllele_origin method.
const TId & GetId(void) const
Get the Id member data.
C_E_Somatic_origin(const C_E_Somatic_origin &)
bool IsSetReference(void) const
In germline comparison, it will be reference genome assembly (default) or reference/normal population...
list< CRef< C_E_Somatic_origin > > TSomatic_origin
TX_length GetX_length(void) const
Get the X_length member data.
void SetUnknown(void)
Select the variant.
list< CRef< CVariation_ref > > m_Variations
bool IsSetPub(void) const
publication support.
bool IsSetConsequence(void) const
Check if a value has been assigned to Consequence data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ResetAllele_state(void)
Reset Allele_state data member.
const TClinical_test & GetClinical_test(void) const
Get the Clinical_test member data.
TObject_id & SetObject_id(void)
Assign a value to Object_id data member.
TDescription & SetDescription(void)
Assign a value to Description data member.
bool IsSetAllele_frequency(void) const
NOTE: 'allele-frequency' here refers to the minor allele frequency of the default population DEPRECAT...
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
DECLARE_INTERNAL_TYPE_INFO()
const TData & GetData(void) const
Get the Data member data.
void ResetPhase(void)
Reset Phase data member.
TData & SetData(void)
Assign a value to Data data member.
bool CanGetSynonyms(void) const
Check if it is safe to call GetSynonyms method.
const TPhenotype & GetPhenotype(void) const
Get the Phenotype member data.
void ResetData(void)
Reset Data data member.
bool IsSetPhenotype(void) const
phenotype Check if a value has been assigned to Phenotype data member.
TPhase & SetPhase(void)
Assign a value to Phase data member.
const TLocation & GetLocation(void) const
Get the Location member data.
bool CanGetSomatic_origin(void) const
Check if it is safe to call GetSomatic_origin method.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
TValidated GetValidated(void) const
Get the Validated member data.
list< CRef< CDbtag > > m_Object_id
DECLARE_INTERNAL_TYPE_INFO()
TExt_locs & SetExt_locs(void)
Assign a value to Ext_locs data member.
const TReference & GetReference(void) const
Get the Reference member data.
const TDescription & GetDescription(void) const
Get the Description member data.
void SetUnknown(void)
Select the variant.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
TClinical_test & SetClinical_test(void)
Assign a value to Clinical_test data member.
bool IsInstance(void) const
Check if variant Instance is selected.
bool IsSetDescription(void) const
Check if a value has been assigned to Description data member.
CRef< TLocation > m_Location
const TNote & GetNote(void) const
Get the variant data.
DECLARE_INTERNAL_TYPE_INFO()
const TName & GetName(void) const
Get the Name member data.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool IsSetAllele_state(void) const
Check if a value has been assigned to Allele_state data member.
list< CRef< C_E_Consequence > > TConsequence
EAllele_state
observed allele state, if known DEPRECATED: new field = VariantProperties.allele-state
C_Condition & operator=(const C_Condition &)
TNote & SetNote(void)
Select the variant.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
const TSomatic_origin & GetSomatic_origin(void) const
Get the Somatic_origin member data.
list< CRef< CPopulation_data > > TPopulation_data
bool CanGetName(void) const
Check if it is safe to call GetName method.
DECLARE_INTERNAL_TYPE_INFO()
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
const TConsequence & GetConsequence(void) const
Get the Consequence member data.
bool TIs_ancestral_allele
bool IsSplicing(void) const
Check if variant Splicing is selected.
bool IsSetDescription(void) const
tag for comment and descriptions Check if a value has been assigned to Description data member.
bool IsSetIs_ancestral_allele(void) const
is this variant the ancestral allele? DEPRECATED: new field = VariantProperties.is-ancestral-allele C...
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
C_E_Somatic_origin & operator=(const C_E_Somatic_origin &)
bool IsSetSynonyms(void) const
Check if a value has been assigned to Synonyms data member.
bool IsUniparental_disomy(void) const
Check if variant Uniparental_disomy is selected.
TOther_ids & SetOther_ids(void)
Assign a value to Other_ids data member.
Tparent::CMemberIndex< E_memberIndex, 25 > TmemberIndex
EAllele_origin
origin of this allele, if known note that these are powers-of-two, and represent bits; thus,...
bool IsSet(void) const
Check if variant Set is selected.
void ResetX_length(void)
Reset X_length data member.
list< CRef< CExt_loc > > m_Ext_locs
CRef< TVariant_prop > m_Variant_prop
bool IsSetMethod(void) const
Check if a value has been assigned to Method data member.
TAllele_state & SetAllele_state(void)
Assign a value to Allele_state data member.
bool IsSetParent_id(void) const
Check if a value has been assigned to Parent_id data member.
CVariation_ref TVariation
bool IsSetClinical_test(void) const
link-outs to GeneTests database DEPRECATED - do not use Check if a value has been assigned to Clinica...
CVariantProperties TVariant_prop
const TObject_id & GetObject_id(void) const
Get the Object_id member data.
TAllele_frequency GetAllele_frequency(void) const
Get the Allele_frequency member data.
bool IsLoss_of_heterozygosity(void) const
Check if variant Loss_of_heterozygosity is selected.
void ResetAllele_origin(void)
Reset Allele_origin data member.
const TParent_id & GetParent_id(void) const
Get the Parent_id member data.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
const TTest & GetTest(void) const
Get the Test member data.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
bool IsUnknown(void) const
Check if variant Unknown is selected.
TVariations & SetVariations(void)
Assign a value to Variations data member.
TSynonyms & SetSynonyms(void)
Assign a value to Synonyms data member.
bool IsSetTest(void) const
Name of the testing subject type or the testing tissue.
bool IsSetLocation(void) const
Observed location, if different from the parent set or feature.location.
TMethod & SetMethod(void)
Assign a value to Method data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool CanGetVariations(void) const
Check if it is safe to call GetVariations method.
bool m_Is_ancestral_allele
bool IsSetValidated(void) const
has this variant been validated? DEPRECATED: new field = VariantProperties.other-validation Check if ...
CRef< TSample_id > m_Sample_id
void SetUniparental_disomy(void)
Select the variant.
const TName & GetName(void) const
Get the Name member data.
TType & SetType(void)
Assign a value to Type data member.
C_Loss_of_heterozygosity TLoss_of_heterozygosity
DECLARE_INTERNAL_TYPE_INFO()
TPopulation_data & SetPopulation_data(void)
Assign a value to Population_data data member.
const TPopulation_data & GetPopulation_data(void) const
Get the Population_data member data.
bool CanGetParent_id(void) const
Check if it is safe to call GetParent_id method.
TName & SetName(void)
Assign a value to Name data member.
TIs_ancestral_allele GetIs_ancestral_allele(void) const
Get the Is_ancestral_allele member data.
bool IsSetVariations(void) const
Check if a value has been assigned to Variations data member.
TAllele_origin & SetAllele_origin(void)
Assign a value to Allele_origin data member.
const TCondition & GetCondition(void) const
Get the Condition member data.
bool CanGetPub(void) const
Check if it is safe to call GetPub method.
bool IsSetSource(void) const
description of the somatic origin itself Check if a value has been assigned to Source data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsSetId(void) const
ids (i.e., SNP rsid / ssid, dbVar nsv/nssv) expected values include 'dbSNP|rs12334',...
list< CRef< CExt_loc > > TExt_locs
bool IsFrameshift(void) const
Check if variant Frameshift is selected.
bool CanGetSample_id(void) const
Check if it is safe to call GetSample_id method.
bool CanGetPopulation_data(void) const
Check if it is safe to call GetPopulation_data method.
TTest & SetTest(void)
Assign a value to Test data member.
bool CanGetReference(void) const
Check if it is safe to call GetReference method.
CVariation_ref_Base(const CVariation_ref_Base &)
void ResetIs_ancestral_allele(void)
Reset Is_ancestral_allele data member.
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TDescription & GetDescription(void) const
Get the Description member data.
bool CanGetOther_ids(void) const
Check if it is safe to call GetOther_ids method.
TAllele_frequency & SetAllele_frequency(void)
Assign a value to Allele_frequency data member.
bool CanGetClinical_test(void) const
Check if it is safe to call GetClinical_test method.
TPhase GetPhase(void) const
Get the Phase member data.
bool CanGetX_length(void) const
Check if it is safe to call GetX_length method.
const TExt_locs & GetExt_locs(void) const
Get the Ext_locs member data.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool CanGetPhase(void) const
Check if it is safe to call GetPhase method.
bool CanGetPhenotype(void) const
Check if it is safe to call GetPhenotype method.
const TOther_ids & GetOther_ids(void) const
Get the Other_ids member data.
NCBI_NS_NCBI::CSerialObject * m_object
bool IsSetExt_locs(void) const
reference other locs, e.g.
bool CanGetIs_ancestral_allele(void) const
Check if it is safe to call GetIs_ancestral_allele method.
bool IsSetObject_id(void) const
reference to BioTerm / other descriptive database Check if a value has been assigned to Object_id dat...
bool IsSetName(void) const
names and synonyms some variants have well-known canonical names and possible accepted synonyms Check...
E_Choice Which(void) const
Which variant is currently selected.
NCBI_NS_NCBI::CSerialObject * m_object
const TExt & GetExt(void) const
Get the Ext member data.
TX_length & SetX_length(void)
Assign a value to X_length data member.
C_Set & operator=(const C_Set &)
TReference & SetReference(void)
Assign a value to Reference data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool CanGetId(void) const
Check if it is safe to call GetId method.
const TPub & GetPub(void) const
Get the Pub member data.
list< string > m_Synonyms
CVariation_inst TInstance
const TMethod & GetMethod(void) const
Get the Method member data.
bool IsNote(void) const
Check if variant Note is selected.
list< CRef< CDbtag > > TClinical_test
CVariation_ref_Base & operator=(const CVariation_ref_Base &)
bool IsNote(void) const
Check if variant Note is selected.
bool IsVariation(void) const
Check if variant Variation is selected.
bool CanGetType(void) const
Check if it is safe to call GetType method.
void ResetType(void)
Reset Type data member.
bool IsSetExt(void) const
DEPRECATED - do not use; use Seq-feat.exts instead Check if a value has been assigned to Ext data mem...
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
const TVariations & GetVariations(void) const
Get the Variations member data.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
void SetSplicing(void)
Select the variant.
TPhenotype & SetPhenotype(void)
Assign a value to Phenotype data member.
list< CRef< C_E_Somatic_origin > > m_Somatic_origin
const TSynonyms & GetSynonyms(void) const
Get the Synonyms member data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
list< CRef< CDbtag > > TObject_id
DECLARE_INTERNAL_TYPE_INFO()
bool IsComplex(void) const
Check if variant Complex is selected.
bool CanGetDescription(void) const
Check if it is safe to call GetDescription method.
TAllele_state GetAllele_state(void) const
Get the Allele_state member data.
@ e_Variation
Describe resulting variation in the product, e.g. missense, nonsense, silent, neutral,...
@ e_Splicing
some effect on splicing
@ e_Complex
variant is a complex and undescribed change at the location This type of variant is known to occur in...
@ e_Instance
actual sequence-edit at feat.location
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value