#include <RootNode.h>
Public Member Functions | |
| RootNode () | |
| Default constructor. | |
| RootNode (ClearSilverNode::HDF *, bool) | |
| Constructor from preexisting node. | |
| RootNode (const RootNode &) | |
| Copy constructor. | |
| ~RootNode () throw () | |
| Destructor. | |
| RootNode & | operator= (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. | |
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 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. |
|
|
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. |
1.4.5