QuasiKeywordMap Struct Reference


Public Member Functions

 QuasiKeywordMap ()
void add (std::string qkwd)
 Given a keyword, make sure there is a kwMap entry for it.
void remove (std::string qkwd)
 Remove a keyword occurrence, deleting the entry if this is the last such occurrence.
QuasiKeywordoperator[] (std::string theKey)
bool contains (std::string theKey)
size_t erase (std::string theKey)

Data Fields

std::map< std::string, QuasiKeywordtheMap

Detailed Description

Definition at line 164 of file MixFix.cxx.


Constructor & Destructor Documentation

QuasiKeywordMap::QuasiKeywordMap (  )  [inline]

Definition at line 167 of file MixFix.cxx.


Member Function Documentation

void QuasiKeywordMap::add ( std::string  qkwd  ) 

Given a keyword, make sure there is a kwMap entry for it.

Definition at line 538 of file MixFix.cxx.

References contains(), and theMap.

Referenced by MixContext::add().

bool QuasiKeywordMap::contains ( std::string  theKey  )  [inline]

Definition at line 179 of file MixFix.cxx.

References theMap.

Referenced by add(), MixContext::isKwd(), and remove().

size_t QuasiKeywordMap::erase ( std::string  theKey  )  [inline]

Definition at line 184 of file MixFix.cxx.

References theMap.

QuasiKeyword& QuasiKeywordMap::operator[] ( std::string  theKey  )  [inline]

Definition at line 174 of file MixFix.cxx.

References theMap.

void QuasiKeywordMap::remove ( std::string  qkwd  ) 

Remove a keyword occurrence, deleting the entry if this is the last such occurrence.

Definition at line 551 of file MixFix.cxx.

References contains(), and theMap.

Referenced by MixContext::remove().


Field Documentation

std::map<std::string, QuasiKeyword> QuasiKeywordMap::theMap

Definition at line 165 of file MixFix.cxx.

Referenced by add(), contains(), erase(), operator[](), and remove().


The documentation for this struct was generated from the following file:
Generated on Fri May 18 07:59:18 2012 for BitC Compiler by  doxygen 1.4.7