Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JTOOLS::JAutomate< JElement_t > Struct Template Reference

Auxiliary class for automatic element creation. More...

#include <JAutoMap.hh>

Static Public Member Functions

template<class T >
static JElement_t getElement (JType< T > type)
 Get element.
 

Detailed Description

template<class JElement_t>
struct JTOOLS::JAutomate< JElement_t >

Auxiliary class for automatic element creation.

The template argument corresponds to the data type of the elements in the map.
There should be a corresponding constructor

   JElement_t::JElement_t(JType<T>);

for each data type T to be inserted in the map.

Definition at line 46 of file JAutoMap.hh.

Member Function Documentation

◆ getElement()

template<class JElement_t >
template<class T >
static JElement_t JTOOLS::JAutomate< JElement_t >::getElement ( JType< T > type)
inlinestatic

Get element.

Parameters
typedata type
Returns
element

Definition at line 54 of file JAutoMap.hh.

55 {
56 return JElement_t(type);
57 }

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