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
PWIZ_API_DECL const CVTermInfocvTermInfo (CVID cvid)
 returns CV term info for the specified CVID
PWIZ_API_DECL const CVTermInfocvTermInfo (const char *id)
 returns CV term info for the specified id (accession number)
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
PWIZ_API_DECL const
std::vector< CVID > & 
cvids ()
 returns vector of all valid CVIDs

Function Documentation

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(), and main().

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

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

PWIZ_API_DECL const CVTermInfo& pwiz::cv::cvTermInfo ( const std::string &  id)
PWIZ_API_DECL bool pwiz::cv::cvIsA ( CVID  child,
CVID  parent 
)

returns true iff child IsA parent in the CV

Referenced by EvenMS2Predicate::accept(), pwiz::data::CVParamIsChildOf::operator()(), and testIsA().

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

returns vector of all valid CVIDs