qdbm::Villa_error Class Reference
Error container for Villa.
More...
List of all members.
Detailed Description
Error container for Villa.
Constructor & Destructor Documentation
qdbm::Villa_error::Villa_error |
( |
int |
ecode |
) |
throw () |
Create an instance.
- Parameters:
-
qdbm::Villa_error::Villa_error |
( |
const Villa_error & |
ve |
) |
throw () |
Copy constructor.
- Parameters:
-
Member Function Documentation
virtual int qdbm::Villa_error::code |
( |
|
) |
const throw () [virtual] |
Get the error code.
- Returns:
- the error code.
virtual const char* qdbm::Villa_error::message |
( |
|
) |
const throw () [virtual] |
Get the error message.
- Returns:
- the pointer to the string.
Reimplemented from qdbm::DBM_error.
virtual qdbm::Villa_error::operator const char * |
( |
|
) |
const throw () [virtual] |
Cast operator into pointer to char.
- Returns:
- the pointer to the string.
Reimplemented from qdbm::DBM_error.
virtual bool qdbm::Villa_error::operator!= |
( |
int |
ecode |
) |
const throw () [virtual] |
Inequality operator.
- Parameters:
-
| ecode | a comparing error code. |
- Returns:
- true if both do not equal, else, false.
virtual bool qdbm::Villa_error::operator!= |
( |
const Villa_error & |
ve |
) |
const throw () [virtual] |
Inequality operator.
- Parameters:
-
- Returns:
- true if both do not equal, else, false.
Villa_error& qdbm::Villa_error::operator= |
( |
int |
ecode |
) |
throw () |
Assignment operator.
- Parameters:
-
- Returns:
- reference to itself.
Assignment operator.
- Parameters:
-
- Returns:
- reference to itself.
virtual bool qdbm::Villa_error::operator== |
( |
int |
ecode |
) |
const throw () [virtual] |
Equality operator.
- Parameters:
-
| ecode | a comparing error code. |
- Returns:
- true if both equal, else, false.
virtual bool qdbm::Villa_error::operator== |
( |
const Villa_error & |
ve |
) |
const throw () [virtual] |
Equality operator.
- Parameters:
-
- Returns:
- true if both equal, else, false.
The documentation for this class was generated from the following file: