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

Replica of structure JLANG::JLabel for data types with ROOT I/O. More...

#include <JRootLabel.hh>

Static Public Member Functions

static const char * getName ()
 Get name of type.
 
static int getVersion ()
 Version.
 

Static Public Attributes

static const int ID = __ID
 Type identifier.
 

Detailed Description

template<int __ID, class T>
struct JROOT::JRootLabel< __ID, T >

Replica of structure JLANG::JLabel for data types with ROOT I/O.

The methods JRootLabel::getName and JRootLabel::getVersion defer the return value to the Class[NV]Def implementations.

Definition at line 20 of file JRootLabel.hh.

Member Function Documentation

◆ getName()

template<int __ID, class T >
static const char * JROOT::JRootLabel< __ID, T >::getName ( )
inlinestatic

Get name of type.

Definition at line 31 of file JRootLabel.hh.

32 {
33 return T::Class_Name();
34 }

◆ getVersion()

template<int __ID, class T >
static int JROOT::JRootLabel< __ID, T >::getVersion ( )
inlinestatic

Version.

Definition at line 40 of file JRootLabel.hh.

41 {
42 return T::Class_Version();
43 }

Member Data Documentation

◆ ID

template<int __ID, class T >
const int JROOT::JRootLabel< __ID, T >::ID = __ID
static

Type identifier.

Definition at line 25 of file JRootLabel.hh.


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