ProteoWizard
Classes | Functions
pwiz::cv Namespace Reference

Classes

struct  CV
 Information about an ontology or CV source and a short 'lookup' tag to refer to. More...
 
struct  CVTermInfo
 structure for holding CV term info More...
 

Functions

PWIZ_API_DECL const CVcv (const std::string &prefix)
 returns a CV object for the specified namespace (prefix); currently supported namespaces are: MS UO More...
 
PWIZ_API_DECL const CVTermInfocvTermInfo (CVID cvid)
 returns CV term info for the specified CVID More...
 
PWIZ_API_DECL const CVTermInfocvTermInfo (const char *id)
 returns CV term info for the specified id (accession number) More...
 
PWIZ_API_DECL const CVTermInfocvTermInfo (const std::string &id)
 
PWIZ_API_DECL bool cvIsA (CVID child, CVID parent)
 returns true iff child IsA parent in the CV More...
 
PWIZ_API_DECL const std::vector< CVID > & cvids ()
 returns vector of all valid CVIDs More...
 

Function Documentation

§ cv()

PWIZ_API_DECL const CV& pwiz::cv::cv ( const std::string &  prefix)

returns a CV object for the specified namespace (prefix); currently supported namespaces are: MS UO

Referenced by initializeTestData().

§ cvTermInfo() [1/3]

PWIZ_API_DECL const CVTermInfo& pwiz::cv::cvTermInfo ( CVID  cvid)

§ cvTermInfo() [2/3]

PWIZ_API_DECL const CVTermInfo& pwiz::cv::cvTermInfo ( const char *  id)

returns CV term info for the specified id (accession number)

§ cvTermInfo() [3/3]

PWIZ_API_DECL const CVTermInfo& pwiz::cv::cvTermInfo ( const std::string &  id)

§ cvIsA()

PWIZ_API_DECL bool pwiz::cv::cvIsA ( CVID  child,
CVID  parent 
)

§ cvids()

PWIZ_API_DECL const std::vector<CVID>& pwiz::cv::cvids ( )

returns vector of all valid CVIDs

Referenced by pwiz::cv::CVTermInfo::CVTermInfo().