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

static const std::string UNIT_MISMATCH = "unit not found or inappropriate"
 the 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 69 of file QuantityError.h.


Constructor & Destructor Documentation

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

default constructor

uses the default text

Definition at line 79 of file QuantityError.h.

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

constructor with message

uses the message text

Definition at line 84 of file QuantityError.h.


Member Data Documentation

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

the default text

definition of UnitMismatch default text

Definition at line 73 of file QuantityError.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 27 15:55:47 2009 for Quantities by  doxygen 1.5.3