ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
BaseObject Class Reference

#include <BaseObject.h>

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

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 }

◆ ~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()

virtual void BaseObject::Print ( std::ostream &  ,
bool   
) const
inlinevirtual

◆ 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:
BaseObject::m_name
std::string m_name
Definition: BaseObject.h:16
BaseObject::tag
ObjectType tag() const
Definition: BaseObject.h:22
BaseObject::m_tag
ObjectType m_tag
Definition: BaseObject.h:15