Public Member Functions

Invar::Invariant Class Reference

#include <Invariant.h>

Inherits std::runtime_error.

List of all members.

Public Member Functions

 Invariant (const char *prefix, const char *mess, const char *expr, const char *const file, int line)
 Invariant (const char *prefix, std::string mess, const char *expr, const char *const file, int line)
 ~Invariant () throw ()
std::string & getMessage ()
const char *const getFile ()
std::string & getExpression ()
int getLine ()
std::string & toString ()

Detailed Description

Definition at line 42 of file Invariant.h.


Constructor & Destructor Documentation

Invar::Invariant::Invariant ( const char *  prefix,
const char *  mess,
const char *  expr,
const char *const   file,
int  line 
) [inline]

Definition at line 46 of file Invariant.h.

Invar::Invariant::Invariant ( const char *  prefix,
std::string  mess,
const char *  expr,
const char *const   file,
int  line 
) [inline]

Definition at line 55 of file Invariant.h.

Invar::Invariant::~Invariant (  )  throw () [inline]

Definition at line 64 of file Invariant.h.


Member Function Documentation

std::string& Invar::Invariant::getExpression (  )  [inline]

Definition at line 75 of file Invariant.h.

const char* const Invar::Invariant::getFile (  )  [inline]

Definition at line 71 of file Invariant.h.

int Invar::Invariant::getLine (  )  [inline]

Definition at line 79 of file Invariant.h.

std::string& Invar::Invariant::getMessage (  )  [inline]

Definition at line 67 of file Invariant.h.

std::string& Invar::Invariant::toString (  ) 

The documentation for this class was generated from the following file: