translates text to CV terms  
 More...
#include <CVTranslator.hpp>
List of all members.
| 
Public Member Functions | 
|  | CVTranslator () | 
|  | constructor – dictionary includes all CV term names and exact_synonyms 
 | 
| void | insert (const std::string &text, cv::CVID cvid) | 
|  | insert a text-cvid pair into the dictionary 
 | 
| cv::CVID | translate (const std::string &text) const | 
|  | translate text -> CVID 
 | 
| 
Private Attributes | 
| boost::shared_ptr< Impl > | impl_ | 
Detailed Description
translates text to CV terms 
Definition at line 39 of file CVTranslator.hpp.
Constructor & Destructor Documentation
      
        
          | pwiz::data::CVTranslator::CVTranslator | ( |  | ) |  | 
      
 
constructor – dictionary includes all CV term names and exact_synonyms 
 
 
Member Function Documentation
      
        
          | void pwiz::data::CVTranslator::insert | ( | const std::string & | text, | 
        
          |  |  | cv::CVID | cvid | 
        
          |  | ) |  |  | 
      
 
insert a text-cvid pair into the dictionary 
Referenced by test().
 
 
      
        
          | cv::CVID pwiz::data::CVTranslator::translate | ( | const std::string & | text | ) | const | 
      
 
 
Member Data Documentation
  
  | 
        
          | boost::shared_ptr<Impl> pwiz::data::CVTranslator::impl_ |  | private | 
 
 
The documentation for this class was generated from the following file: