Account
LibTmsApi 2.3.0 |
BErrorTime Class Reference
Error return class. More...
#include <BErrorTime.h>
Public Types | |
enum | Type { None = 0 , Error = 1 } |
Public Member Functions | |
BErrorTime (int errNo=None, BTimeStamp errTime=BTimeStamp(), BString errStr="") | |
Create object. | |
BErrorTime & | set (int errNo, BTimeStamp errTime=BTimeStamp(), BString errStr="") |
Set error number and message. | |
BErrorTime & | clear () |
Clear the error. | |
int | getErrorNo () const |
Get The error number. | |
BTimeStamp | getTime () const |
Get time. | |
BString | getString () const |
Get error message. | |
BErrorTime | copy () |
Return an independant copy. | |
operator int () const | |
Return error number. | |
Private Attributes | |
int | oerrNo |
BTimeStamp | oerrTime |
BString | oerrStr |
Detailed Description
Error return class.
Member Enumeration Documentation
◆ Type
enum BErrorTime::Type |
Constructor & Destructor Documentation
◆ BErrorTime()
BErrorTime::BErrorTime | ( | int | errNo = None , |
BTimeStamp | errTime = BTimeStamp() , | ||
BString | errStr = "" | ||
) |
Create object.
Member Function Documentation
◆ clear()
BErrorTime & BErrorTime::clear | ( | ) |
Clear the error.
◆ copy()
BErrorTime BErrorTime::copy | ( | ) |
Return an independant copy.
◆ getErrorNo()
int BErrorTime::getErrorNo | ( | ) | const |
Get The error number.
◆ getString()
BString BErrorTime::getString | ( | ) | const |
Get error message.
◆ getTime()
BTimeStamp BErrorTime::getTime | ( | ) | const |
Get time.
◆ operator int()
BErrorTime::operator int | ( | ) | const |
Return error number.
◆ set()
BErrorTime & BErrorTime::set | ( | int | errNo, |
BTimeStamp | errTime = BTimeStamp() , | ||
BString | errStr = "" | ||
) |
Set error number and message.
Member Data Documentation
◆ oerrNo
| private |
◆ oerrStr
| private |
◆ oerrTime
| private |
The documentation for this class was generated from the following files:
- /src/cern/tms/tms/beam/libBeam/BErrorTime.h
- /src/cern/tms/tms/beam/libBeam/BErrorTime.cpp
Generated by 1.9.7