ATLAS Offline Software
Loading...
Searching...
No Matches
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
virtual ~Meta ()
 standard destructor

Protected Member Functions

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

(Note that these are not member symbols.)

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

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 {
46 }
#define RCU_DESTROY_INVARIANT(x)
Definition Assert.h:235

◆ 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 }
#define RCU_NEW_INVARIANT(x)
Definition Assert.h:233

Member Function Documentation

◆ ClassDef()

SH::Meta::ClassDef ( Meta ,
1  )
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 }

◆ 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: