afl::ddf::VNode Class Reference

#include <vnode.h>

List of all members.

Public Member Functions

 VNode (PropertySet *rs, size_t nodeid)
 VNode (const PropertySet *rs, size_t nodeid)
 VNode (const VNode &toCopy)
VNodeoperator= (const VNode &toCopy)
void set (data_t datum, property_t prop, size_t row=0, size_t col=0, size_t epoch=0)
data_t get (property_t prop, size_t row=0, size_t col=0, size_t epoch=0) const


Detailed Description

class VNode accesses nodes in the results set directly from the PropertySet and not from the Property


Constructor & Destructor Documentation

afl::ddf::VNode::VNode PropertySet rs,
size_t  nodeid
 

Parameters:
rs the property set this vnode is pointing to.
nodeid the index of the node this resultset represents.

afl::ddf::VNode::VNode const PropertySet rs,
size_t  nodeid
 

Parameters:
rs the property set this vnode is pointing to.
nodeid the index of the node this resultset represents.

afl::ddf::VNode::VNode const VNode toCopy  ) 
 

Parameters:
toCopy the VNode object to copy


Member Function Documentation

data_t afl::ddf::VNode::get property_t  prop,
size_t  row = 0,
size_t  col = 0,
size_t  epoch = 0
const
 

returns a value from a particular node and property

Parameters:
prop the name of the property that will be affected
row selects the row
col selects the column
epoch selects the epoch
Returns:
the stored datum at the corresponding location
Exceptions:
OutOfBoundsException if the property doesn't exist or the value of either of row, col and epoch is too large.

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

Parameters:
toCopy a VNode to mimic

void afl::ddf::VNode::set data_t  datum,
property_t  prop,
size_t  row = 0,
size_t  col = 0,
size_t  epoch = 0
 

sets a value at a particular node and property

Parameters:
prop the name of the property this operation will affect
datum the value to store
row selects the row
col selects the column
epoch selects the epoch
Exceptions:
OutOfBoundsException if the property doesn't exist or the value of either of row, col and epoch is too large.


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