Inheritance diagram for col::XCollision:
Public Member Functions | |
XCollision (const char *format,...) throw () | |
Construct a collision detection exception from a format string. | |
XCollision (const char *leader, const char *format,...) throw () | |
Convenience constructor for derived classes. | |
void | print (FILE *file=stdout) const throw () |
Print a collision detection exception. | |
void | set (const char *leader, const char *format, va_list va) throw () |
Meant for subclasses with printf-like constructors. | |
Protected Attributes | |
char | m_what_msg [m_what_msg_size] |
Static Protected Attributes | |
static const unsigned int | m_what_msg_size = 1024 |
col::XCollision::XCollision | ( | const char * | format, | |
... | ||||
) | throw () |
Construct a collision detection exception from a format string.
Works like printf().
void col::XCollision::set | ( | const char * | leader, | |
const char * | format, | |||
va_list | va | |||
) | throw () |
Meant for subclasses with printf-like constructors.
va_start()
must have been done by subclass ctor! We will do va_end
here.