ATLAS Offline Software
Loading...
Searching...
No Matches
BaseObject Class Reference

#include <BaseObject.h>

Inherited by CMAdata, CMROCompare, CMReprocessing, CablingObject, Matrix, MatrixReadOut, PADdata, PadReadOut, RPCRODDecode, RPCRXRODDecode, RPC_CondCabling::CMAcablingdata, RPC_CondCabling::CMApivotdata [private], RPC_CondCabling::RPCchamberdata [private], RPC_CondCabling::SectorLogicSetup, RPC_CondCabling::WiredORdata [private], RPCdata, RPCtrigDataObject, SLdata, SectorL, SectorLogic, SectorLogicRXReadOut, and SectorLogicReadOut.

Collaboration diagram for BaseObject:

Public Member Functions

 BaseObject (ObjectType, const std::string &)
virtual ~BaseObject ()=default
ObjectType tag () const
const std::string & name () const
virtual void Print (std::ostream &, bool) const

Private Attributes

ObjectType m_tag
std::string m_name

Detailed Description

Definition at line 13 of file BaseObject.h.

Constructor & Destructor Documentation

◆ BaseObject()

BaseObject::BaseObject ( ObjectType tag,
const std::string & obj_name )

Definition at line 7 of file BaseObject.cxx.

7 :
8 m_tag{tag},
9 m_name{obj_name} {
10}
std::string m_name
Definition BaseObject.h:16
ObjectType tag() const
Definition BaseObject.h:22
ObjectType m_tag
Definition BaseObject.h:15

◆ ~BaseObject()

virtual BaseObject::~BaseObject ( )
virtualdefault

Member Function Documentation

◆ name()

const std::string & BaseObject::name ( ) const
inline

Definition at line 23 of file BaseObject.h.

23{ return m_name; }

◆ Print()

◆ tag()

ObjectType BaseObject::tag ( ) const
inline

Definition at line 22 of file BaseObject.h.

22{ return m_tag; }

Member Data Documentation

◆ m_name

std::string BaseObject::m_name
private

Definition at line 16 of file BaseObject.h.

◆ m_tag

ObjectType BaseObject::m_tag
private

Definition at line 15 of file BaseObject.h.


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