LibBeamApi
0.3.8
|
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. More... | |
BErrorTime & | set (int errNo, BTimeStamp errTime=BTimeStamp(), BString errStr="") |
Set error number and message. More... | |
BErrorTime & | clear () |
Clear the error. More... | |
int | getErrorNo () const |
Get The error number. More... | |
BTimeStamp | getTime () const |
Get time. More... | |
BString | getString () const |
Get error message. More... | |
BErrorTime | copy () |
Return an independant copy. More... | |
operator int () const | |
Return error number. More... | |
Private Attributes | |
int | oerrNo |
BTimeStamp | oerrTime |
BString | oerrStr |
Error return class.
enum BErrorTime::Type |
BErrorTime::BErrorTime | ( | int | errNo = None , |
BTimeStamp | errTime = BTimeStamp() , |
||
BString | errStr = "" |
||
) |
Create object.
BErrorTime & BErrorTime::clear | ( | ) |
Clear the error.
BErrorTime BErrorTime::copy | ( | ) |
Return an independant copy.
int BErrorTime::getErrorNo | ( | ) | const |
Get The error number.
BString BErrorTime::getString | ( | ) | const |
Get error message.
BTimeStamp BErrorTime::getTime | ( | ) | const |
Get time.
BErrorTime::operator int | ( | ) | const |
Return error number.
BErrorTime & BErrorTime::set | ( | int | errNo, |
BTimeStamp | errTime = BTimeStamp() , |
||
BString | errStr = "" |
||
) |
Set error number and message.
|
private |
|
private |
|
private |