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

NodeTable Class Reference

#include <NodeTable.h>

List of all members.


Detailed Description

Container for AuroraNode Table transactions.


Public Member Functions

 NodeTable (TableMap &init)
 Constuctor links _table_map to a node's Topology.
 ~NodeTable ()
 Default destructor.
void parseAddBoxXml (const DOMElement *boxNode, TableMap &top_tables, string box_name, ptr< QBox > box) throw ( AuroraException )
 Attach a table to a newly added pox.
void parseAddXml (AuroraNode &node, string table_name, TupleDescription desc, DOMElement *entityelt, TableMap top_tables)
 Add a table to the schema for a node.
void parseRemoveBoxXml (const DOMElement *removeBoxNode, const string box_name, ptr< QBox > box) throw ( AuroraException )
 If a box contains a table then delete the table.
void parseRemoveXml () throw ( AuroraException )
 NYI: Remove all tables from a node.
void shutdown ()
 Flush any cached table information.


Constructor & Destructor Documentation

NodeTable::NodeTable TableMap map  ) 
 

Constuctor links _table_map to a node's Topology.

Parameters:
map  Initial set of mapped tables for the node.

NodeTable::~NodeTable  ) 
 

Default destructor.


Member Function Documentation

void NodeTable::parseAddBoxXml const DOMElement *  boxNode,
TableMap top_tables,
string  box_name,
ptr< QBox box
throw ( AuroraException )
 

Attach a table to a newly added pox.

Parameters:
boxNode  XML for the box node to add.
top_tables  Tables in this node's Topology.
box_name  Schema name for the box being added.
box  Instance to fill in for the box.

void NodeTable::parseAddXml AuroraNode node,
string  table_name,
TupleDescription  desc,
DOMElement *  entityelt,
TableMap  top_tables
 

Add a table to the schema for a node.

Parameters:
node  Add the table to this node.
table_name  Name of the table being added.
desc  Tuple containing the table.
entityelt  Xml for the table.
top_tables  Reference to tables in the node's Topology.

void NodeTable::parseRemoveBoxXml const DOMElement *  removeBoxNode,
const string  box_name,
ptr< QBox box
throw ( AuroraException )
 

If a box contains a table then delete the table.

Parameters:
removeBoxNode  XML for the box node being removed.
box_name  Schema name of the box node being removed.
box  Instance for the box.

void NodeTable::parseRemoveXml  )  throw ( AuroraException )
 

NYI: Remove all tables from a node.

void NodeTable::shutdown  ) 
 

Flush any cached table information.


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8