faudes::TaBaseSet< T, Attr, Cmp > Class Template Reference
[State, Event and Transition Set]

Set with nontrivial attributes. More...

#include <cfl_abaseset.h>

List of all members.

Public Types

typedef TBaseSet< T, Cmp >
::Iterator 
Iterator
 Use TBaseSet iterators.

Public Member Functions

 TaBaseSet (void)
 Constructor.
 TaBaseSet (const TaBaseSet &rOtherSet)
 Copy-constructor.
 TaBaseSet (const TBaseSet< T, Cmp > &rOtherSet)
 Copy-constructor.
 TaBaseSet (const std::string &rFilename, const std::string &rLabel="BaseSet")
 Constructor from file.
virtual ~TaBaseSet (void)
 Virtual destructor.
virtual TaBaseSetNew (void) const
 Faudes Type interface.
virtual TaBaseSetCopy (void) const
 Faudes Type interface.
virtual const TypeCast (const Type *pType) const
 Faudes Type interface.
virtual TaBaseSetAssign (const TaBaseSet &rSourceSet)
 Copy from a TaBaseSet with matching attributes.
virtual TaBaseSetAssign (const TBaseSet< T, Cmp > &rSourceSet)
 Copy from a TBaseSet with attributes, provided that they can be casted acciordingly.
virtual TaBaseSetAssignWithoutAttributes (const TBaseSet< T, Cmp > &rSourceSet)
 Copy from a TBaseSet without attributes.
virtual TaBaseSetoperator= (const TaBaseSet &rSource)
 Faudes Type interface.
virtual TaBaseSetoperator= (const TBaseSet< T, Cmp > &rSource)
 Faudes Type interface (extension).
virtual void Clear (void)
 Clear all set.
const Attr * Attributep (void) const
 Attribute typeinfo.
const Attr & Attribute (void) const
 Attribute typeinfo.
virtual bool AttributeTry (const Type &rAttr) const
 Attribute typeinfo.
virtual Idx AttributesSize (void) const
 Get number of explicit (aka non-default) attributes.
virtual void ClearAttributes (void)
 Clear all attributes to default value.
virtual bool EqualAttributes (const TBaseSet< T, Cmp > &rOtherSet) const
 Test whether attributes match with other set, Return true if attributes match for shared elements.
virtual bool operator== (const TBaseSet< T, Cmp > &rOtherSet) const
 Test set equality.
virtual bool EqualAttributes (const TaBaseSet &rOtherSet) const
 Test whether attributes match with other set, Return true if attributes match for shared elements.
virtual Attr * Attributep (const T &rElem)
 Get attribute reference by element.
virtual const Attr & Attribute (const T &rElem) const
 Get attribute by element.
virtual void Attribute (const T &rElem, const Type &attr)
 Set attribute.
virtual void Attribute (const T &rElem, const Attr &attr)
 Set attribute.
virtual void AttributeTry (const T &rElem, const Type &attr)
 Set attribute.
virtual void Attributes (const TBaseSet< T, Cmp > &rOtherSet)
 Set attributes.
virtual void Attributes (const TaBaseSet &rOtherSet)
 Set attributes.
virtual void ClrAttribute (const T &rElem)
 Clear attribute to default value.
bool Insert (const T &rElem)
 Insert element.
bool Insert (const T &rElem, const Attr &attr)
 Insert element with attribute.
void InsertSet (const TBaseSet< T, Cmp > &rOtherSet)
 Inserts elements of rOtherSet.
void InsertSet (const TaBaseSet &rOtherSet)
 Inserts elements of rOtherSet.
bool Erase (const T &rElem)
 Erase Element (incl its attribute).
Iterator Erase (const Iterator &pos)
 Erase element by iterator (incl attribute).
void EraseSet (const TBaseSet< T, Cmp > &rOtherSet)
 Erase elements given by other set.
void RestrictSet (const TBaseSet< T, Cmp > &rOtherSet)
 Restrict to specified subset.
void SetUnion (const TBaseSet< T, Cmp > &rOtherSet)
 Set union.
