ProteoWizard
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
pwiz::data::Term Struct Reference

a single controlled vocabulary term More...

#include <obo.hpp>

Public Types

typedef unsigned int id_type
 
typedef std::vector< id_typeid_list
 
typedef std::multimap< std::string, std::pair< std::string, id_type > > relation_map
 

Public Member Functions

 Term (id_type id=MAX_ID)
 
bool operator< (const Term &rhs) const
 

Public Attributes

std::string prefix
 
id_type id
 
std::string name
 
std::string def
 
id_list parentsIsA
 
id_list parentsPartOf
 
relation_map relations
 
std::multimap< std::string, std::string > propertyValues
 
std::vector< std::string > exactSynonyms
 
bool isObsolete
 

Static Public Attributes

static const id_type MAX_ID
 

Detailed Description

a single controlled vocabulary term

Definition at line 41 of file obo.hpp.

Member Typedef Documentation

§ id_type

typedef unsigned int pwiz::data::Term::id_type

Definition at line 43 of file obo.hpp.

§ id_list

typedef std::vector<id_type> pwiz::data::Term::id_list

Definition at line 44 of file obo.hpp.

§ relation_map

typedef std::multimap<std::string, std::pair<std::string, id_type> > pwiz::data::Term::relation_map

Definition at line 45 of file obo.hpp.

Constructor & Destructor Documentation

§ Term()

pwiz::data::Term::Term ( id_type  id = MAX_ID)
inline

Definition at line 59 of file obo.hpp.

60  : id(id), isObsolete(false)
61  {}
id_type id
Definition: obo.hpp:49
bool isObsolete
Definition: obo.hpp:57

Member Function Documentation

§ operator<()

bool pwiz::data::Term::operator< ( const Term rhs) const
inline

Definition at line 63 of file obo.hpp.

References id.

63 {return id < rhs.id;}

Member Data Documentation

§ MAX_ID

const id_type pwiz::data::Term::MAX_ID
static

Definition at line 46 of file obo.hpp.

§ prefix

std::string pwiz::data::Term::prefix

Definition at line 48 of file obo.hpp.

§ id

id_type pwiz::data::Term::id

Definition at line 49 of file obo.hpp.

Referenced by operator<().

§ name

std::string pwiz::data::Term::name

Definition at line 50 of file obo.hpp.

§ def

std::string pwiz::data::Term::def

Definition at line 51 of file obo.hpp.

§ parentsIsA

id_list pwiz::data::Term::parentsIsA

Definition at line 52 of file obo.hpp.

§ parentsPartOf

id_list pwiz::data::Term::parentsPartOf

Definition at line 53 of file obo.hpp.

§ relations

relation_map pwiz::data::Term::relations

Definition at line 54 of file obo.hpp.

§ propertyValues

std::multimap<std::string, std::string> pwiz::data::Term::propertyValues

Definition at line 55 of file obo.hpp.

§ exactSynonyms

std::vector<std::string> pwiz::data::Term::exactSynonyms

Definition at line 56 of file obo.hpp.

§ isObsolete

bool pwiz::data::Term::isObsolete

Definition at line 57 of file obo.hpp.


The documentation for this struct was generated from the following file: