ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
TrigL2MuonSA::ReturnCode Class Reference

#include <CscRegUtils.h>

Collaboration diagram for TrigL2MuonSA::ReturnCode:

Public Types

enum  { FAILURE =0, SUCCESS =1 }
 

Public Member Functions

 ReturnCode ()=delete
 
 ReturnCode (unsigned int retcode)
 
bool isSuccess ()
 
void operator= (unsigned int retcode)
 
bool operator== (unsigned int code)
 
bool operator!= (unsigned int code)
 

Private Attributes

unsigned int m_retcode
 

Detailed Description

Definition at line 126 of file CscRegUtils.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
FAILURE 
SUCCESS 

Definition at line 132 of file CscRegUtils.h.

132  {
133  FAILURE=0,
134  SUCCESS=1
135  };

Constructor & Destructor Documentation

◆ ReturnCode() [1/2]

TrigL2MuonSA::ReturnCode::ReturnCode ( )
delete

◆ ReturnCode() [2/2]

TrigL2MuonSA::ReturnCode::ReturnCode ( unsigned int  retcode)
inline

Definition at line 130 of file CscRegUtils.h.

130 {m_retcode=retcode;}

Member Function Documentation

◆ isSuccess()

bool TrigL2MuonSA::ReturnCode::isSuccess ( )
inline

Definition at line 137 of file CscRegUtils.h.

137 {return (m_retcode==SUCCESS);}

◆ operator!=()

bool TrigL2MuonSA::ReturnCode::operator!= ( unsigned int  code)
inline

Definition at line 141 of file CscRegUtils.h.

141 {return (m_retcode!=code);}

◆ operator=()

void TrigL2MuonSA::ReturnCode::operator= ( unsigned int  retcode)
inline

Definition at line 139 of file CscRegUtils.h.

139 {m_retcode=retcode;}

◆ operator==()

bool TrigL2MuonSA::ReturnCode::operator== ( unsigned int  code)
inline

Definition at line 140 of file CscRegUtils.h.

140 {return (m_retcode==code);}

Member Data Documentation

◆ m_retcode

unsigned int TrigL2MuonSA::ReturnCode::m_retcode
private

Definition at line 144 of file CscRegUtils.h.


The documentation for this class was generated from the following file:
TrigL2MuonSA::ReturnCode::SUCCESS
@ SUCCESS
Definition: CscRegUtils.h:134
TrigL2MuonSA::ReturnCode::FAILURE
@ FAILURE
Definition: CscRegUtils.h:133
TrigL2MuonSA::ReturnCode::m_retcode
unsigned int m_retcode
Definition: CscRegUtils.h:144
pmontree.code
code
Definition: pmontree.py:443