![]() |
VR-Link API Documentation for DIS
|
A Templated version of DtException. More...
Inheritance diagram for DtTemplatedException< I >:
Collaboration diagram for DtTemplatedException< I >:Public Member Functions | |
| DtTemplatedException (const char *errorMessage, const DtException *previousException=0) throw () | |
| Default CTOR, exactly the same as the DtException CTOR. | |
| DtTemplatedException (const char *errorMessage, const char *functionName, const char *fileName, unsigned int lineNumber, const DtException *previousException=0) throw () | |
| CTOR, exactly the same as the DtException CTOR. | |
| DtTemplatedException (const DtTemplatedException &other) throw () | |
| Copy CTOR. | |
| DtTemplatedException & | operator= (const DtTemplatedException &other) throw () |
| Assignment Operator. | |
| virtual | ~DtTemplatedException () throw () |
Private Member Functions | |
| int | retVal () const |
| I believe that to make DtTemplateExceptions different types you have to use the template argument. | |
A Templated version of DtException.
Template instances of this class will have unique types, and also inherit from DtException. This is useful when you want to subclass DtException exclusively because you want a new type of exception, and don't want to change functionality.
Warning: The Template parameter I is an integer, and each template instance of this needs to use a different value for I.
| DtTemplatedException< I >::DtTemplatedException | ( | const char * | errorMessage, |
| const DtException * | previousException = 0 |
||
| ) | throw () [inline] |
Default CTOR, exactly the same as the DtException CTOR.
| DtTemplatedException< I >::DtTemplatedException | ( | const char * | errorMessage, |
| const char * | functionName, | ||
| const char * | fileName, | ||
| unsigned int | lineNumber, | ||
| const DtException * | previousException = 0 |
||
| ) | throw () [inline] |
CTOR, exactly the same as the DtException CTOR.
| DtTemplatedException< I >::DtTemplatedException | ( | const DtTemplatedException< I > & | other | ) | throw () [inline] |
Copy CTOR.
| virtual DtTemplatedException< I >::~DtTemplatedException | ( | ) | throw () [inline, virtual] |
| DtTemplatedException& DtTemplatedException< I >::operator= | ( | const DtTemplatedException< I > & | other | ) | throw () [inline] |
Assignment Operator.
References DtException::operator=().
| int DtTemplatedException< I >::retVal | ( | ) | const [inline, private] |
I believe that to make DtTemplateExceptions different types you have to use the template argument.
That is what retVal does. It serves no purpose and hence is private.