|
| TaNameSet (void) |
|
| TaNameSet (const TaNameSet &rOtherSet) |
|
| TaNameSet (const NameSet &rOtherSet) |
|
| TaNameSet (const std::string &rFilename, const std::string &rLabel="") |
|
virtual | ~TaNameSet (void) |
|
virtual TaNameSet & | Assign (const TBaseSet< Idx > &rSrc) |
|
TaNameSet & | operator= (const NameSet &rSrc) |
|
virtual bool | Insert (const Idx &rIndex) |
|
virtual bool | Insert (const Idx &rIndex, const Attr &rAttr) |
|
virtual Idx | Insert (const std::string &rName) |
|
virtual Idx | Insert (const std::string &rName, const Attr &rAttr) |
|
virtual void | InsertSet (const NameSet &rOtherSet) |
|
virtual void | InsertSet (const TBaseSet< Idx > &rOtherSet) |
|
virtual bool | Erase (const Idx &rIndex) |
|
virtual bool | Erase (const std::string &rName) |
|
virtual NameSet::Iterator | Erase (const Iterator &pos) |
|
virtual void | EraseSet (const NameSet &rOtherSet) |
|
virtual void | EraseSet (const TBaseSet< Idx > &rOtherSet) |
|
virtual void | RestrictSet (const NameSet &rOtherSet) |
|
virtual void | RestrictSet (const TBaseSet< Idx > &rOtherSet) |
|
virtual void | Attributes (const TBaseSet< Idx > &rOtherSet) |
|
std::string | Str (const Idx &rIndex) const |
|
const Attr * | AttributeType (void) const |
|
Attr * | Attributep (const Idx &rElem) |
|
const Attr & | Attribute (const Idx &rElem) const |
|
void | Attribute (const Idx &rElem, const Attr &rAttr) |
|
void | Attribute (const Idx &rElem, const Type &rAttr) |
|
void | AttributeTry (const Idx &rElem, const Type &rAttr) |
|
const Attr & | Attribute (const std::string &rName) const |
|
Attr * | Attributep (const std::string &rName) |
|
void | Attribute (const std::string &rName, const Attr &rAttr) |
|
void | Attribute (const std::string &rName, const Type &rAttr) |
|
| NameSet (void) |
|
| NameSet (const NameSet &rOtherSet) |
|
| NameSet (const std::string &rFilename, const std::string &rLabel="") |
|
virtual | ~NameSet (void) |
|
SymbolTable * | SymbolTablep (void) const |
|
void | SymbolTablep (SymbolTable *pSymTab) |
|
bool | Insert (const Idx &rIndex) |
|
Idx | Insert (const std::string &rName) |
|
void | EraseSet (const NameSet &rOtherSet) |
|
void | RestrictSet (const NameSet &rOtherSet) |
|
void | SymbolicName (Idx index, const std::string &rName) |
|
void | SymbolicName (const std::string &rName, const std::string &rNewName) |
|
std::string | SymbolicName (Idx index) const |
|
Idx | Index (const std::string &rName) const |
|
bool | Exists (const Idx &rIndex) const |
|
bool | Exists (const std::string &rName) const |
|
NameSet::Iterator | Find (const Idx &rIndex) const |
|
NameSet::Iterator | Find (const std::string &rName) const |
|
NameSet | operator+ (const NameSet &rOtherSet) const |
|
NameSet | operator- (const NameSet &rOtherSet) const |
|
NameSet | operator* (const NameSet &rOtherSet) const |
|
bool | operator<= (const NameSet &rOtherSet) const |
|
bool | operator>= (const NameSet &rOtherSet) const |
|
std::string | Str (const Idx &rIndex) const |
|
| TBaseSet (void) |
|
| TBaseSet (const TBaseSet &rOtherSet) |
|
| TBaseSet (const std::string &rFilename, const std::string &rLabel="BaseSet") |
|
virtual | ~TBaseSet (void) |
|
const std::string & | Name (void) const |
|
void | Name (const std::string &rName) |
|
virtual void | Clear (void) |
|
Idx | Size (void) const |
|
bool | Empty (void) const |
|
virtual std::string | Str (const Idx &rElem) const |
|
Iterator | Begin (void) const |
|
Iterator | End (void) const |
|
virtual bool | Valid (const Idx &rElem) const |
|
virtual bool | Erase (const Idx &rElem) |
|
virtual Iterator | Erase (const Iterator &pos) |
|
virtual void | EraseSet (const TBaseSet &rOtherSet) |
|
virtual void | RestrictSet (const TBaseSet &rOtherSet) |
|
virtual bool | Disjoint (const TBaseSet &rOtherSet) const |
|
virtual bool | Insert (const Idx &rElem) |
|
virtual Iterator | Inject (const Iterator &pos, const Idx &rElem) |
|
virtual void | Inject (const Idx &rElem) |
|
virtual void | InsertSet (const TBaseSet &rOtherSet) |
|
bool | Exists (const Idx &rElem) const |
|
Iterator | Find (const Idx &rElem) const |
|
TBaseSet | operator+ (const TBaseSet &rOtherSet) const |
|
TBaseSet | operator- (const TBaseSet &rOtherSet) const |
|
TBaseSet | operator* (const TBaseSet &rOtherSet) const |
|
bool | operator<= (const TBaseSet &rOtherSet) const |
|
bool | operator>= (const TBaseSet &rOtherSet) const |
|
bool | operator< (const TBaseSet &rOtherSet) const |
|
void | DValid (const std::string &rMessage="") const |
|
void | Detach (DetachMode flag=AttrIncl) const |
|
void | Lock (void) const |
|
virtual bool | AttributeTest (const Type &rAttr) const |
|
virtual TBaseSet & | AssignWithoutAttributes (const TBaseSet &rSourceSet) |
|
virtual void | Attributes (const TBaseSet &rOtherSet) |
|
Idx | AttributesSize (void) const |
|
void | ClearAttributes (void) |
|
bool | EqualAttributes (const TBaseSet &rOtherSet) const |
|
virtual AttributeVoid * | Attributep (const Idx &rElem) |
|
virtual const AttributeVoid & | Attribute (const Idx &rElem) const |
|
virtual void | Attribute (const Idx &rElem, const Type &rAttr) |
|
virtual void | ClrAttribute (const Idx &rElem) |
|
virtual void | XElementTag (const std::string &rTag) |
|
virtual const std::string & | TypeName (void) const |
|
virtual void | TypeName (const std::string &rType) |
|
Type & | operator= (const Type &rSrc) |
|
bool | operator== (const Type &rOther) const |
|
bool | operator!= (const Type &rOther) const |
|
| Type (void) |
|
| Type (const Type &rType) |
|
virtual | ~Type (void) |
|
virtual Type * | New (void) const |
|
virtual Type * | Copy (void) const |
|
virtual const Type * | Cast (const Type *pOther) const |
|
virtual Type & | Assign (const Type &rSrc) |
|
Type & | operator= (const Type &rSrc) |
|
virtual bool | Equal (const Type &rOther) const |
|
bool | operator== (const Type &rOther) const |
|
bool | operator!= (const Type &rOther) const |
|
void | Write (const Type *pContext=0) const |
|
void | Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
|
void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
|
void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
|
void | XWrite (const Type *pContext=0) const |
|
void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
|
std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
|
void | DWrite (const Type *pContext=0) const |
|
void | DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
|
void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
void | SWrite (TokenWriter &rTw) const |
|
void | SWrite (void) const |
|
std::string | ToSText (void) const |
|
void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
|
void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
|
void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
|
| TAttrMap (TBaseSet< Idx, std::less< Idx > > *pBaseSetRef) |
|
virtual | ~TAttrMap (void) |
|
void | AssignWithAttributes (const TBaseSet< Idx, std::less< Idx > > &rSourceSet) |
|
const Attr * | AttributeType (void) const |
|
Attr * | Attributep (const Idx &rElem) |
|
const Attr & | Attribute (const Idx &rElem) const |
|
void | Attribute (const Idx &rElem, const Type &attr) |
|
void | Attribute (const Idx &rElem, const Attr &attr) |
|
void | AttributeTry (const Idx &rElem, const Type &attr) |
|
bool | Insert (const Idx &rElem) |
|
bool | Insert (const Idx &rElem, const Attr &attr) |
|
void | InsertSet (const TBaseSet< Idx, std::less< Idx > > &rOtherSet) |
|
bool | Erase (const Idx &rElem) |
|
TBaseSet< Idx, std::less< Idx > >::Iterator | Erase (const typename TBaseSet< Idx, std::less< Idx > >::Iterator &pos) |
|
void | EraseSet (const TBaseSet< Idx, std::less< Idx > > &rOtherSet) |
|
void | RestrictSet (const TBaseSet< Idx, std::less< Idx > > &rOtherSet) |
|
template<class Attr>
class faudes::TaNameSet< Attr >
Set of indices with symbolic names and attributes.
This class is derived from NameSet and the interface TAttrMap.
The file format is demonstrated by the following example of a set "Alphabet" consisting of events "alpha", "beta" and "gamma" with "gamma" having some attribute (see eg AtributeFlags)
"alpha"
"beta"
"gamma" 0x0f
TaNameSet< AttributeCFlags > Alphabet
As with TBaseSet, reading a file silently ignores unknown attributes. Thus, the above example may also be read as NameSet.
Definition at line 566 of file cfl_nameset.h.