NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CKeywordParser Class Reference

Search Toolkit Book for CKeywordParser

#include "keyword_parse.hpp"
(Private to src/objtools/flatfile.)

+ Collaboration diagram for CKeywordParser:

Public Member Functions

 CKeywordParser (Parser::EFormat format)
 
 ~CKeywordParser ()
 
const list< stringKeywordList () 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< stringmKeywords
 
string mPending
 
bool mDataFinal
 
bool mDataClean
 

Detailed Description

Definition at line 46 of file keyword_parse.hpp.

Constructor & Destructor Documentation

◆ CKeywordParser()

CKeywordParser::CKeywordParser ( Parser::EFormat  format)

Definition at line 43 of file keyword_parse.cpp.

References xInitialize().

◆ ~CKeywordParser()

CKeywordParser::~CKeywordParser ( )

Definition at line 51 of file keyword_parse.cpp.

Member Function Documentation

◆ AddDataLine()

void CKeywordParser::AddDataLine ( const string line)

◆ Cleanup()

void CKeywordParser::Cleanup ( )

◆ KeywordList()

const list< string > CKeywordParser::KeywordList ( ) const

Definition at line 66 of file keyword_parse.cpp.

References mKeywords.

Referenced by EmblIndex(), GetDescrEmblBlock(), and GetEmblGBBlock().

◆ xCleanupFixWgsThirdPartyData()

void CKeywordParser::xCleanupFixWgsThirdPartyData ( )
private

Definition at line 157 of file keyword_parse.cpp.

References mKeywords.

Referenced by Cleanup().

◆ xCleanupStripEco()

void CKeywordParser::xCleanupStripEco ( )
private

Definition at line 136 of file keyword_parse.cpp.

References mKeywords.

Referenced by Cleanup().

◆ xFinalize()

void CKeywordParser::xFinalize ( )
private

◆ xInitialize()

void CKeywordParser::xInitialize ( )
private

Definition at line 56 of file keyword_parse.cpp.

References mDataClean, mDataFinal, mKeywords, and mPending.

Referenced by AddDataLine(), and CKeywordParser().

Member Data Documentation

◆ mDataClean

bool CKeywordParser::mDataClean
private

Definition at line 72 of file keyword_parse.hpp.

Referenced by Cleanup(), and xInitialize().

◆ mDataFinal

bool CKeywordParser::mDataFinal
private

Definition at line 71 of file keyword_parse.hpp.

Referenced by AddDataLine(), Cleanup(), xFinalize(), and xInitialize().

◆ mFormat

Parser::EFormat CKeywordParser::mFormat
private

Definition at line 67 of file keyword_parse.hpp.

Referenced by AddDataLine(), and Cleanup().

◆ mKeywords

list<string> CKeywordParser::mKeywords
private

◆ mPending

string CKeywordParser::mPending
private

Definition at line 70 of file keyword_parse.hpp.

Referenced by AddDataLine(), xFinalize(), and xInitialize().


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:40 2024 by modify_doxy.py rev. 669887