|
bes
Updated for version 3.20.13
|

Public Types | |
| typedef std::vector< CatalogItem * >::const_iterator | item_citer |
| typedef std::vector< CatalogItem * >::iterator | item_iter |
Public Member Functions | |
| void | add_leaf (CatalogItem *leaf) |
| Add information about an leaf that is in this node of the catalog. More... | |
| void | add_node (CatalogItem *node) |
| Add information about an node that is in this node of the catalog. More... | |
| CatalogNode () | |
| Make an empty instance. More... | |
| CatalogNode (const std::string &name) | |
| virtual void | dump (std::ostream &strm) const |
| void | encode_node (BESInfo *info) |
| Encode this CatalogNode in an info object. More... | |
| std::string | get_catalog_name () const |
| The name of the catalog. More... | |
| size_t | get_item_count () const |
| CatalogItem * | get_leaf () const |
| size_t | get_leaf_count () const |
| How many leaves are in this node of the catalog? More... | |
| std::string | get_lmt () const |
| Get the last modified time for this node. More... | |
| std::string | get_name () const |
| The name of this node in the catalog. More... | |
| size_t | get_node_count () const |
| How many nodes are in this node of the catalog? More... | |
| item_iter | leaves_begin () |
| item_iter | leaves_end () |
| item_iter | nodes_begin () |
| item_iter | nodes_end () |
| void | set_catalog_name (std::string cn) |
| Set the name of the catalog. More... | |
| void | set_leaf (CatalogItem *leaf) |
| void | set_lmt (std::string lmt) |
| Set the LMT for this node. More... | |
| void | set_name (std::string n) |
| Set the name of the catalog's node. More... | |
Definition at line 45 of file CatalogNode.h.
|
inline |
Make an empty instance.
Definition at line 69 of file CatalogNode.h.
|
inline |
Add information about an leaf that is in this node of the catalog.
Definition at line 124 of file CatalogNode.h.
|
inline |
Add information about an node that is in this node of the catalog.
Definition at line 116 of file CatalogNode.h.
|
virtual |
Dump out information about this object
| strm | Write to this stream |
Implements BESObj.
Definition at line 123 of file CatalogNode.cc.
| void CatalogNode::encode_node | ( | BESInfo * | info | ) |
Encode this CatalogNode in an info object.
A CatalogNode is encoded as XML using the following grammar, where XML attributes in square brackets are optional.
The <node> element may contain zero or more <leaf> elements.
| info | Add information to this instance of BESInfo. |
Definition at line 79 of file CatalogNode.cc.
|
inline |
The name of the catalog.
Definition at line 85 of file CatalogNode.h.
|
inline |
How many leaves are in this node of the catalog?
Definition at line 122 of file CatalogNode.h.
|
inline |
Get the last modified time for this node.
Definition at line 90 of file CatalogNode.h.
|
inline |
The name of this node in the catalog.
Definition at line 80 of file CatalogNode.h.
|
inline |
How many nodes are in this node of the catalog?
Definition at line 114 of file CatalogNode.h.
|
inline |
Set the name of the catalog.
Definition at line 87 of file CatalogNode.h.
|
inline |
Set the LMT for this node.
Definition at line 92 of file CatalogNode.h.
|
inline |
Set the name of the catalog's node.
Definition at line 82 of file CatalogNode.h.