void SetIntersection (const TBaseSet< T, Cmp > &rOtherSet)
 Set intersection.
virtual void Detach (void) const
 Detach from extern storage (reimplement base).

Protected Types

typedef TBaseSet< T, Cmp >
::iterator 
iterator
 use TBaseSet STL iterators
typedef TBaseSet< T, Cmp >
::const_iterator 
const_iterator
 use TBaseSet STL iterators
typedef TBaseSet< T, Cmp >
::aiterator 
aiterator
 use TBaseSet STL iterators
typedef TBaseSet< T, Cmp >
::const_aiterator 
const_aiterator
 use TBaseSet STL iterators

Protected Member Functions

virtual void DoAssign (const TaBaseSet &rSourceSet)
 assignment from source with matching attributes
virtual bool DoEqual (const TBaseSet< T, Cmp > &rOtherSet) const
 test equality, ignore attributes
virtual void DoAttributep (const T &rElem, const Type *pAttr)
 set attribute in map (assume elem exists in set, NULL <=> set to default)
virtual void DoAttributep (const T &rElem, const Attr *pAttr)
 set attribute in map (assume elem exists in set, NULL <=> set to default)
virtual const Attr * DoAttributep (const T &rElem) const
 get attribute from map (return null if elem does not exist in map)
virtual Attr * DoAttributep (const T &rElem)
 get attribute from map (insert explicit default if elem does not exist in map)

Protected Attributes

Attr * mpDefAttribute
 default attribute

Detailed Description

template<class T, class Attr, class Cmp = std::less<T>>
class faudes::TaBaseSet< T, Attr, Cmp >

Set with nontrivial attributes.

The TaBaseSet implements the attribute interface introduced in TBaseSet.

Note: while TaBaseSet is indirectly derived from Type, we avoid the FAUDES_TYPE_DECLARATION macro and define the Type interface explicitely. This is for cosmetic reasons only.

Definition at line 48 of file cfl_abaseset.h.


Member Typedef Documentation

template<class T, class Attr, class Cmp = std::less<T>>
typedef TBaseSet<T,Cmp>::aiterator faudes::TaBaseSet< T, Attr, Cmp >::aiterator [protected]

use TBaseSet STL iterators

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 450 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
typedef TBaseSet<T,Cmp>::const_aiterator faudes::TaBaseSet< T, Attr, Cmp >::const_aiterator [protected]

use TBaseSet STL iterators

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 453 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
typedef TBaseSet<T,Cmp>::const_iterator faudes::TaBaseSet< T, Attr, Cmp >::const_iterator [protected]

use TBaseSet STL iterators

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 447 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
typedef TBaseSet<T,Cmp>::iterator faudes::TaBaseSet< T, Attr, Cmp >::iterator [protected]

use TBaseSet STL iterators

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 444 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
typedef TBaseSet<T,Cmp>::Iterator faudes::TaBaseSet< T, Attr, Cmp >::Iterator

Constructor & Destructor Documentation

template<class T , class Attr , class Cmp >
faudes::TaBaseSet< T, Attr, Cmp >::TaBaseSet ( void   )  [inline]

Constructor.

Definition at line 504 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
faudes::TaBaseSet< T, Attr, Cmp >::TaBaseSet ( const TaBaseSet< T, Attr, Cmp > &  rOtherSet  )  [inline]

Copy-constructor.

Uses DoAssign copy the set incl attributes.

Parameters:
rOtherSet Source to copy from

Definition at line 513 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
faudes::TaBaseSet< T, Attr, Cmp >::TaBaseSet ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline]

Copy-constructor.

Sets attributes to default. Uses the DoAssign method to convert attributes if possible.

Parameters:
rOtherSet Source to copy from

Definition at line 522 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
faudes::TaBaseSet< T, Attr, Cmp >::TaBaseSet ( const std::string &  rFilename,
const std::string &  rLabel = "BaseSet" 
) [inline]

Constructor from file.

This constructor indicates the intended interface for derived classes. The base set itself cannot read from token streams.

