stl
More...
Detailed Description
Member Typedef Documentation
ReplacementMap key: [to find string] value: [replace with string].
Constructor & Destructor Documentation
| DtStringReplacementTable::DtStringReplacementTable |
( |
| ) |
|
| virtual DtStringReplacementTable::~DtStringReplacementTable |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void DtStringReplacementTable::add |
( |
const DtString & |
toFind, |
|
|
const DtString & |
replaceWith |
|
) |
| |
|
virtual |
add() Inserts an entry, indicating that "toFind" should be replaced by "replaceWith".
If "toFind" already exists in the map, it will be overwritten with the new information.
| virtual void DtStringReplacementTable::clear |
( |
| ) |
|
|
virtual |
| virtual const DtFilename& DtStringReplacementTable::filename |
( |
| ) |
const |
|
virtual |
| virtual void DtStringReplacementTable::setFilename |
( |
const DtFilename & |
fn | ) |
|
|
virtual |
| virtual const DtString& DtStringReplacementTable::findReplacementFor |
( |
const DtString & |
sToFind | ) |
|
|
virtual |
findReplacementFor() Searches myReplacementMap for an entry keyed by sToReplace If found, returns the substitution.
If not, returns sToReplace
| virtual bool DtStringReplacementTable::readFile |
( |
| ) |
|
|
virtual |
| virtual bool DtStringReplacementTable::readFile |
( |
const DtFilename & |
fn | ) |
|
|
virtual |
| virtual void DtStringReplacementTable::remove |
( |
const DtString & |
toFind | ) |
|
|
virtual |
Member Data Documentation
| DtFilename DtStringReplacementTable::myFilename |
|
protected |
The documentation for this class was generated from the following file: