ATLAS Offline Software
Public Member Functions | Protected Member Functions | Related Functions | List of all members
SH::Meta Class Reference

A base class for classes that implement arbitrary meta-data. More...

#include <Meta.h>

Inheritance diagram for SH::Meta:
Collaboration diagram for SH::Meta:

Public Member Functions

void testInvariant () const
 test the invariant of this object More...
 
virtual ~Meta ()
 standard destructor More...
 

Protected Member Functions

 Meta (const std::string &name)
 standard constructor More...
 
 ClassDef (Meta, 1)
 

Related Functions

(Note that these are not member functions.)

std::string dbg (const Meta &obj, unsigned verbosity=0)
 the debugging info of this object More...
 

Detailed Description

A base class for classes that implement arbitrary meta-data.

Definition at line 42 of file Meta.h.

Constructor & Destructor Documentation

◆ ~Meta()

SH::Meta::~Meta ( )
virtual

standard destructor

Guarantee
no-fail

Definition at line 42 of file Meta.cxx.

44  {
45  RCU_DESTROY_INVARIANT (this);
46  }

◆ Meta()

SH::Meta::Meta ( const std::string &  name)
protected

standard constructor

Guarantee
strong
Failures
out of memory II

Definition at line 50 of file Meta.cxx.

52  : TNamed (name.c_str(), name.c_str())
53  {
54  RCU_NEW_INVARIANT (this);
55  }

Member Function Documentation

◆ ClassDef()

SH::Meta::ClassDef ( Meta  ,
 
)
protected

◆ testInvariant()

void SH::Meta::testInvariant ( ) const

test the invariant of this object

Guarantee
no-fail

Definition at line 35 of file Meta.cxx.

37  {
38  }

Friends And Related Function Documentation

◆ dbg()

std::string dbg ( const Meta obj,
unsigned  verbosity = 0 
)
related

the debugging info of this object

Returns
a string representation of the object content
Parameters
objthe object to be presented
verbositythe level of verbosity (higher number -> more information)
Guarantee
strong
Failures
out of memory II

Definition at line 28 of file Meta.cxx.

29  {
30  return "meta-object";
31  }

The documentation for this class was generated from the following files:
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
RCU_DESTROY_INVARIANT
#define RCU_DESTROY_INVARIANT(x)
Definition: Assert.h:235
RCU_NEW_INVARIANT
#define RCU_NEW_INVARIANT(x)
Definition: Assert.h:233