Parameters:
rFilename Name of File
rLabel Section for the set in the file;

Definition at line 531 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
faudes::TaBaseSet< T, Attr, Cmp >::~TaBaseSet ( void   )  [inline, virtual]

Virtual destructor.

Definition at line 541 of file cfl_abaseset.h.


Member Function Documentation

template<class T, class Attr , class Cmp>
TaBaseSet< T, Attr, Cmp > & faudes::TaBaseSet< T, Attr, Cmp >::Assign ( const TBaseSet< T, Cmp > &  rSourceSet  )  [inline, virtual]

Copy from a TBaseSet with attributes, provided that they can be casted acciordingly.

Parameters:
rSourceSet Set to copy from

Definition at line 569 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
TaBaseSet< T, Attr, Cmp > & faudes::TaBaseSet< T, Attr, Cmp >::Assign ( const TaBaseSet< T, Attr, Cmp > &  rSourceSet  )  [inline, virtual]

Copy from a TaBaseSet with matching attributes.

Parameters:
rSourceSet Set to copy from

Definition at line 563 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
TaBaseSet< T, Attr, Cmp > & faudes::TaBaseSet< T, Attr, Cmp >::AssignWithoutAttributes ( const TBaseSet< T, Cmp > &  rSourceSet  )  [inline, virtual]

Copy from a TBaseSet without attributes.

This method clears all attributes even if they cound be casted.

Parameters:
rSourceSet Set to copy from

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 606 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::Attribute ( const T &  rElem,
const Attr &  attr 
) [inline, virtual]

Set attribute.

This method sets the attribute of the sepcified element to the given value.

Parameters:
rElem Specify element
attr Attribute value.
Exceptions:
Exception 
  • Element does not exist (60)
  • Cannot cast attribute type (63)

Definition at line 949 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::Attribute ( const T &  rElem,
const Type attr 
) [inline, virtual]

Set attribute.

Provided that the attribute can be casted to the appropriate type, this method sets the attribute of the sepcified element to the given value.

Parameters:
rElem Specify element
attr Attribute value.
Exceptions:
Exception 
  • Element does not exist (60)
  • Cannot cast attribute type (63)

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 917 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp >
const Attr & faudes::TaBaseSet< T, Attr, Cmp >::Attribute ( const T &  rElem  )  const [inline, virtual]

Get attribute by element.

This function returns a const reference to the attribute of the specified element.

Parameters:
rElem Specify element
Exceptions:
Exception 
  • Element does not exist (63)
Returns:
Reference to attribute

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 900 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
const Attr & faudes::TaBaseSet< T, Attr, Cmp >::Attribute ( void   )  const [inline, virtual]

Attribute typeinfo.

Returns:
Reference to some attribute of this sets attribute type

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 872 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp >
Attr * faudes::TaBaseSet< T, Attr, Cmp >::Attributep ( const T &  rElem  )  [inline, virtual]

Get attribute reference by element.

Note that in order to produce a non-const reference this method will insert an explicit default attribute if necessary. If a const reference is sufficient, you should use Attribute(rElem) const instead.

Parameters:
rElem Specify element
Exceptions:
Exception 
  • Element does not exist (60)
Returns:
Pointer to attribute

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 883 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
const Attr * faudes::TaBaseSet< T, Attr, Cmp >::Attributep ( void   )  const [inline, virtual]

Attribute typeinfo.

Returns:
Pointer to some attribute of this sets attribute type.

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 867 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::Attributes ( const TaBaseSet< T, Attr, Cmp > &  rOtherSet  )  [inline, virtual]

Set attributes.

Attributes are copied per element from rOtherSet. Elements of this set which are not in rOtherSet maintain their attribute.

Parameters:
rOtherSet Other BaseSet

Definition at line 988 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::Attributes ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline, virtual]

Set attributes.

Provided that rOtherSet has attributes that can be casted to the appropriate type, attributes are copied per element from rOtherSet. Elements of this set which are not in rOtherSet maintain their attribute.

