53 m_OrgModType(
COrgMod::eSubtype_other),
63 : m_IsOrgMod(is_orgmod),
65 m_OrgModType(
COrgMod::eSubtype_other),
92 if (
copy.m_ValueList.size() > 0) {
110 unsigned int this_rank =
GetRank();
111 unsigned int rhs_rank = rhs.
GetRank();
113 if (this_rank != rhs_rank) {
114 return this_rank < rhs_rank;
167 for (
unsigned int k = 0; k <
m_ValueList.size(); k++) {
248 label =
"endogenous virus";
251 label =
"transgenic";
260 label =
"chromosome";
272 label =
"haplogroup";
287 label =
"tissue type";
305 label =
"pop variant";
308 label =
"tissue lib";
311 label =
"transposon";
314 label =
"insertion sequence";
323 label =
"isolation source";
332 label =
"collection date";
335 label =
"collected by";
338 label =
"identified by";
341 label =
"linkage group";
356 label =
"specific host";
362 label =
"common name";
365 label =
"subspecies";
371 label =
"forma specialis";
394 return "OrgMod Note";
400 return "SubSource Note";
void ValueFound(string val_found)
~CAutoDefAvailableModifier()
void FirstValue(string &first_val)
void SetSubSourceType(CSubSource::ESubtype subsrc_type)
CSubSource::ESubtype m_SubSrcType
bool operator<(const CAutoDefAvailableModifier &rhs) const
CAutoDefAvailableModifier comparator to sort the set properly.
static string GetOrgModLabel(COrgMod::ESubtype st)
CAutoDefAvailableModifier()
COrgMod::ESubtype GetOrgModType() const
COrgMod::ESubtype m_OrgModType
static string GetSubSourceLabel(CSubSource::ESubtype st)
void SetOrgModType(COrgMod::ESubtype orgmod_type)
bool operator==(const CAutoDefAvailableModifier &rhs) const
unsigned int GetRank() const
CSubSource::ESubtype GetSubSourceType() const
@OrgMod.hpp User-defined methods of the data storage class.
static string GetSubtypeName(TSubtype stype, EVocabulary vocabulary=eVocabulary_raw)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Test for equality of a substring with another string.
static const char label[]
@ eSubtype_collection_date
DD-MMM-YYYY format.
@ eSubtype_insertion_seq_name
@ eSubtype_transposon_name
@ eSubtype_lat_lon
+/- decimal degrees
@ eSubtype_collected_by
name of person who collected the sample
@ eSubtype_isolation_source
@ eSubtype_endogenous_virus_name
@ eSubtype_identified_by
name of person who identified the sample
@ eSubtype_gb_acronym
used by taxonomy database
@ eSubtype_gb_synonym
used by taxonomy database
@ eSubtype_other
ASN5: old-name (254) will be added to next spec.
@ eSubtype_nat_host
natural host of this specimen
@ eSubtype_specimen_voucher
@ eSubtype_gb_anamorph
used by taxonomy database
@ eSubtype_culture_collection
@ eSubtype_forma_specialis
Miscellaneous common-use basic types and functionality.
void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)