Name
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.
Declaration
class Type
Constructors/Destructors
-
Type(string type)
A constructor.
Public Methods
-
bool operator==(const Type& other) const
An equality operator. Returns
TRUE
if thisType
is equal toother
.
Protected/Private Methods
None.
Attributes
-
const string m_type
The
Type
name (private
).
Get Unit Test Frameworks now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.