afl::ddf::Node Class Reference

#include <node.h>

List of all members.

Public Member Functions

 ~Node ()
 Node (const Node &toCopy)
Nodeoperator= (const Node &toCopy)
void init ()
const GeometrygetGeometry () const
data_t get (size_t row=0, size_t col=0, size_t epoch=0) const
void set (data_t datum, size_t row=0, size_t col=0, size_t epoch=0)
size_t getRows () const
size_t getCols () const
size_t getEpochs () const


Detailed Description

class Node stores raw data.


Constructor & Destructor Documentation

afl::ddf::Node::~Node  ) 
 

destructor

afl::ddf::Node::Node const Node toCopy  ) 
 

copy constructor

Parameters:
toCopy the node to copy


Member Function Documentation

data_t afl::ddf::Node::get size_t  row = 0,
size_t  col = 0,
size_t  epoch = 0
const
 

Parameters:
row selects the row
col selects the column
epoch selects the epoch
Returns:
the value stored at the corresponding cell
Exceptions:
OutOfBoundException if the requested location doesn't exist

size_t afl::ddf::Node::getCols  )  const [inline]
 

Returns:
the number of columns in the node

size_t afl::ddf::Node::getEpochs  )  const [inline]
 

Returns:
the number of epochs in the node

const Geometry* afl::ddf::Node::getGeometry  )  const
 

Returns:
the geometry of the property

size_t afl::ddf::Node::getRows  )  const [inline]
 

Returns:
the number of rows in the node

void afl::ddf::Node::init  ) 
 

sets all the values in the node to 0

Node& afl::ddf::Node::operator= const Node toCopy  ) 
 

assignment operator

Parameters:
toCopy the node to copy return reference to this node

void afl::ddf::Node::set data_t  datum,
size_t  row = 0,
size_t  col = 0,
size_t  epoch = 0
 

Parameters:
datum the entered datum at the appropriate location
row selects the row
col selects the column
epoch selects the epoch
Exceptions:
OutOfBoundException if the requested location doesn't exist


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 07:17:52 2006 for afl by  doxygen 1.4.6