| 
    Jpp master_rocky-44-g75b7c4f75
    
   the software that should make you happy 
   | 
 
Wrapper class around std::map for automatic insertion of elements based on data types. More...
#include <JAutoMap.hh>
  
Public Types | |
| typedef std::map< JKey_t, JValue_t > | map_type | 
| typedef map_type::value_type | value_type | 
Public Member Functions | |
| JAutoMap () | |
| Default constructor.   | |
| template<class T > | |
| void | insert () | 
| Insert list of data types.   | |
| template<class T , class JElement_t > | |
| void | insert (const JAutomate< JElement_t > &automate) | 
| Insert list of data types.   | |
Static Public Member Functions | |
| template<class T > | |
| static value_type | getAutoElement (JType< T > type) | 
| Creation of a map element for given data type.   | |
Protected Member Functions | |
| template<class T , class JElement_t > | |
| void | insert (JType< T > type, const JAutomate< JElement_t > &automate) | 
| Insertion of single data type.   | |
| template<class JHead_t , class JTail_t , class JElement_t > | |
| void | insert (JType< JTypeList< JHead_t, JTail_t > > typelist, const JAutomate< JElement_t > &automate) | 
| Recursive insertion of data types.   | |
| template<class JElement_t > | |
| void | insert (JType< JNullType > type, const JAutomate< JElement_t > &automate) | 
| Template specialisation to terminate insertion of data types.   | |
Wrapper class around std::map for automatic insertion of elements based on data types.
Definition at line 91 of file JAutoMap.hh.
| std::map<JKey_t, JValue_t> JTOOLS::JAutoMap< JKey_t, JValue_t >::map_type | 
Definition at line 96 of file JAutoMap.hh.
| map_type::value_type JTOOLS::JAutoMap< JKey_t, JValue_t >::value_type | 
Definition at line 97 of file JAutoMap.hh.
      
  | 
  inline | 
      
  | 
  static | 
Creation of a map element for given data type.
This method should be overloaded for the requested data types if the method insert() is used without argument.
| type | data type | 
      
  | 
  inline | 
Insert list of data types.
Definition at line 125 of file JAutoMap.hh.
      
  | 
  inline | 
Insert list of data types.
| automate | type defined element | 
Definition at line 137 of file JAutoMap.hh.
      
  | 
  inlineprotected | 
Insertion of single data type.
| type | data type | 
| automate | element automate by data type | 
Definition at line 150 of file JAutoMap.hh.
      
  | 
  inlineprotected | 
Recursive insertion of data types.
| typelist | type list | 
| automate | element automate by data type | 
Definition at line 164 of file JAutoMap.hh.
      
  | 
  inlineprotected | 
Template specialisation to terminate insertion of data types.
| type | null type | 
| automate | element automate by data type | 
Definition at line 179 of file JAutoMap.hh.