Diana Software
Classes | Public Member Functions | Public Attributes | List of all members
QGlobalLabel Class Reference

Label for global QObject's. More...

Classes

class  ExtraKey
 

Public Member Functions

 QGlobalLabel ()
 ctor More...
 
 QGlobalLabel (const std::string &str)
 copy ctor from std::string More...
 
std::string GetStringLabel () const
 convert label to string More...
 
bool operator< (const QGlobalLabel &other) const
 less operator
More...
 
bool operator== (const QGlobalLabel &other) const
 comparison operator More...
 
 operator std::string () const
 cast operator, returns GetStringLabel() More...
 
void GetBareOwnerAndExtraLabel (std::string &bOwner, std::string &el) const
 split extra label and bare module name More...
 

Public Attributes

std::string fOwner
 Object owner. More...
 
std::string fName
 Object name. More...
 
int fBeginRun
 begin validity More...
 
int fEndRun
 
int fChannel
 
int fChannel2
 
int fBeginDataset
 
int fEndDataset
 
std::map< std::string, ExtraKeyfExtraKeys
 

Detailed Description

Label for global QObject's.

Author
Marco Vignati

Definition at line 18 of file QGlobalLabel.hh.

Constructor & Destructor Documentation

◆ QGlobalLabel() [1/2]

Q_BEGIN_NAMESPACE QGlobalLabel::QGlobalLabel ( )

◆ QGlobalLabel() [2/2]

QGlobalLabel::QGlobalLabel ( const std::string &  str)

copy ctor from std::string

Definition at line 22 of file QGlobalLabel.cc.

References fBeginDataset, fBeginRun, fChannel, fChannel2, fEndDataset, fEndRun, fExtraKeys, fName, fOwner, and Q_INT_DEFAULT.

Member Function Documentation

◆ GetBareOwnerAndExtraLabel()

void QGlobalLabel::GetBareOwnerAndExtraLabel ( std::string &  bOwner,
std::string &  el 
) const

◆ GetStringLabel()

std::string QGlobalLabel::GetStringLabel ( ) const

◆ operator std::string()

QGlobalLabel::operator std::string ( ) const
inline

cast operator, returns GetStringLabel()

Definition at line 37 of file QGlobalLabel.hh.

References GetStringLabel().

◆ operator<()

bool QGlobalLabel::operator< ( const QGlobalLabel other) const

less operator

Definition at line 90 of file QGlobalLabel.cc.

References fBeginDataset, fBeginRun, fChannel, fChannel2, fEndDataset, fEndRun, fExtraKeys, fName, and fOwner.

◆ operator==()

bool QGlobalLabel::operator== ( const QGlobalLabel other) const

comparison operator

Definition at line 123 of file QGlobalLabel.cc.

Member Data Documentation

◆ fBeginDataset

int QGlobalLabel::fBeginDataset

◆ fBeginRun

int QGlobalLabel::fBeginRun

◆ fChannel

int QGlobalLabel::fChannel

◆ fChannel2

int QGlobalLabel::fChannel2

◆ fEndDataset

int QGlobalLabel::fEndDataset

◆ fEndRun

int QGlobalLabel::fEndRun

◆ fExtraKeys

std::map<std::string, ExtraKey> QGlobalLabel::fExtraKeys

◆ fName

std::string QGlobalLabel::fName

◆ fOwner

std::string QGlobalLabel::fOwner

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