Classes |
Public Member Functions |
Protected Types |
Protected Member Functions |
Protected Attributes |
Static Protected Attributes |
Private Attributes |
Friends |
List of all members
faudes::TBaseSet< T, Cmp > Class Template Reference STL style set template. More...
Detailed Descriptiontemplate<class T, class Cmp = std::less<T>>
|
|
protected |
STL attribute iterator, non-const version.
Definition at line 945 of file cfl_baseset.h.
|
protected |
STL attribute iterator, const version.
Definition at line 948 of file cfl_baseset.h.
|
protected |
STL iterator, const version.
Definition at line 931 of file cfl_baseset.h.
|
protected |
STL iterator, non-const version.
Definition at line 928 of file cfl_baseset.h.
faudes::TBaseSet< T, Cmp >::TBaseSet | ( | void | ) |
Constructor.
Definition at line 1197 of file cfl_baseset.h.
faudes::TBaseSet< T, Cmp >::TBaseSet | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) |
Copy-constructor.
rOtherSet | Source to copy from |
Definition at line 1237 of file cfl_baseset.h.
faudes::TBaseSet< T, Cmp >::TBaseSet | ( | const std::string & | rFilename, |
const std::string & | rLabel = "BaseSet" |
||
) |
Constructor from file.
This constructor indicates the intended interface for derived classes. The base set itself cannot read from token streams.
rFilename | Name of File |
rLabel | Section for the set in the file; |
Definition at line 1216 of file cfl_baseset.h.
|
virtual |
Virtual destructor.
Definition at line 1259 of file cfl_baseset.h.
|
inlinevirtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to ignore any attributes. The TBaseSet itself has no attributes, so it calls its Assign method that ignores attributes anyway.
rSourceSet | Set to copy from |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 703 of file cfl_baseset.h.
|
inlineprotected |
Record that we provide contents to some other BaseSet.
Definition at line 1537 of file cfl_baseset.h.
|
inlineprotected |
Record that an iterator refers to this TBaseSet.
Definition at line 1587 of file cfl_baseset.h.
|
virtual |
Attribute typeinfo.
This virtual function provides an interface for derived container classes with attributes eg TaIndexSet. When not re-implemented, it returns an attribute with type AttributeVoid to
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 2224 of file cfl_baseset.h.
|
virtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet has no attributes and thus returns a void attribute. Derived classes that provide attributes are meant to return the attribute specified by rElem.
rElem | Element of which the attribute is requested |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2240 of file cfl_baseset.h.
|
virtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet itself has void attributes and thus formally accepts any nontrivial attribute, however, ignoring any value. Derived classes that provide attributes are meant to set the attribute as specified. Only if the required cast to the actual attribute type fails an exception is thrown.
rElem | Element of which the attribute is to be set |
rAttr | Attribute value to set. |
Exception |
|
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2247 of file cfl_baseset.h.
|
virtual |
Attribute typeinfo.
This virtual function provides an interface for derived container classes with attributes eg TaIndexSet. When not re-implemented, it returns an attribute with type AttributeVoid to indicate the absence of nontrivial attributes
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 2218 of file cfl_baseset.h.
|
virtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet has no attributes and thus throws an exception. Derived classes that provide attributes are meant to return a pointer to the attribute specified by rElem.
rElem | Element of which the attribute is requested |
Exception |
|
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2230 of file cfl_baseset.h.
|
inlinevirtual |
Attributes access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to copy attributes from the specified set. The TBaseSet itself has no attributes and thus this function does nothing.
rOtherSet | Other BaseSet |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 714 of file cfl_baseset.h.
|
inlinevirtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to provide the number of explicit attributes. The TBaseSet itself has no attributes and thus this function returns 0.
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 723 of file cfl_baseset.h.
|
inlinevirtual |
Attribute typeinfo.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to test whether this set accepts the specified attribute type ie whether it can be casted. When not re-implemented, the set accepts any attributes derived from attribute void.
rAttr | Attribute type to test. |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 692 of file cfl_baseset.h.
|
inlinevirtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to try to set the attribute as specified if the type can be casted. Otherwise it does nothing.
rElem | Element of which the attribute is to be set |
rAttr | Attribute value to set. |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 798 of file cfl_baseset.h.
|
inline |
Iterator to the begin of set.
Reimplemented in faudes::TTransSet< Cmp >, and faudes::TTransSet< TransSort::X1EvX2 >.
Definition at line 1886 of file cfl_baseset.h.
|
virtual |
Clear all set.
Reimplemented from faudes::Type.
Reimplemented in faudes::TaTransSet< Attr >, faudes::TaIndexSet< Attr >, faudes::TaIndexSet< DiagLabelSet >, faudes::TaIndexSet< HioStateFlags >, faudes::TaIndexSet< StateAttr >, faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 1897 of file cfl_baseset.h.
|
inlinevirtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet itself has no attributes and thus this function does nothing.
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 730 of file cfl_baseset.h.
|
inlinevirtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to set the attribute of the specified element to the default value. The TBaseSet itself has no attributes and thus this function does nothing.
rElem | Element of which the attribute is to be cleared |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 808 of file cfl_baseset.h.
|
virtual |
Detach from extern storage (incl allocation and true copy)
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >, faudes::TaBaseSet< Idx, AttributeSimplenetEvent >, faudes::TaBaseSet< Transition, Attr, TransSort::X1EvX2 >, faudes::TaBaseSet< Idx, EventAttr >, faudes::TaBaseSet< Idx, HioEventFlags >, faudes::TaBaseSet< Idx, AttributeSignalEvent >, faudes::TaBaseSet< Idx, DiagLabelSet >, faudes::TaBaseSet< Idx, StateAttr >, faudes::TaBaseSet< Idx, AttributeFailureEvents >, faudes::TaBaseSet< Idx, AttributeSimCondition >, faudes::TaBaseSet< Idx, SimEventAttribute >, faudes::TaBaseSet< Idx, HioStateFlags >, and faudes::TaBaseSet< Idx, Attr >.
Definition at line 1336 of file cfl_baseset.h.
|
inlineprotected |
Record that we stop providing data for some TBaseSet.
Definition at line 1545 of file cfl_baseset.h.
|
inlineprotected |
Record that an iterator stops to refer to this TBaseSet.
Definition at line 1594 of file cfl_baseset.h.
|
protectedvirtual |
assign my members
Definition at line 1283 of file cfl_baseset.h.
|
protectedvirtual |
Token output, debugging see Type::DWrite for public wrappers.
Reimplement this function in derived classes for specific specific template parameters.
rTw | Reference to TokenWriter |
rLabel | Label of section to write, defaults to name of set |
pContext | Write context to provide contextual information |
Reimplemented from faudes::Type.
Reimplemented in faudes::NameSet.
Definition at line 1837 of file cfl_baseset.h.
|
protectedvirtual |
test equality
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2191 of file cfl_baseset.h.
|
protectedvirtual |
Token input, see Type::Read for public wrappers.
Reimplement this function in derived classes for specific specific template parameters. By convention, the default label "" should be translated to some meaningful default, eg "IndexSet" for a set of indices". The pContext pointer can de type-checked and interpreted, ie as a symboltable to provide symbolic names. It is also passed on to attributes.
rTr | Reference to TokenReader |
rLabel | Label of section to read, defaults to name of set |
pContext | Read context to provide contextual information |
Reimplemented from faudes::Type.
Reimplemented in faudes::NameSet, faudes::IndexSet, and faudes::SymbolSet.
Definition at line 1870 of file cfl_baseset.h.
|
protectedvirtual |
Token output, see Type::SWrite for public wrappers.
Statistics include size, name and attributey type. The latter is retrieved from the RTI, if initialized. Dereived sets may reimplement this method.
rTw | Reference to TokenWriter |
Reimplemented from faudes::Type.
Definition at line 1855 of file cfl_baseset.h.
|
protectedvirtual |
Token output, see Type::DWrite for public wrappers.
Reimplement this function in derived classes for specific specific template parameters. By convention, the default label "" should be translated to a) the name of the set or b) some meaningful default, eg "IndexSet" for a set of indices. The pContext pointer can de type-checked and interpreted, ie as a symboltable to provide symbolic names. It is also passed on to attributes.
rTw | Reference to TokenWriter |
rLabel | Label of section to write, defaults to name of set |
pContext | Write context to provide contextual information |
Reimplemented from faudes::Type.
Reimplemented in faudes::TTransSet< Cmp >, faudes::TTransSet< TransSort::X1EvX2 >, faudes::NameSet, faudes::IndexSet, and faudes::SymbolSet.
Definition at line 1825 of file cfl_baseset.h.
void faudes::TBaseSet< T, Cmp >::DValid | ( | const std::string & | rMessage = "" | ) | const |
Some validation of deferred copy mechanism (provoke abort)
Definition at line 1601 of file cfl_baseset.h.
bool faudes::TBaseSet< T, Cmp >::Empty | ( | void | ) | const |
Test whether if the TBaseSet is Empty.
Definition at line 1819 of file cfl_baseset.h.
|
inline |
Iterator to the end of set.
Reimplemented in faudes::TTransSet< Cmp >, and faudes::TTransSet< TransSort::X1EvX2 >.
Definition at line 1891 of file cfl_baseset.h.
|
inlinevirtual |
Attribute access.
This virtual function provides an interface for derived classes with attributes eg TaIndexSet. Derived classes that provide attributes are meant to return true if attributes match for shared elements. The base set returns true as a default.
rOtherSet | Other object to compare with. |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 742 of file cfl_baseset.h.
|
virtual |
Erase element by reference.
rElem | Element to erase |
Reimplemented in faudes::TaTransSet< Attr >, faudes::TaNameSet< Attr >, faudes::TaNameSet< AttributeSimCondition >, faudes::TaNameSet< AttributeFailureEvents >, faudes::TaNameSet< EventAttr >, faudes::TaNameSet< HioEventFlags >, faudes::TaNameSet< AttributeSignalEvent >, faudes::TaNameSet< SimEventAttribute >, faudes::TaNameSet< AttributeSimplenetEvent >, faudes::TaIndexSet< Attr >, faudes::TaIndexSet< DiagLabelSet >, faudes::TaIndexSet< HioStateFlags >, faudes::TaIndexSet< StateAttr >, faudes::TaBaseSet< T, Attr, Cmp >, faudes::TTransSet< Cmp >, faudes::TTransSet< TransSort::X1EvX2 >, and faudes::NameSet.
Definition at line 2010 of file cfl_baseset.h.
|
virtual |
Erase element by iterator.
pos | Iterator to specify element |
Reimplemented in faudes::TaTransSet< Attr >, faudes::TaNameSet< Attr >, faudes::TaNameSet< AttributeSimCondition >, faudes::TaNameSet< AttributeFailureEvents >, faudes::TaNameSet< EventAttr >, faudes::TaNameSet< HioEventFlags >, faudes::TaNameSet< AttributeSignalEvent >, faudes::TaNameSet< SimEventAttribute >, faudes::TaNameSet< AttributeSimplenetEvent >, faudes::TaIndexSet< Attr >, faudes::TaIndexSet< DiagLabelSet >, faudes::TaIndexSet< HioStateFlags >, faudes::TaIndexSet< StateAttr >, and faudes::NameSet.
Definition at line 2017 of file cfl_baseset.h.
|
virtual |
Erase elements given by other set.
rOtherSet | Set of elements to erase |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2033 of file cfl_baseset.h.
bool faudes::TBaseSet< T, Cmp >::Exists | ( | const T & | rElem | ) | const |
Test existence of element.
rElem | Element to test |
Reimplemented in faudes::TTransSet< Cmp >, faudes::TTransSet< TransSort::X1EvX2 >, and faudes::NameSet.
Definition at line 2085 of file cfl_baseset.h.
TBaseSet< T, Cmp >::Iterator faudes::TBaseSet< T, Cmp >::Find | ( | const T & | rElem | ) | const |
Find element and return iterator.
rElem | Element to find |
Reimplemented in faudes::TTransSet< Cmp >, faudes::TTransSet< TransSort::X1EvX2 >, and faudes::NameSet.
Definition at line 2080 of file cfl_baseset.h.
|
protected |
Implementation of difference.
Definition at line 2149 of file cfl_baseset.h.
|
protected |
Implementation of intersection.
Definition at line 2159 of file cfl_baseset.h.
|
protected |
|
virtual |
Insert specified element.
pos | Insertion hint passed to STL |
rElem | Element to insert |
Definition at line 1964 of file cfl_baseset.h.
|
virtual |
Insert specified element.
rElem | Element to insert |
Reimplemented in faudes::TTransSet< Cmp >, and faudes::TTransSet< TransSort::X1EvX2 >.
Definition at line 1972 of file cfl_baseset.h.
|
virtual |
Insert specified element.
rElem | Element to insert |
Reimplemented in faudes::TaTransSet< Attr >, faudes::TaNameSet< Attr >, faudes::TaNameSet< AttributeSimCondition >, faudes::TaNameSet< AttributeFailureEvents >, faudes::TaNameSet< EventAttr >, faudes::TaNameSet< HioEventFlags >, faudes::TaNameSet< AttributeSignalEvent >, faudes::TaNameSet< SimEventAttribute >, faudes::TaNameSet< AttributeSimplenetEvent >, faudes::TaIndexSet< Attr >, faudes::TaIndexSet< DiagLabelSet >, faudes::TaIndexSet< HioStateFlags >, faudes::TaIndexSet< StateAttr >, faudes::TaBaseSet< T, Attr, Cmp >, faudes::TTransSet< Cmp >, faudes::TTransSet< TransSort::X1EvX2 >, faudes::IndexSet, faudes::NameSet, and faudes::SymbolSet.
Definition at line 1951 of file cfl_baseset.h.
|
virtual |
Insert elements given by rOtherSet.
rOtherSet | Set of elements to insert |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 1978 of file cfl_baseset.h.
|
virtual |
Detach and lock any further reallocation.
Definition at line 1457 of file cfl_baseset.h.
|
virtual |
Return name of TBaseSet.
Reimplemented from faudes::Type.
Definition at line 1750 of file cfl_baseset.h.
|
virtual |
Set name of TBaseSet.
rName | Name to set |
Reimplemented from faudes::Type.
Definition at line 1755 of file cfl_baseset.h.
TBaseSet< T, Cmp > faudes::TBaseSet< T, Cmp >::operator* | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) | const |
TBaseSet< T, Cmp > faudes::TBaseSet< T, Cmp >::operator+ | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) | const |
TBaseSet< T, Cmp > faudes::TBaseSet< T, Cmp >::operator- | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) | const |
bool faudes::TBaseSet< T, Cmp >::operator< | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) | const |
Order for sorting containers of TBaseSet.
Definition at line 2212 of file cfl_baseset.h.
bool faudes::TBaseSet< T, Cmp >::operator<= | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) | const |
Test for subset.
Definition at line 2200 of file cfl_baseset.h.
bool faudes::TBaseSet< T, Cmp >::operator>= | ( | const TBaseSet< T, Cmp > & | rOtherSet | ) | const |
Test for superset.
Definition at line 2206 of file cfl_baseset.h.
|
inlineprotected |
Ensure that we do not host contents to anyone else.
Definition at line 1488 of file cfl_baseset.h.
|
virtual |
Restrict elements given by other set.
rOtherSet | Set of elements to keep |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2055 of file cfl_baseset.h.
|
virtual |
Set Intersection, result is stored in this set.
rOtherSet | Other TBaseSet |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2116 of file cfl_baseset.h.
|
virtual |
Set Union, result is accumulated in this set.
rOtherSet | Other TBaseSet |
Reimplemented in faudes::TaBaseSet< T, Attr, Cmp >.
Definition at line 2091 of file cfl_baseset.h.
Idx faudes::TBaseSet< T, Cmp >::Size | ( | void | ) | const |
Get Size of TBaseSet.
Definition at line 1814 of file cfl_baseset.h.
|
virtual |
Return pretty printable element.
Reimplement this method for derived classes.
rElem | Element to print |
Reimplemented in faudes::TTransSet< Cmp >, faudes::TTransSet< TransSort::X1EvX2 >, faudes::TaNameSet< Attr >, faudes::TaNameSet< AttributeSimCondition >, faudes::TaNameSet< AttributeFailureEvents >, faudes::TaNameSet< EventAttr >, faudes::TaNameSet< HioEventFlags >, faudes::TaNameSet< AttributeSignalEvent >, faudes::TaNameSet< SimEventAttribute >, faudes::TaNameSet< AttributeSimplenetEvent >, faudes::NameSet, faudes::IndexSet, and faudes::SymbolSet.
Definition at line 1807 of file cfl_baseset.h.
|
protected |
Convert STL iterator to API iterator.
Definition at line 1881 of file cfl_baseset.h.
|
protectedvirtual |
Reimplment from type to use chache.
Reimplemented from faudes::Type.
Definition at line 1762 of file cfl_baseset.h.
|
virtual |
Get objects's type name.
Retrieve the faudes-type name from the type registry. Sets allow to overwrite the faudes-type identifier. This is allows for light-weight derived classes that do not need to be registered.
Reimplemented from faudes::Type.
Definition at line 1790 of file cfl_baseset.h.
|
virtual |
Overwrite faudes-type name.
This method is used to overwrite the faudes-type identifyer.
rType | Faudes-type name to set |
Definition at line 1801 of file cfl_baseset.h.
|
inlinevirtual |
Test validty of candidate element.
Reimplement this function for particular type T of elements, eg for an index set with T=Idx indicate 0 an invalid index.
rElem | Candidate to test |
Reimplemented in faudes::IndexSet, and faudes::SymbolSet.
Definition at line 1945 of file cfl_baseset.h.
|
virtual |
Configure the element name tag.
This method allows to overwrite the tag used for elements in XML IO. For usual, you will register derived class with the run-time-interface and set the elemen tag for XML IO.
rTag | Name to set |
Definition at line 1784 of file cfl_baseset.h.
|
protectedvirtual |
Get name of elements (used for XML IO)
Definition at line 1772 of file cfl_baseset.h.
|
friend |
We implement "protected privacy for template classes" by friendship.
This is used for the pragmatic implemention conversion constructors.
Definition at line 106 of file cfl_baseset.h.
|
protected |
Iterator to the client list that hosts our data (maintained by host)
Definition at line 957 of file cfl_baseset.h.
|
protected |
Indicate "hosts data to myself only".
Definition at line 963 of file cfl_baseset.h.
|
private |
Current/cached faudes type-name.
Definition at line 1021 of file cfl_baseset.h.
|
protected |
Iterators that refer to this TBaseSet.
Definition at line 978 of file cfl_baseset.h.
|
protected |
Indicate "dont re-allocate the STL set ever again".
Definition at line 966 of file cfl_baseset.h.
|
protected |
Name of this BaseSet.
Definition at line 919 of file cfl_baseset.h.
|
protected |
Attribute map, if this object hosts data (else NULL).
Definition at line 942 of file cfl_baseset.h.
|
protected |
BaseSets, that use data hosted by us (NULL if we dont host data, emptyset if we host to ourself excl.)
Definition at line 960 of file cfl_baseset.h.
|
protected |
STL set, if this object hosts data (else NULL)
Definition at line 925 of file cfl_baseset.h.
|
staticprotected |
static empty STL map for default constructor
Definition at line 998 of file cfl_baseset.h.
|
staticprotected |
static empty STL set for default constructor
Definition at line 995 of file cfl_baseset.h.
|
private |
Current/cached name of elements (used protected accessor method)
Definition at line 1018 of file cfl_baseset.h.
|
protected |
Pointer to attribute map to operate on.
Definition at line 939 of file cfl_baseset.h.
|
protected |
Pointer on BaseSet that hosts our data (THIS if we host)
Definition at line 954 of file cfl_baseset.h.
|
protected |
Pointer on STL set to operate on.
Definition at line 922 of file cfl_baseset.h.
|
private |
TypeDefinition cache (should use guarded pointer here)
Definition at line 1015 of file cfl_baseset.h.
libFAUDES 2.26g --- 2015.08.17 --- c++ api documentaion by doxygen