KaliVeda
Toolkit for HIC analysis
KVArgType::ArgType< Type, BuiltIn > Class Template Reference

Detailed Description

template<typename Type, typename BuiltIn>
class KVArgType::ArgType< Type, BuiltIn >

Base class for explicit argument types.

Argument type with a simple underlying built-in variable type i.e. int,double.

Conversion operator automatically casts to built-in type.

Definition at line 21 of file KVArgType.h.

#include <KVArgType.h>

Public Member Functions

 ArgType ()
 
 ArgType (const BuiltIn &v)
 
 operator BuiltIn () const
 
BuiltIn operator() () const
 

Private Attributes

BuiltIn _val
 

Constructor & Destructor Documentation

◆ ArgType() [1/2]

template<typename Type , typename BuiltIn >
KVArgType::ArgType< Type, BuiltIn >::ArgType ( )
inline

Definition at line 25 of file KVArgType.h.

◆ ArgType() [2/2]

template<typename Type , typename BuiltIn >
KVArgType::ArgType< Type, BuiltIn >::ArgType ( const BuiltIn &  v)
inline

Definition at line 26 of file KVArgType.h.

Member Function Documentation

◆ operator BuiltIn()

template<typename Type , typename BuiltIn >
KVArgType::ArgType< Type, BuiltIn >::operator BuiltIn ( ) const
inline

Definition at line 27 of file KVArgType.h.

◆ operator()()

template<typename Type , typename BuiltIn >
BuiltIn KVArgType::ArgType< Type, BuiltIn >::operator() ( ) const
inline

Definition at line 31 of file KVArgType.h.

Member Data Documentation

◆ _val

template<typename Type , typename BuiltIn >
BuiltIn KVArgType::ArgType< Type, BuiltIn >::_val
private

Definition at line 23 of file KVArgType.h.