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

#include <RPCtrigDataObject.h>

Inherits BaseObject.

Inherited by CMApatterns, CMAreadout, CMAtrigger, MuonSimuTrack, PADpatterns, PADreadout, RPCbytestream, RPCdigit, SLpatterns, and bitPATTERN.

Collaboration diagram for RPCtrigDataObject:

Public Member Functions

 RPCtrigDataObject (int, const std::string &)
 RPCtrigDataObject (int, const char *)
 RPCtrigDataObject (const RPCtrigDataObject &)
 ~RPCtrigDataObject ()
RPCtrigDataObject operator= (const RPCtrigDataObject &)
void set_number (int)
int number (void) const
void PrintElement (std::ostream &, std::string, bool) const
void Print (std::ostream &, bool) const
ObjectType tag () const
const std::string & name () const

Private Attributes

int m_number
ObjectType m_tag
std::string m_name

Detailed Description

Definition at line 14 of file RPCtrigDataObject.h.

Constructor & Destructor Documentation

◆ RPCtrigDataObject() [1/3]

RPCtrigDataObject::RPCtrigDataObject ( int num,
const std::string & name )

Definition at line 10 of file RPCtrigDataObject.cxx.

10 :
@ Data
Definition BaseObject.h:11
BaseObject(ObjectType, const std::string &)
Definition BaseObject.cxx:7
const std::string & name() const
Definition BaseObject.h:23

◆ RPCtrigDataObject() [2/3]

RPCtrigDataObject::RPCtrigDataObject ( int num,
const char * name )

Definition at line 13 of file RPCtrigDataObject.cxx.

13 :

◆ RPCtrigDataObject() [3/3]

RPCtrigDataObject::RPCtrigDataObject ( const RPCtrigDataObject & obj)

Definition at line 16 of file RPCtrigDataObject.cxx.

16 :
17 BaseObject(Data,obj.name())
18{
19 m_number = obj.number();
20}

◆ ~RPCtrigDataObject()

RPCtrigDataObject::~RPCtrigDataObject ( )
inline

Definition at line 23 of file RPCtrigDataObject.h.

23{}

Member Function Documentation

◆ name()

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

Definition at line 23 of file BaseObject.h.

23{ return m_name; }
std::string m_name
Definition BaseObject.h:16

◆ number()

int RPCtrigDataObject::number ( void ) const
inline

Definition at line 29 of file RPCtrigDataObject.h.

29{return m_number;}

◆ operator=()

RPCtrigDataObject RPCtrigDataObject::operator= ( const RPCtrigDataObject & obj)

Definition at line 23 of file RPCtrigDataObject.cxx.

24{
25 static_cast<BaseObject&>(*this) = static_cast<const BaseObject&>(obj);
26 m_number = obj.number();
27 return*this;
28}

◆ Print()

void RPCtrigDataObject::Print ( std::ostream & stream,
bool detail ) const
virtual

Reimplemented from BaseObject.

Reimplemented in SLpatterns.

Definition at line 31 of file RPCtrigDataObject.cxx.

32{
33 detail = true;
34 if(detail)
35 {
36 stream << name() << " number " << setw(3) << number();
37 }
38 stream << endl;
39}
int number(void) const

◆ PrintElement()

void RPCtrigDataObject::PrintElement ( std::ostream & ,
std::string ,
bool  ) const
inline

Definition at line 31 of file RPCtrigDataObject.h.

31{}

◆ set_number()

void RPCtrigDataObject::set_number ( int number)

Definition at line 42 of file RPCtrigDataObject.cxx.

43{
45}

◆ tag()

ObjectType BaseObject::tag ( ) const
inlineinherited

Definition at line 22 of file BaseObject.h.

22{ return m_tag; }
ObjectType m_tag
Definition BaseObject.h:15

Member Data Documentation

◆ m_name

std::string BaseObject::m_name
privateinherited

Definition at line 16 of file BaseObject.h.

◆ m_number

int RPCtrigDataObject::m_number
private

Definition at line 17 of file RPCtrigDataObject.h.

◆ m_tag

ObjectType BaseObject::m_tag
privateinherited

Definition at line 15 of file BaseObject.h.


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