Exception::Type

   
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
figs/utf_ac05.gif

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 ).



Unit Test Frameworks
Unit Test Frameworks
ISBN: 0596006896
EAN: 2147483647
Year: 2006
Pages: 146
Authors: Paul Hamill

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net