Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

FD::NodeException Class Reference

#include <Node.h>

Inheritance diagram for FD::NodeException:

Inheritance graph
[legend]
Collaboration diagram for FD::NodeException:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NodeException (Node *_node, std::string _message, char *_file, int _line)
virtual void print (std::ostream &out=std::cerr)
virtual void freeze ()

Protected Attributes

std::string message
Nodenode
std::string file
int line
bool frozen

Detailed Description

The NodeException is a easy way to send a message for an general exception in a node. You should use __FILE__ and __LINE__ in the arguments.
Author:
Jean-Marc Valin


Constructor & Destructor Documentation

FD::NodeException::NodeException Node _node,
std::string  _message,
char *  _file,
int  _line
[inline]
 

The constructor with a message a file name and a line number


Member Function Documentation

virtual void FD::NodeException::freeze  )  [virtual]
 

Freezes the error message. This is used when the object an exception refers (or might refer) to will be destroyed

Reimplemented from FD::BaseException.

virtual void FD::NodeException::print std::ostream &  out = std::cerr  )  [virtual]
 

the print method

Implements FD::BaseException.


Member Data Documentation

std::string FD::NodeException::file [protected]
 

the file name

bool FD::NodeException::frozen [protected]
 

Whether the exception is frozen

int FD::NodeException::line [protected]
 

the line number

std::string FD::NodeException::message [protected]
 

the message

Node* FD::NodeException::node [protected]
 

the node pointer


The documentation for this class was generated from the following file:
Generated on Wed Oct 5 14:29:43 2005 for FlowDesigner by  doxygen 1.4.4