41 #ifndef OBJECTS_SEQFEAT_SUBSOURCE_BASE_HPP
42 #define OBJECTS_SEQFEAT_SUBSOURCE_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
85 eSubtype_chromosome = 1,
88 eSubtype_subclone = 4,
89 eSubtype_haplotype = 5,
90 eSubtype_genotype = 6,
92 eSubtype_cell_line = 8,
93 eSubtype_cell_type = 9,
94 eSubtype_tissue_type = 10,
95 eSubtype_clone_lib = 11,
96 eSubtype_dev_stage = 12,
97 eSubtype_frequency = 13,
98 eSubtype_germline = 14,
99 eSubtype_rearranged = 15,
100 eSubtype_lab_host = 16,
101 eSubtype_pop_variant = 17,
102 eSubtype_tissue_lib = 18,
103 eSubtype_plasmid_name = 19,
104 eSubtype_transposon_name = 20,
105 eSubtype_insertion_seq_name = 21,
106 eSubtype_plastid_name = 22,
107 eSubtype_country = 23,
108 eSubtype_segment = 24,
109 eSubtype_endogenous_virus_name = 25,
110 eSubtype_transgenic = 26,
111 eSubtype_environmental_sample = 27,
112 eSubtype_isolation_source = 28,
113 eSubtype_lat_lon = 29,
114 eSubtype_collection_date = 30,
115 eSubtype_collected_by = 31,
116 eSubtype_identified_by = 32,
117 eSubtype_fwd_primer_seq = 33,
118 eSubtype_rev_primer_seq = 34,
119 eSubtype_fwd_primer_name = 35,
120 eSubtype_rev_primer_name = 36,
121 eSubtype_metagenomic = 37,
122 eSubtype_mating_type = 38,
123 eSubtype_linkage_group = 39,
124 eSubtype_haplogroup = 40,
125 eSubtype_whole_replicon = 41,
126 eSubtype_phenotype = 42,
127 eSubtype_altitude = 43,
158 bool IsSetSubtype(
void)
const;
165 bool CanGetSubtype(
void)
const;
168 void ResetSubtype(
void);
195 bool IsSetName(
void)
const;
202 bool CanGetName(
void)
const;
205 void ResetName(
void);
211 const TName& GetName(
void)
const;
224 TName& SetName(
void);
234 bool IsSetAttrib(
void)
const;
241 bool CanGetAttrib(
void)
const;
244 void ResetAttrib(
void);
250 const TAttrib& GetAttrib(
void)
const;
266 virtual void Reset(
void);
368 m_Name = std::forward<CSubSource_Base::TName>(
value);
Base class for all serializable objects.
int GetSubtype(CFieldNamePanel *field_name_panel, string &ncRNA_class)
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_SEQFEAT_EXPORT
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
DECLARE_INTERNAL_TYPE_INFO()
const TAttrib & GetAttrib(void) const
Get the Attrib member data.
TSubtype GetSubtype(void) const
Get the Subtype member data.
bool IsSetSubtype(void) const
Check if a value has been assigned to Subtype data member.
bool CanGetName(void) const
Check if it is safe to call GetName method.
TName & SetName(void)
Assign a value to Name data member.
bool CanGetSubtype(void) const
Check if it is safe to call GetSubtype method.
const TName & GetName(void) const
Get the Name member data.
bool IsSetAttrib(void) const
attribution/source of this name Check if a value has been assigned to Attrib data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
void ResetSubtype(void)
Reset Subtype data member.
bool IsSetName(void) const
Check if a value has been assigned to Name data member.
CSubSource_Base & operator=(const CSubSource_Base &)
bool CanGetAttrib(void) const
Check if it is safe to call GetAttrib method.
CSubSource_Base(const CSubSource_Base &)
TAttrib & SetAttrib(void)
Assign a value to Attrib data member.
const GenericPointer< typename T::ValueType > T2 value