Go to the SVN repository for this file.
39 #ifndef OBJECTS_SEQFEAT_ORGMOD_HPP 40 #define OBJECTS_SEQFEAT_ORGMOD_HPP 71 staticTSubtype GetSubtypeValue(
const string&
str,
72EVocabulary vocabulary = eVocabulary_raw);
74EVocabulary vocabulary = eVocabulary_raw);
77 static boolIsValidSubtypeName(
const string&
str,
78EVocabulary vocabulary = eVocabulary_raw);
80 static boolIsDiscouraged(
constTSubtype stype,
boolindexer=
false);
81 static boolIsMultipleValuesAllowed(TSubtype);
85 static boolHoldsInstitutionCode(
constTSubtype stype);
87 static boolParseStructuredVoucher(
const string&
str,
string& inst,
string& coll,
string&
id);
89 static boolIsInstitutionCodeValid(
const string& inst_coll,
string&voucher_type,
bool& is_miscapitalized,
string& correct_cap,
bool& needs_country,
bool& erroneous_country);
90 static stringIsCultureCollectionValid(
const string& culture_collection);
91 static stringIsSpecimenVoucherValid(
const string& specimen_voucher);
92 static stringIsBiomaterialValid(
const string& biomaterial);
93 static stringIsStructuredVoucherValid(
const string&
val,
const string& voucher_type);
94 static stringMakeStructuredVoucher(
const string& inst,
const string& coll,
const string&
id);
95 static boolFixStructuredVoucher(
string&
val,
const string& voucher_type);
96 static boolAddStructureToVoucher(
string&
val,
const string& voucher_type);
97 static boolRescueInstFromParentheses(
string&
val,
const string& voucher_type);
98 static stringCheckMultipleVouchers(
constvector<string>&);
102 static const string&GetInstitutionFullName(
const string&short_name );
103 static const string&GetInstitutionShortName(
const string&full_name );
105 static stringFixStrain(
const string& strain);
106 static boolFuzzyStrainMatch(
const string& strain1,
const string& strain2 );
107 static boolIsStrainValid(
const string& strain);
108 static boolIsIsolateValid(
const string& isolate);
110 static stringFixHost(
const string&
value);
111 static stringFixHostCapitalization(
const string&
value);
115 static stringAutoFix(TSubtype subtype,
const string&
value);
118 static boolIsDeprecated(TSubtype subtype);
119 boolIsDeprecated()
const;
124 boolRemoveAbbreviation();
130 static boolIsValidTypeMaterial(
const string& type_material);
133 static boolIsINSDCValidTypeMaterial(
const string& type_material);
138 static boolNCBI_ValidateForMultipleIsolates(
void);
146 bool& is_miscapitalized,
string& correct_cap,
bool& needs_country,
bool& erroneous_country);
static string GetSubtypeName(const CSubSource &qual)
@OrgMod.hpp User-defined methods of the data storage class.
COrgMod(const COrgMod &value)
map< string, string, PNocase > TInstitutionCodeMap
static TSubtype GetSubtypeValue(const string &str, EVocabulary vocabulary=eVocabulary_raw)
COrgMod & operator=(const COrgMod &value)
container_type::iterator iterator
static const char * str(char *buf, int n)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SEQFEAT_EXPORT
TSubname & SetSubname(void)
Assign a value to Subname data member.
TSubtype & SetSubtype(void)
Assign a value to Subtype data member.
const GenericPointer< typename T::ValueType > T2 value
static bool FixCapitalization(string &name, bool apostroph)
static bool IsUnexpectedViralOrgModQualifier(COrgMod::TSubtype subtype)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4