Parameters:
rOtherSet Other BaseSet
Exceptions:
Exception 
  • Cannot cast attribute type (63)

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 963 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
Idx faudes::TaBaseSet< T, Attr, Cmp >::AttributesSize ( void   )  const [inline, virtual]

Get number of explicit (aka non-default) attributes.

Returns:
Number of entries in mAttributeMap

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 1212 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::AttributeTry ( const T &  rElem,
const Type attr 
) [inline, virtual]

Set attribute.

Provided that the attribute can be casted to the appropriate type, this method sets the attribute of the sepcified element to the given value. If the cast fails, this method does nothing.

Parameters:
rElem Specify element
attr Attribute value.
Exceptions:
Exception 
  • Element does not exist (60)

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 935 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
bool faudes::TaBaseSet< T, Attr, Cmp >::AttributeTry ( const Type rAttr  )  const [inline, virtual]

Attribute typeinfo.

An TaBaseSet accepts all attributes that we can cast to our default attribute's type. The implementation uses the virtual function Cast of the default attribute to perform the test. Thus, it is crucial that Cast is re-implemented for attribute classes.

Parameters:
rAttr Attribute type to test.
Returns:
True, if attribute type is accepted.

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 877 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
virtual const Type* faudes::TaBaseSet< T, Attr, Cmp >::Cast ( const Type pType  )  const [inline, virtual]

Faudes Type interface.

Cast object to my type.

Reimplemented from faudes::Type.

Definition at line 109 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::Clear ( void   )  [inline, virtual]
template<class T , class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::ClearAttributes ( void   )  [inline, virtual]

Clear all attributes to default value.

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 1014 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::ClrAttribute ( const T &  rElem  )  [inline, virtual]

Clear attribute to default value.

Parameters:
rElem Specify element

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 1008 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
virtual TaBaseSet* faudes::TaBaseSet< T, Attr, Cmp >::Copy ( void   )  const [inline, virtual]

Faudes Type interface.

Construct copy on heap.

Reimplemented from faudes::Type.

Definition at line 102 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::Detach ( void   )  const [inline, virtual]

Detach from extern storage (reimplement base).

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 667 of file cfl_abaseset.h.

template<class T , class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::DoAssign ( const TaBaseSet< T, Attr, Cmp > &  rSourceSet  )  [inline, protected, virtual]

assignment from source with matching attributes

Definition at line 550 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp >
Attr * faudes::TaBaseSet< T, Attr, Cmp >::DoAttributep ( const T &  rElem  )  [inline, protected, virtual]

get attribute from map (insert explicit default if elem does not exist in map)

Definition at line 1107 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp >
const Attr * faudes::TaBaseSet< T, Attr, Cmp >::DoAttributep ( const T &  rElem  )  const [inline, protected, virtual]

get attribute from map (return null if elem does not exist in map)

Definition at line 1099 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::DoAttributep ( const T &  rElem,
const Attr *  pAttr 
) [inline, protected, virtual]

set attribute in map (assume elem exists in set, NULL <=> set to default)

Definition at line 1172 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp >
void faudes::TaBaseSet< T, Attr, Cmp >::DoAttributep ( const T &  rElem,
const Type pAttr 
) [inline, protected, virtual]

set attribute in map (assume elem exists in set, NULL <=> set to default)

Definition at line 1128 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
bool faudes::TaBaseSet< T, Attr, Cmp >::DoEqual ( const TBaseSet< T, Cmp > &  rOtherSet  )  const [inline, protected, virtual]

test equality, ignore attributes

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 616 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
bool faudes::TaBaseSet< T, Attr, Cmp >::EqualAttributes ( const TaBaseSet< T, Attr, Cmp > &  rOtherSet  )  const [inline, virtual]

Test whether attributes match with other set, Return true if attributes match for shared elements.

It uses the equality test of individual attributes and, hence, requires the type match too.

Parameters:
rOtherSet Other set to compare with.
Returns:
True on match.

