Belle II Software development
RCConfig Class Reference

Public Member Functions

 RCConfig (const RCConfig &config)
 
void print ()
 
DBObjectgetObject ()
 
const DBObjectgetObject () const
 
void setObject (const DBObject &obj)
 
int getExpNumber () const
 
int getRunNumber () const
 
int getSubNumber () const
 
void setExpNumber (int expno)
 
void setRunNumber (int runno)
 
void setSubNumber (int subno)
 
int getConfigId () const
 
const std::string & getConfigName () const
 

Private Attributes

DBObject m_obj
 
int m_expno
 
int m_runno
 
int m_subno
 

Detailed Description

Definition at line 21 of file RCConfig.h.

Constructor & Destructor Documentation

◆ RCConfig() [1/2]

RCConfig ( )

Definition at line 12 of file RCConfig.cc.

12 : m_obj(), m_expno(0),
13 m_runno(0), m_subno(0)
14{
15
16}

◆ RCConfig() [2/2]

RCConfig ( const RCConfig config)

Definition at line 18 of file RCConfig.cc.

19 : m_obj(config.m_obj), m_expno(config.m_expno),
20 m_runno(config.m_runno), m_subno(config.m_subno)
21{
22
23}

◆ ~RCConfig()

~RCConfig ( )
inline

Definition at line 26 of file RCConfig.h.

26{}

Member Function Documentation

◆ getConfigId()

int getConfigId ( ) const
inline

Definition at line 41 of file RCConfig.h.

41{ return m_obj.getId(); }

◆ getConfigName()

const std::string & getConfigName ( ) const
inline

Definition at line 42 of file RCConfig.h.

43 {
44 return m_obj.getName();
45 }

◆ getExpNumber()

int getExpNumber ( ) const
inline

Definition at line 33 of file RCConfig.h.

33{ return m_expno; }

◆ getObject() [1/2]

DBObject & getObject ( )
inline

Definition at line 30 of file RCConfig.h.

30{ return m_obj; }

◆ getObject() [2/2]

const DBObject & getObject ( ) const
inline

Definition at line 31 of file RCConfig.h.

31{ return m_obj; }

◆ getRunNumber()

int getRunNumber ( ) const
inline

Definition at line 34 of file RCConfig.h.

34{ return m_runno; }

◆ getSubNumber()

int getSubNumber ( ) const
inline

Definition at line 35 of file RCConfig.h.

35{ return m_subno; }

◆ print()

void print ( )

Definition at line 25 of file RCConfig.cc.

26{
27}

◆ setExpNumber()

void setExpNumber ( int  expno)
inline

Definition at line 36 of file RCConfig.h.

36{ m_expno = expno; }

◆ setObject()

void setObject ( const DBObject obj)
inline

Definition at line 32 of file RCConfig.h.

32{ m_obj = obj; }

◆ setRunNumber()

void setRunNumber ( int  runno)
inline

Definition at line 37 of file RCConfig.h.

37{ m_runno = runno; }

◆ setSubNumber()

void setSubNumber ( int  subno)
inline

Definition at line 38 of file RCConfig.h.

38{ m_subno = subno; }

Member Data Documentation

◆ m_expno

int m_expno
private

Definition at line 49 of file RCConfig.h.

◆ m_obj

DBObject m_obj
private

Definition at line 48 of file RCConfig.h.

◆ m_runno

int m_runno
private

Definition at line 50 of file RCConfig.h.

◆ m_subno

int m_subno
private

Definition at line 51 of file RCConfig.h.


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