#include <MsqError.hpp>
|
| Setter (MsqError &err, const char *function, const char *file, int line) |
|
bool | set (ErrorCode num) |
|
bool | set (const char *message, ErrorCode num) |
|
bool | set (const msq_std::string &message, ErrorCode num) |
|
bool | set (ErrorCode num, const char *format,...) |
|
| Setter (MsqError &err, const char *function, const char *file, int line) |
|
bool | set (ErrorCode num) |
|
bool | set (const char *message, ErrorCode num) |
|
bool | set (const msq_std::string &message, ErrorCode num) |
|
bool | set (ErrorCode num, const char *format,...) |
|
Definition at line 193 of file includeLinks/MsqError.hpp.
Setter |
( |
MsqError & |
err, |
|
|
const char * |
function, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inline |
Setter |
( |
MsqError & |
err, |
|
|
const char * |
function, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
inline |
Definition at line 96 of file Misc/MsqError.cpp.
virtual bool push(const char *function, const char *file, int line)
Add to back-trace of call stack.
virtual bool set_error(ErrorCode num, const char *msg=0)
Initialize the error object with the passed data.
const char * functionName
bool set |
( |
const char * |
message, |
|
|
ErrorCode |
num |
|
) |
| |
Definition at line 90 of file Misc/MsqError.cpp.
virtual bool push(const char *function, const char *file, int line)
Add to back-trace of call stack.
virtual bool set_error(ErrorCode num, const char *msg=0)
Initialize the error object with the passed data.
const char * functionName
bool set |
( |
const char * |
message, |
|
|
ErrorCode |
num |
|
) |
| |
bool set |
( |
const msq_std::string & |
message, |
|
|
ErrorCode |
num |
|
) |
| |
bool set |
( |
const msq_std::string & |
message, |
|
|
ErrorCode |
num |
|
) |
| |
bool set |
( |
ErrorCode |
num, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
Definition at line 102 of file Misc/MsqError.cpp.
106 #if defined(HAVE_VSNPRINTF)
108 va_start( args, format );
109 vsnprintf( buffer,
sizeof(buffer), format, args );
111 #elif defined(HAVE__VSNPRINTF)
113 va_start( args, format );
114 _vsnprintf( buffer,
sizeof(buffer), format, args );
116 #elif defined(HAVE_VSPRINTF)
118 va_start( args, format );
119 vsprintf( buffer, format, args );
122 strncpy( buffer, format,
sizeof(buffer) );
123 buffer[
sizeof(buffer)-1] =
'\0';
virtual bool push(const char *function, const char *file, int line)
Add to back-trace of call stack.
virtual bool set_error(ErrorCode num, const char *msg=0)
Initialize the error object with the passed data.
const char * functionName
bool set |
( |
ErrorCode |
num, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
const char * functionName |
|
private |
The documentation for this class was generated from the following files: