Belle II Software development
RCNode Class Reference
Inheritance diagram for RCNode:
NSMNode

Public Member Functions

 RCNode (const std::string &name="")
 
bool isSequential () const
 
const std::string & getConfig () const
 
void setSequential (bool seq)
 
void setConfig (const std::string &config)
 
void setGlobal (int isglobal)
 
int isGlobal () const
 
const std::string & getName () const
 
int getId () const
 
bool isUsed () const
 
NSMStategetState ()
 
const NSMStategetState () const
 
void setName (const std::string &name)
 
void setUsed (bool used)
 
void setState (const NSMState &state)
 
void setId (int id)
 
int getDate () const
 
void setDate (int date)
 
void setDate (const Date &date)
 

Protected Attributes

std::string m_name
 
int m_id
 
bool m_used
 
NSMState m_state
 
int m_date
 

Private Attributes

bool m_sequential
 
int m_isglobal
 
std::string m_config
 

Detailed Description

Definition at line 19 of file RCNode.h.

Constructor & Destructor Documentation

◆ RCNode()

RCNode ( const std::string &  name = "")
inline

Definition at line 22 of file RCNode.h.

23 : NSMNode(name), m_sequential(false), m_isglobal(-1) {}

◆ ~RCNode()

virtual ~RCNode ( )
inlinevirtual

Definition at line 24 of file RCNode.h.

24{}

Member Function Documentation

◆ getConfig()

const std::string & getConfig ( ) const
inline

Definition at line 28 of file RCNode.h.

28{ return m_config; }

◆ getDate()

int getDate ( ) const
inlineinherited

Definition at line 37 of file NSMNode.h.

37{ return m_date; }

◆ getId()

int getId ( ) const
inlineinherited

Definition at line 29 of file NSMNode.h.

29{ return m_id; }

◆ getName()

const std::string & getName ( ) const
inlineinherited

Definition at line 28 of file NSMNode.h.

28{ return m_name; }

◆ getState() [1/2]

NSMState & getState ( )
inlineinherited

Definition at line 31 of file NSMNode.h.

31{ return m_state; }

◆ getState() [2/2]

const NSMState & getState ( ) const
inlineinherited

Definition at line 32 of file NSMNode.h.

32{ return m_state; }

◆ isGlobal()

int isGlobal ( ) const
inline

Definition at line 32 of file RCNode.h.

32{ return m_isglobal; }

◆ isSequential()

bool isSequential ( ) const
inline

Definition at line 27 of file RCNode.h.

27{ return m_sequential; }

◆ isUsed()

bool isUsed ( ) const
inlineinherited

Definition at line 30 of file NSMNode.h.

30{ return m_used; }

◆ setConfig()

void setConfig ( const std::string &  config)
inline

Definition at line 30 of file RCNode.h.

30{ m_config = config; }

◆ setDate() [1/2]

void setDate ( const Date date)
inlineinherited

Definition at line 39 of file NSMNode.h.

39{ m_date = date.get(); }

◆ setDate() [2/2]

void setDate ( int  date)
inlineinherited

Definition at line 38 of file NSMNode.h.

38{ m_date = date; }

◆ setGlobal()

void setGlobal ( int  isglobal)
inline

Definition at line 31 of file RCNode.h.

31{ m_isglobal = isglobal; }

◆ setId()

void setId ( int  id)
inlineinherited

Definition at line 36 of file NSMNode.h.

36{ m_id = id; }

◆ setName()

void setName ( const std::string &  name)
inherited

Definition at line 20 of file NSMNode.cc.

21{
22 m_name = StringUtil::toupper(name);
23}

◆ setSequential()

void setSequential ( bool  seq)
inline

Definition at line 29 of file RCNode.h.

29{ m_sequential = seq; }

◆ setState()

void setState ( const NSMState state)
inlineinherited

Definition at line 35 of file NSMNode.h.

35{ m_state = state; }

◆ setUsed()

void setUsed ( bool  used)
inlineinherited

Definition at line 34 of file NSMNode.h.

34{ m_used = used; }

Member Data Documentation

◆ m_config

std::string m_config
private

Definition at line 37 of file RCNode.h.

◆ m_date

int m_date
protectedinherited

Definition at line 46 of file NSMNode.h.

◆ m_id

int m_id
protectedinherited

Definition at line 43 of file NSMNode.h.

◆ m_isglobal

int m_isglobal
private

Definition at line 36 of file RCNode.h.

◆ m_name

std::string m_name
protectedinherited

Definition at line 42 of file NSMNode.h.

◆ m_sequential

bool m_sequential
private

Definition at line 35 of file RCNode.h.

◆ m_state

NSMState m_state
protectedinherited

Definition at line 45 of file NSMNode.h.

◆ m_used

bool m_used
protectedinherited

Definition at line 44 of file NSMNode.h.


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