Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

quantity::UnitMismatch Class Reference

exception class More...

#include <QuantityError.h>

Inheritance diagram for quantity::UnitMismatch:

quantity::QuantityError List of all members.

Public Member Functions

 UnitMismatch (void)
 default constructor

 UnitMismatch (const std::string message)
 constructor with message


Static Private Attributes

const std::string UNIT_MISMATCH = "unit not found or inappropriate"
 definition of UnitMismatch default text


Detailed Description

exception class

reports the fact that a certain unit is not found or inappropriate; needed for dynamic access.

Definition at line 68 of file QuantityError.h.


Constructor & Destructor Documentation

quantity::UnitMismatch::UnitMismatch void   )  [inline]
 

default constructor

uses the default text

Definition at line 78 of file QuantityError.h.

References UNIT_MISMATCH.

quantity::UnitMismatch::UnitMismatch const std::string  message  )  [inline]
 

constructor with message

uses the message text

Definition at line 83 of file QuantityError.h.


Member Data Documentation

const std::string quantity::UnitMismatch::UNIT_MISMATCH = "unit not found or inappropriate" [static, private]
 

definition of UnitMismatch default text

Definition at line 47 of file Quantity.cc.

Referenced by UnitMismatch().


The documentation for this class was generated from the following files:
Generated on Mon Feb 12 18:44:00 2007 for Quantity by doxygen 1.3.6