Unit Test Frameworks
Exception::Type |
Description
The class Exception::Type (see Figure C-5) nested class within Exception . It is simply a wrapper for a string containing an Exception type name .
Exception::Type is declared and implemented in Exception.h .
Figure C-5. The nested class Exception::Type
Declaration
class Type
Constructors/Destructors
-
- Type(string type)
-
A constructor.
Public Methods
-
- bool operator==(const Type& other) const
-
An equality operator. Returns TRUE if this Type is equal to other .
Protected/Private Methods
None.
Attributes
-
- const string m_type
-
The Type name ( private ).