| 
    Simple Application Framework
    1
    
   
   | 
  
  
  
 
Ordered set container. More...
#include <TreeSet.h>
  
 Public Types | |
| typedef BaseType::ConstIterator | ConstIterator | 
| typedef BaseType::Iterator | Iterator | 
Public Member Functions | |
| TreeSet () | |
| Default constructor.   | |
| TreeSet (const MyType &m) | |
| Copy constructor.   | |
| MyType & | operator= (const MyType &m) | 
| Assignment operator.   | |
| MyType & | Swap (MyType &m) | 
| Swap the content of two tree sets.   | |
Protected Types | |
| typedef  Algo::Struct::RedBlackTree < ValType, ValType, Algo::Identity< ValType > , CompType >  | BaseType | 
| typedef TreeSet< ValType,  CompType >  | MyType | 
Ordered set container.
The container stores a collection of values where each value can appear only once in the set. Internally, the data are stored in a sorted order in a red/black tree enabling insert, erase and look-up of the values in guaranteed logarithmic time.
Iterator category: Bidirectional.
| ValType | Data type of the elements of the set. | 
| CompType | A binary comparison predicate inducing a strict weak ordering on ValType values. | 
typedef Algo::Struct::RedBlackTree<ValType,ValType,Algo::Identity<ValType>,CompType> Saf::Collection::TreeSet< ValType, CompType >::BaseType [protected] | 
        
| typedef BaseType::ConstIterator Saf::Collection::TreeSet< ValType, CompType >::ConstIterator | 
| typedef BaseType::Iterator Saf::Collection::TreeSet< ValType, CompType >::Iterator | 
typedef TreeSet<ValType,CompType> Saf::Collection::TreeSet< ValType, CompType >::MyType [protected] | 
        
| Saf::Collection::TreeSet< ValType, CompType >::TreeSet | ( | ) |  [inline] | 
        
Default constructor.
| Saf::Collection::TreeSet< ValType, CompType >::TreeSet | ( | const MyType & | m | ) |  [inline] | 
        
Copy constructor.
| MyType& Saf::Collection::TreeSet< ValType, CompType >::operator= | ( | const MyType & | m | ) |  [inline] | 
        
Assignment operator.
| MyType& Saf::Collection::TreeSet< ValType, CompType >::Swap | ( | MyType & | m | ) |  [inline] | 
        
Swap the content of two tree sets.
Properties:
. 
 1.8.0