|  | OpenMS
    2.6.0
    | 
 
 
  
  
 
Go to the documentation of this file.
   78       static String getXRefTypeName(XRefType type);
 
  116     const String& name() 
const;
 
  124     void loadFromOBO(
const String& name, 
const String& filename);
 
  127     bool exists(
const String& 
id) 
const;
 
  130     bool hasTermWithName(
const String& name) 
const;
 
  157     void getAllChildTerms(std::set<String>& terms, 
const String& parent) 
const;
 
  168     template <
class LAMBDA>
 
  171       for (
const auto& child : getTerm(parent).children)
 
  173         if (lbd(child) || iterateAllChildren(child, lbd)) 
return true;
 
  190     bool isChildOf(
const String& child, 
const String& parent) 
const;
 
  198     bool checkName_(
const String& 
id, 
const String& name, 
bool ignore_case = 
true);
 
  
Definition: ControlledVocabulary.h:67
Definition: ControlledVocabulary.h:66
Representation of a controlled vocabulary.
Definition: ControlledVocabulary.h:54
StringList unparsed
Unparsed lines from the definition file.
Definition: ControlledVocabulary.h:89
bool obsolete
Flag that indicates of the term is obsolete.
Definition: ControlledVocabulary.h:86
A more convenient string class.
Definition: String.h:59
Definition: ControlledVocabulary.h:68
XRefType
define xsd types allowed in cv term to specify their value-type
Definition: ControlledVocabulary.h:63
XRefType xref_type
xref value-type for the CV-term
Definition: ControlledVocabulary.h:90
String id
Identifier.
Definition: ControlledVocabulary.h:83
String name
if it is a score type, lookup has_order
Definition: ControlledVocabulary.h:82
Definition: ControlledVocabulary.h:72
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
String name_
Name set in the load method.
Definition: ControlledVocabulary.h:205
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:56
StringList synonyms
List of synonyms.
Definition: ControlledVocabulary.h:88
std::set< String > parents
The parent IDs.
Definition: ControlledVocabulary.h:84
bool iterateAllChildren(const String &parent, LAMBDA lbd) const
Iterates over all children of parent recursively.
Definition: ControlledVocabulary.h:169
Map< String, CVTerm > terms_
Map from ID to CVTerm.
Definition: ControlledVocabulary.h:201
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
Definition: ControlledVocabulary.h:73
Definition: ControlledVocabulary.h:69
Definition: ControlledVocabulary.h:71
Representation of a CV term.
Definition: ControlledVocabulary.h:60
std::set< String > units
unit accession ids, defined by relationship has units
Definition: ControlledVocabulary.h:92
String description
Term description.
Definition: ControlledVocabulary.h:87
Definition: ControlledVocabulary.h:74
Definition: ControlledVocabulary.h:70
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:50
Map< String, String > namesToIds_
Map from name to id.
Definition: ControlledVocabulary.h:203
StringList xref_binary
xref binary-data-type for the CV-term (list of all allowed data value types for the current binary da...
Definition: ControlledVocabulary.h:91
std::set< String > children
The child IDs.
Definition: ControlledVocabulary.h:85