BErrorTime Class Reference

Error return class. More...

#include <BErrorTime.h>

List of all members.

Public Types

 None = 0
 Error = 1
enum  Type { None = 0, Error = 1 }

Public Member Functions

 BErrorTime (int errNo=None, BTimeStamp errTime=BTimeStamp(), BString errStr="")
 Create object.
BErrorTimeset (int errNo, BTimeStamp errTime=BTimeStamp(), BString errStr="")
 Set error number and message.
BErrorTimeclear ()
 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

enum BErrorTime::Type

Enumerator:
None 
Error 


Constructor & Destructor Documentation

BErrorTime::BErrorTime ( int  errNo = None,
BTimeStamp  errTime = BTimeStamp(),
BString  errStr = "" 
)

Create object.


Member Function Documentation

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.


Member Data Documentation

int BErrorTime::oerrNo [private]

BString BErrorTime::oerrStr [private]

BTimeStamp BErrorTime::oerrTime [private]


The documentation for this class was generated from the following files:
Generated on Fri Oct 15 09:49:23 2010 for LibBeamApi by  doxygen 1.4.7