Definition at line 1068 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
bool faudes::TaBaseSet< T, Attr, Cmp >::EqualAttributes ( const TBaseSet< T, Cmp > &  rOtherSet  )  const [inline, virtual]

Test whether attributes match with other set, Return true if attributes match for shared elements.

It uses the equality test of individual attributes and, hence, requires the type match too.

Parameters:
rOtherSet Other set to compare with.
Returns:
True on match.

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 1029 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::EraseSet ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline, virtual]

Erase elements given by other set.

This function ignores the attributes of the other set and maintains the attributes of the remaining elements in this set.

Parameters:
rOtherSet Elements to erase

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 795 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp >
bool faudes::TaBaseSet< T, Attr, Cmp >::Insert ( const T &  rElem,
const Attr &  attr 
) [inline]
template<class T, class Attr , class Cmp >
bool faudes::TaBaseSet< T, Attr, Cmp >::Insert ( const T &  rElem  )  [inline, virtual]
template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::InsertSet ( const TaBaseSet< T, Attr, Cmp > &  rOtherSet  )  [inline]

Inserts elements of rOtherSet.

Attributes of this set are maintained, new elements are inserted with attribute.

Parameters:
rOtherSet Other BaseSet

Definition at line 747 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::InsertSet ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline, virtual]

Inserts elements of rOtherSet.

Attributes of this set are maintained, newly inserted elements have default attribute.

Parameters:
rOtherSet Other BaseSet

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 719 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
virtual TaBaseSet* faudes::TaBaseSet< T, Attr, Cmp >::New ( void   )  const [inline, virtual]

Faudes Type interface.

Construct object of same type on heap.

Reimplemented from faudes::Type.

Definition at line 96 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
virtual TaBaseSet& faudes::TaBaseSet< T, Attr, Cmp >::operator= ( const TBaseSet< T, Cmp > &  rSource  )  [inline, virtual]

Faudes Type interface (extension).

Assignment operator incl attribute cast.

Parameters:
rSource Object to assign from

Definition at line 150 of file cfl_abaseset.h.

template<class T, class Attr, class Cmp = std::less<T>>
virtual TaBaseSet& faudes::TaBaseSet< T, Attr, Cmp >::operator= ( const TaBaseSet< T, Attr, Cmp > &  rSource  )  [inline, virtual]

Faudes Type interface.

Assignment operator with strict type matching.

Parameters:
rSource Object to assign from

Definition at line 143 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
bool faudes::TaBaseSet< T, Attr, Cmp >::operator== ( const TBaseSet< T, Cmp > &  rOtherSet  )  const [inline, virtual]

Test set equality.

The test ignores attributes. It is implemented by the virtual method DoEqual().

Parameters:
rOtherSet Other set to compare with.
Returns:
True on match.

Definition at line 662 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::RestrictSet ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline, virtual]

Restrict to specified subset.

Erases any elements no in the specified set. This function ignores the attributes of the other set and maintains the attributes of the remaining elements in this set.

Parameters:
rOtherSet Elements to erase

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 821 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::SetIntersection ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline, virtual]

Set intersection.

The intersection is wrt set of indices, the result is stored in this set. Attributes are set to default.

Parameters:
rOtherSet Other BaseSet

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 860 of file cfl_abaseset.h.

template<class T, class Attr , class Cmp>
void faudes::TaBaseSet< T, Attr, Cmp >::SetUnion ( const TBaseSet< T, Cmp > &  rOtherSet  )  [inline, virtual]

Set union.

The union is wrt the set of indices, the result is accumulated in this set. Attributes are set to default. See also InsertSet(const TaBaseSet&).

Parameters:
rOtherSet Other BaseSet

Reimplemented from faudes::TBaseSet< T, Cmp >.

Definition at line 854 of file cfl_abaseset.h.


Member Data Documentation

template<class T, class Attr, class Cmp = std::less<T>>
Attr* faudes::TaBaseSet< T, Attr, Cmp >::mpDefAttribute [protected]

default attribute

Definition at line 457 of file cfl_abaseset.h.


The documentation for this class was generated from the following file:

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen