Diana Software
Public Member Functions | Private Attributes | List of all members
DetectorName Class Reference

class wrapper to DetectorName_ More...

Public Member Functions

 DetectorName ()
 ctor More...
 
 DetectorName (const DetectorName &detectorName)
 copy ctor More...
 
 DetectorName (const DetectorName_ &detectorName)
 copy ctor More...
 
const DetectorNameoperator= (const DetectorName &rhs)
 operator =
More...
 
const DetectorNameoperator= (const DetectorName_ &rhs)
 operator =
More...
 
 operator DetectorName_ () const
 conversion operator
More...
 
std::string AsString () const
 convert to string More...
 
QError Set (const int run)
 convert from run number More...
 

Private Attributes

DetectorName_ fDetectorName
 

Detailed Description

class wrapper to DetectorName_

Author
Marco Vignati

Definition at line 33 of file QDetectorName.hh.

Constructor & Destructor Documentation

◆ DetectorName() [1/3]

DetectorName::DetectorName ( )

ctor

Definition at line 4 of file QDetectorName.cc.

◆ DetectorName() [2/3]

DetectorName::DetectorName ( const DetectorName detectorName)

copy ctor

Definition at line 9 of file QDetectorName.cc.

◆ DetectorName() [3/3]

DetectorName::DetectorName ( const DetectorName_ detectorName)

copy ctor

Definition at line 14 of file QDetectorName.cc.

Member Function Documentation

◆ AsString()

std::string DetectorName::AsString ( ) const

◆ operator DetectorName_()

DetectorName::operator DetectorName_ ( ) const
inline

conversion operator

Definition at line 46 of file QDetectorName.hh.

References fDetectorName.

◆ operator=() [1/2]

const DetectorName & DetectorName::operator= ( const DetectorName rhs)

operator =

Definition at line 19 of file QDetectorName.cc.

References fDetectorName.

◆ operator=() [2/2]

const DetectorName & DetectorName::operator= ( const DetectorName_ rhs)

operator =

Definition at line 25 of file QDetectorName.cc.

References fDetectorName.

◆ Set()

QError DetectorName::Set ( const int  run)

convert from run number

Definition at line 52 of file QDetectorName.cc.

References DN_UNKNOWN, err, fDetectorName, QERR_SUCCESS, and QERR_UNKNOWN_ERR.

Referenced by QRunDataHandle::FillBasicInfo(), and QRunData::ReadFromStream().

Member Data Documentation

◆ fDetectorName

DetectorName_ DetectorName::fDetectorName
private

Definition at line 54 of file QDetectorName.hh.

Referenced by AsString(), operator DetectorName_(), operator=(), and Set().


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