ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
SH::MetaData< T > Class Template Reference

A class implementing a templatized version of the meta-data. More...

#include <Global.h>

Collaboration diagram for SH::MetaData< T >:

Public Member Functions

void testInvariant () const
 test the invariant of this object More...
 
 MetaData ()
 standard default constructor More...
 
 MetaData (const std::string &name, const T &set_value)
 standard constructor More...
 
 ClassDef (MetaData, 1)
 

Public Attributes

value
 the value contained More...
 

Detailed Description

template<class T>
class SH::MetaData< T >

A class implementing a templatized version of the meta-data.

Definition at line 36 of file D3PDTools/SampleHandler/SampleHandler/Global.h.

Constructor & Destructor Documentation

◆ MetaData() [1/2]

template<class T >
SH::MetaData< T >::MetaData

standard default constructor

Guarantee
strong
Failures
out of memory I
Rationale
needed for root persistification

Definition at line 87 of file MetaData.h.

89  : Meta ("")
90  {
91  RCU_NEW_INVARIANT (this);
92  }

◆ MetaData() [2/2]

template<class T >
SH::MetaData< T >::MetaData ( const std::string &  name,
const T &  set_value 
)

standard constructor

Guarantee
strong
Failures
out of memory II

Definition at line 96 of file MetaData.h.

98  : Meta (name), value (set_value)
99  {
100  RCU_NEW_INVARIANT (this);
101  }

Member Function Documentation

◆ ClassDef()

template<class T >
SH::MetaData< T >::ClassDef ( MetaData< T >  ,
 
)

◆ testInvariant()

template<class T >
void SH::MetaData< T >::testInvariant

test the invariant of this object

Guarantee
no-fail

Definition at line 80 of file MetaData.h.

82  {
83  }

Member Data Documentation

◆ value

template<class T >
T SH::MetaData< T >::value

the value contained

Definition at line 64 of file MetaData.h.


The documentation for this class was generated from the following files:
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
SH::MetaData::value
T value
the value contained
Definition: MetaData.h:64
RCU_NEW_INVARIANT
#define RCU_NEW_INVARIANT(x)
Definition: Assert.h:233