| |
libFAUDES
Sections
Index
|
faudes::SymbolSet Class Reference |
Public Types | |
typedef TBaseSet< std::string > ::Iterator | Iterator |
Iterators on indexset. | |
Public Member Functions | |
SymbolSet (void) | |
Constructor. | |
SymbolSet (const TBaseSet< std::string > &rOtherSet) | |
Copy-constructor. | |
SymbolSet (const std::string &rFilename, const std::string &rLabel="SymbolSet") | |
Construct from file. | |
virtual SymbolSet & | operator= (const SymbolSet &rSrc) |
Assignment operator (fake copy). | |
virtual | ~SymbolSet (void) |
Virtual destructor. | |
bool | Valid (const std::string &symbol) const |
Test whether the given string is a valid faudes symbol. | |
bool | Insert (const std::string &symbol) |
Insert specified symbol. | |
Idx | Signature (void) const |
Compute an Idx type signature for a Set. | |
std::string | Str (const std::string &symbol) const |
Return pretty printable symbol. | |
Protected Member Functions | |
void | DoWrite (TokenWriter &tw, const std::string &rLabel="", const Type *pContext=0) const |
Write to TokenWriter, see TBaseSet for public wrappers. | |
void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
Read from TokenReader, see TBaseSet for public wrappers. |
typedef TBaseSet<std::string>::Iterator faudes::SymbolSet::Iterator |
Iterators on indexset.
faudes::SymbolSet::SymbolSet | ( | void | ) |
Constructor.
faudes::SymbolSet::SymbolSet | ( | const TBaseSet< std::string > & | rOtherSet | ) |
Copy-constructor.
faudes::SymbolSet::SymbolSet | ( | const std::string & | rFilename, | |
const std::string & | rLabel = "SymbolSet" | |||
) |
virtual faudes::SymbolSet::~SymbolSet | ( | void | ) | [inline, virtual] |
Virtual destructor.
Assignment operator (fake copy).
rSrc | Source from which to assign |
bool faudes::SymbolSet::Valid | ( | const std::string & | symbol | ) | const [virtual] |
Test whether the given string is a valid faudes symbol.
symbol | Symbol to test |
Reimplemented from faudes::TBaseSet< std::string >.
bool faudes::SymbolSet::Insert | ( | const std::string & | symbol | ) | [virtual] |
Insert specified symbol.
symbol | Symbol to insert |
Reimplemented from faudes::TBaseSet< std::string >.
Idx faudes::SymbolSet::Signature | ( | void | ) | const [inline] |
Compute an Idx type signature for a Set.
This method is currently not implemented.
std::string faudes::SymbolSet::Str | ( | const std::string & | symbol | ) | const [inline] |
void faudes::SymbolSet::DoWrite | ( | TokenWriter & | tw, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | const [protected, virtual] |
Write to TokenWriter, see TBaseSet for public wrappers.
tw | Reference to TokenWriter | |
rLabel | Label of section to write, defaults to name of set | |
pContext | Write context for contextual information |
Exception |
|
Reimplemented from faudes::TBaseSet< std::string >.
void faudes::SymbolSet::DoRead | ( | TokenReader & | rTr, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | [protected, virtual] |
Read from TokenReader, see TBaseSet for public wrappers.
rTr | Reference to tokenreader | |
rLabel | Section to read | |
pContext | Read context for contextual information |
Exception |
|
Reimplemented from faudes::TBaseSet< std::string >.
libFAUDES 2.13a c++ source docu by doxygen 1.5.6