Jpp - the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
JTOOLS::JGetElement< T > Struct Template Reference

Auxiliary class to convert value to element. More...

Public Member Functions

 JGetElement ()
 Default constructor. More...
 
T operator() (const double x) const
 Type conversion operator. More...
 

Static Public Member Functions

static T getEndMarker ()
 Get end marker. More...
 

Detailed Description

template<class T>
struct JTOOLS::JGetElement< T >

Auxiliary class to convert value to element.

Definition at line 64 of file JMergeSort.cc.

Constructor & Destructor Documentation

template<class T >
JTOOLS::JGetElement< T >::JGetElement ( )
inline

Default constructor.

Definition at line 69 of file JMergeSort.cc.

70  {}

Member Function Documentation

template<class T >
T JTOOLS::JGetElement< T >::operator() ( const double  x) const
inline

Type conversion operator.

Parameters
xvalue
Returns
element

Definition at line 79 of file JMergeSort.cc.

80  {
81  return (T) x;
82  }
do set_variable OUTPUT_DIRECTORY $WORKDIR T
template<class T >
static T JTOOLS::JGetElement< T >::getEndMarker ( )
inlinestatic

Get end marker.

Returns
element

Definition at line 90 of file JMergeSort.cc.

91  {
92  return std::numeric_limits<T>::max();
93  }

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