35 #ifndef OPENMS_FORMAT_CONTROLLEDVOCABULARY_H    36 #define OPENMS_FORMAT_CONTROLLEDVOCABULARY_H   117     const String& name() 
const;
   125     void loadFromOBO(
const String& name, 
const String& filename);
   128     bool exists(
const String& 
id) 
const;
   131     bool hasTermWithName(
const String& name) 
const;
   158     void getAllChildTerms(std::set<String>& terms, 
const String& parent) 
const;
   165     bool isChildOf(
const String& child, 
const String& parent) 
const;
   173     bool checkName_(
const String& 
id, 
const String& name, 
bool ignore_case = 
true);
   189 #endif // OPENMS_FORMAT_CONTROLLEDVOCABULARY_H 
Definition: ControlledVocabulary.h:68
 
Representation of a CV term. 
Definition: ControlledVocabulary.h:61
 
A more convenient string class. 
Definition: String.h:57
 
Map< String, CVTerm > terms_
Map from ID to CVTerm. 
Definition: ControlledVocabulary.h:176
 
String id
Identifier. 
Definition: ControlledVocabulary.h:84
 
Definition: ControlledVocabulary.h:75
 
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:92
 
Main OpenMS namespace. 
Definition: FeatureDeconvolution.h:47
 
Definition: ControlledVocabulary.h:74
 
StringList unparsed
Unparsed lines from the definition file. 
Definition: ControlledVocabulary.h:90
 
bool obsolete
Flag that indicates of the term is obsolete. 
Definition: ControlledVocabulary.h:87
 
Class to hold strings, numeric values, lists of strings and lists of numeric values. 
Definition: DataValue.h:57
 
Definition: ControlledVocabulary.h:71
 
Representation of a controlled vocabulary. 
Definition: ControlledVocabulary.h:55
 
Definition: ControlledVocabulary.h:72
 
XRefType
define xsd types allowed in cv term to specify their value-type 
Definition: ControlledVocabulary.h:64
 
Map< String, String > namesToIds_
Map from name to id. 
Definition: ControlledVocabulary.h:178
 
Definition: ControlledVocabulary.h:69
 
std::set< String > units
unit accession ids, defined by relationship has units 
Definition: ControlledVocabulary.h:93
 
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
 
XRefType xref_type
xref value-type for the CV-term 
Definition: ControlledVocabulary.h:91
 
String name
if it is a score type, lookup has_order 
Definition: ControlledVocabulary.h:83
 
StringList synonyms
List of synonyms. 
Definition: ControlledVocabulary.h:89
 
std::vector< String > StringList
Vector of String. 
Definition: ListUtils.h:74
 
std::set< String > parents
The parent IDs. 
Definition: ControlledVocabulary.h:85
 
std::set< String > children
The child IDs. 
Definition: ControlledVocabulary.h:86
 
Definition: ControlledVocabulary.h:73
 
Definition: ControlledVocabulary.h:67
 
String name_
Name set in the load method. 
Definition: ControlledVocabulary.h:180
 
Map class based on the STL map (containing several convenience functions) 
Definition: Map.h:51
 
Definition: ControlledVocabulary.h:70
 
String description
Term description. 
Definition: ControlledVocabulary.h:88