ClearSilver::RootNode Class Reference

Root node of ClearSilver HDF dataset. More...

#include <RootNode.h>

List of all members.

Public Member Functions

 RootNode ()
 Default constructor.
 RootNode (ClearSilverNode::HDF *, bool)
 Constructor from preexisting node.
 RootNode (const RootNode &)
 Copy constructor.
 ~RootNode () throw ()
 Destructor.
RootNodeoperator= (const RootNode &)
 Assignment operator.
ClearSilverNode operator() () const
 Return the root node.
void swap (RootNode &) throw ()
 Swap contents with another object.
bool empty () const
 Is the root node empty?

Static Public Member Functions

static bool & debug ()
 Access the debug flag.


Detailed Description

Root node of ClearSilver HDF dataset.

This class provides memory management for a node of an HDF or ConstHDF dataset. The single RootNode for each dataset is shared amongst different copies of the primary interfaces, ConstHDF and HDF, through the use of a boost::shared_ptr<ClearSilverNode>.

Definition at line 59 of file RootNode.h.


Constructor & Destructor Documentation

ClearSilver::RootNode::RootNode ClearSilverNode::HDF ,
bool 
 

Constructor from preexisting node.

The constructed RootNode object may or may not take ownership of the memory pointed to by the argument, depending on the boolean argument. If that argument is true, this object takes responsibility for managing the memory associated with the HDF dataset; otherwise it does not. It is the responsibility of the caller to make this distinction.

Definition at line 68 of file RootNode.cc.


Member Function Documentation

bool & ClearSilver::RootNode::debug  )  [static]
 

Access the debug flag.

If the debug flag is true, syslog(3) messages with priority LOG_DEBUG will be logged.

Definition at line 116 of file RootNode.cc.


The documentation for this class was generated from the following files:
Generated on Tue May 16 14:50:54 2006 for ClearSilver C++ Library by  doxygen 1.4.5