Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JROOT::JObjectType< JType_t, T > Class Template Reference

Implementation for handling of a template class. More...

#include <JRootTypesHandler.hh>

Inheritance diagram for JROOT::JObjectType< JType_t, T >:
JROOT::JAbstractType< JType_t >

Public Member Functions

virtual void apply (JType_t &object, const char *const name) const override
 Apply type with given name to object.
 

Detailed Description

template<class JType_t, class T>
class JROOT::JObjectType< JType_t, T >

Implementation for handling of a template class.

The given template class should provide for the function object operator

   template<class T>
   void operator()(const char* const name, const JType<T> type);

This class implements the JROOT::JAstractType interface for the given template class.

Definition at line 72 of file JRootTypesHandler.hh.

Member Function Documentation

◆ apply()

template<class JType_t , class T >
virtual void JROOT::JObjectType< JType_t, T >::apply ( JType_t & object,
const char *const name ) const
inlineoverridevirtual

Apply type with given name to object.

Parameters
objectobject
namename

Implements JROOT::JAbstractType< JType_t >.

Definition at line 82 of file JRootTypesHandler.hh.

83 {
84 object(name, JType<T>());
85 }

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