#include <BaseStorage.hh>
 | 
|   | BaseMap () | 
|   | 
| virtual  | ~BaseMap () | 
|   | 
| virtual bool  | ContainsKey (const std::string &_key) const | 
|   | Determine if an elements is mapped to the given key.  
  | 
|   | 
| virtual bool  | ContainsValue (ConstTPtr _value) const | 
|   | Determine if the given element exists in this map.  
  | 
|   | 
| virtual UPtr  | Derived (const std::string &_key) const | 
|   | 
| virtual UPtr  | DerivedByIndex (unsigned int _index) const | 
|   | 
| virtual TPtr  | Get (const std::string &_key) const | 
|   | Get the element mapped to the given key.  
  | 
|   | 
| virtual TPtr  | GetByIndex (unsigned int _index) const | 
|   | Get the element at the given index.  
  | 
|   | 
| virtual bool  | Put (const std::string &_key, TPtr _value) | 
|   | Map to given element to the given key. If the given key is already in use, no work will be done.  
  | 
|   | 
| virtual void  | Remove (const std::string &_key) | 
|   | Remove the element mapped to the given key. If the specified element does not exists, no work will be done.  
  | 
|   | 
| virtual void  | Remove (TPtr _value) | 
|   | Remove the given element. If the given element does not exist no work will be done.  
  | 
|   | 
| virtual void  | RemoveAll () | 
|   | Remove all elements from this map.  
  | 
|   | 
| virtual unsigned int  | Size () const | 
|   | Get the number of elements in this map.  
  | 
|   | 
| virtual  | ~Map ()=default | 
|   | Destructor.  
  | 
|   | 
◆ BaseMap()
template<class T , class U > 
      
 
 
◆ ~BaseMap()
template<class T , class U > 
 
 
◆ ContainsKey()
template<class T , class U > 
 
Determine if an elements is mapped to the given key. 
- Parameters
 - 
  
    | [in] | _key | Key of the element in question  | 
  
   
- Returns
 - True if an elements is mapped to the given key 
 
Implements Map< T >.
 
 
◆ ContainsValue()
template<class T , class U > 
 
Determine if the given element exists in this map. 
- Parameters
 - 
  
    | [in] | _value | Element in question  | 
  
   
- Returns
 - True if the given element exists in this map 
 
Implements Map< T >.
 
 
◆ Derived()
template<class T , class U > 
 
 
◆ DerivedByIndex()
template<class T , class U > 
  
  
      
        
          | BaseMap< T, U >::UPtr DerivedByIndex  | 
          ( | 
          unsigned int  | 
          _index | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ Get()
template<class T , class U > 
 
Get the element mapped to the given key. 
- Parameters
 - 
  
    | [in] | _key | Key of the element in question  | 
  
   
- Returns
 - The element mapped to the given key 
 
Implements Map< T >.
 
 
◆ GetByIndex()
template<class T , class U > 
  
  
      
        
          | BaseMap< T, U >::TPtr GetByIndex  | 
          ( | 
          unsigned int  | 
          _index | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Get the element at the given index. 
- Parameters
 - 
  
    | [in] | _index | Index of the element in question  | 
  
   
- Returns
 - The element at the given index 
 
Implements Map< T >.
 
 
◆ IsValidIter()
template<class T , class U > 
  
  
      
        
          | bool IsValidIter  | 
          ( | 
          ConstUIter  | 
          _iter | ) | 
           const | 
         
       
   | 
  
protectedvirtual   | 
  
 
 
◆ Put()
template<class T , class U > 
 
 
◆ Remove() [1/2]
template<class T , class U > 
 
Remove the element mapped to the given key. If the specified element does not exists, no work will be done. 
- Parameters
 - 
  
    | [in] | _key | Key of the element in question  | 
  
   
Implements Map< T >.
 
 
◆ Remove() [2/2]
template<class T , class U > 
  
  
      
        
          | void Remove  | 
          ( | 
          TPtr  | 
          _value | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Remove the given element. If the given element does not exist no work will be done. 
- Parameters
 - 
  
    | [in] | _value | Key of the element in question  | 
  
   
Implements Map< T >.
 
 
◆ RemoveAll()
template<class T , class U > 
 
Remove all elements from this map. 
Implements Map< T >.
 
 
◆ Size()
template<class T , class U > 
  
  
      
        
          | unsigned int Size  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
Get the number of elements in this map. 
- Returns
 - The number of elements in this map 
 
Implements Map< T >.
 
 
◆ map
template<class T , class U > 
 
 
The documentation for this class was generated from the following file: