node_void Class Reference

#include <node_impl.hpp>

Inheritance diagram for node_void:

node_impl

List of all members.

Public Member Functions

 node_void ()

Private Member Functions

virtual void print_node (std::ostream &stream, int indent) const
virtual double evaluate_node () const
virtual std::string evaluate_string () const


Detailed Description

Void data type. Currently used only for the node default constructor.

Definition at line 50 of file node_impl.hpp.


Constructor & Destructor Documentation

node_void::node_void (  ) 

Definition at line 70 of file node_impl.cpp.

00071 : node_impl()
00072 {}


Member Function Documentation

void node_void::print_node ( std::ostream &  stream,
int  indent 
) const [private, virtual]

Implements node_impl.

Definition at line 74 of file node_impl.cpp.

00076 {
00077   stream << std::setw(indent) << "" << "void\n";
00078 }

double node_void::evaluate_node (  )  const [private, virtual]

Implements node_impl.

Definition at line 80 of file node_impl.cpp.

00082 {
00083   return 0.0;
00084 }

std::string node_void::evaluate_string (  )  const [private, virtual]

Reimplemented from node_impl.

Definition at line 86 of file node_impl.cpp.

00088 {
00089   return std::string();
00090 }


The documentation for this class was generated from the following files:
Generated on Sun Nov 30 10:05:28 2008 for Calculator by  doxygen 1.5.3