GNode Class Reference
#include <GNode.h>
List of all members.
Detailed Description
GNode is a class representing a node for the generator class
Constructor & Destructor Documentation
| GNode::GNode |
( |
|
) |
[inline] |
| GNode::~GNode |
( |
|
) |
[inline] |
GNode destructor.
returns init
Member Function Documentation
| int GNode::get_id |
( |
void |
|
) |
[inline] |
| int GNode::get_init |
( |
void |
|
) |
[inline] |
| string GNode::get_name |
( |
void |
|
) |
[inline] |
returns the name of this node
| int GNode::ncols |
( |
void |
|
) |
[inline] |
returns the number of columns
| void GNode::new_input |
( |
const Input & |
n |
) |
[inline] |
adds an input named n to this node
| int GNode::nrows |
( |
void |
|
) |
[inline] |
returns the number of rows
| void GNode::print_inputs |
( |
void |
|
) |
|
Prints out the inputs to this node
| void GNode::print_table |
( |
void |
|
) |
|
Prints out the table for this node
| void GNode::set |
( |
const string & |
n, |
|
|
const int & |
i, |
|
|
const int & |
_init | |
|
) |
| | [inline] |
sets the name, id and initial values
| bool GNode::table_init |
( |
const int & |
i |
) |
|
Constructs a table based on the number of inputs
Friends And Related Function Documentation
| ostream& operator<< |
( |
ostream & |
os, |
|
|
const GNode & |
n | |
|
) |
| | [friend] |
prints information about node n into ostream os
Member Data Documentation
The documentation for this class was generated from the following files: