NCBI C++ ToolKit
|
Search Toolkit Book for CKeywordParser
#include "keyword_parse.hpp"
(Private to src/objtools/flatfile
.)
Public Member Functions | |
CKeywordParser (Parser::EFormat format) | |
~CKeywordParser () | |
const list< string > | KeywordList () const |
void | AddDataLine (const string &line) |
void | Cleanup () |
Private Member Functions | |
void | xInitialize () |
void | xFinalize () |
void | xCleanupStripEco () |
void | xCleanupFixWgsThirdPartyData () |
Private Attributes | |
Parser::EFormat | mFormat |
list< string > | mKeywords |
string | mPending |
bool | mDataFinal |
bool | mDataClean |
Definition at line 46 of file keyword_parse.hpp.
CKeywordParser::CKeywordParser | ( | Parser::EFormat | format | ) |
Definition at line 43 of file keyword_parse.cpp.
References xInitialize().
CKeywordParser::~CKeywordParser | ( | ) |
Definition at line 51 of file keyword_parse.cpp.
Definition at line 73 of file keyword_parse.cpp.
References data, Parser::EMBL, NStr::EndsWith(), mDataFinal, mFormat, mPending, NStr::TruncateSpaces(), xFinalize(), and xInitialize().
Referenced by EmblIndex().
void CKeywordParser::Cleanup | ( | ) |
Definition at line 119 of file keyword_parse.cpp.
References mDataClean, mDataFinal, mFormat, Parser::SPROT, xCleanupFixWgsThirdPartyData(), and xCleanupStripEco().
Referenced by GetDescrEmblBlock(), and GetEmblGBBlock().
Definition at line 66 of file keyword_parse.cpp.
References mKeywords.
Referenced by EmblIndex(), GetDescrEmblBlock(), and GetEmblGBBlock().
|
private |
|
private |
|
private |
Definition at line 106 of file keyword_parse.cpp.
References mDataFinal, mKeywords, mPending, NStr::Split(), NStr::TrimSuffixInPlace(), and NStr::TruncateSpaces().
Referenced by AddDataLine().
|
private |
Definition at line 56 of file keyword_parse.cpp.
References mDataClean, mDataFinal, mKeywords, and mPending.
Referenced by AddDataLine(), and CKeywordParser().
|
private |
Definition at line 72 of file keyword_parse.hpp.
Referenced by Cleanup(), and xInitialize().
|
private |
Definition at line 71 of file keyword_parse.hpp.
Referenced by AddDataLine(), Cleanup(), xFinalize(), and xInitialize().
|
private |
Definition at line 67 of file keyword_parse.hpp.
Referenced by AddDataLine(), and Cleanup().
|
private |
Definition at line 68 of file keyword_parse.hpp.
Referenced by KeywordList(), xCleanupFixWgsThirdPartyData(), xCleanupStripEco(), xFinalize(), and xInitialize().
|
private |
Definition at line 70 of file keyword_parse.hpp.
Referenced by AddDataLine(), xFinalize(), and xInitialize().