Definition at line 45 of file CatalogNode.h.
◆ item_citer
typedef std::vector<CatalogItem*>::const_iterator bes::CatalogNode::item_citer |
◆ item_iter
typedef std::vector<CatalogItem*>::iterator bes::CatalogNode::item_iter |
◆ CatalogNode() [1/2]
bes::CatalogNode::CatalogNode |
( |
| ) |
|
|
inline |
◆ CatalogNode() [2/2]
bes::CatalogNode::CatalogNode |
( |
const std::string & | name | ) |
|
|
inline |
◆ ~CatalogNode()
CatalogNode::~CatalogNode |
( |
| ) |
|
|
virtual |
◆ add_leaf()
Add information about an leaf that is in this node of the catalog.
Definition at line 124 of file CatalogNode.h.
◆ add_node()
Add information about an node that is in this node of the catalog.
Definition at line 116 of file CatalogNode.h.
◆ dump()
void CatalogNode::dump |
( |
std::ostream & | strm | ) |
const |
|
virtual |
Dump out information about this object
- Parameters
-
Implements BESObj.
Definition at line 123 of file CatalogNode.cc.
◆ encode_node()
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.
<node name="path" catalog="catalog name" lastModified="date T time"
count="number of child nodes" >
The <node> element may contain zero or more <leaf> elements.
- Parameters
-
info | Add information to this instance of BESInfo. |
- See also
- CatalogItem::encode_item()
Definition at line 79 of file CatalogNode.cc.
◆ get_catalog_name()
std::string bes::CatalogNode::get_catalog_name |
( |
| ) |
const |
|
inline |
◆ get_item_count()
size_t bes::CatalogNode::get_item_count |
( |
| ) |
const |
|
inline |
◆ get_leaf()
◆ get_leaf_count()
size_t bes::CatalogNode::get_leaf_count |
( |
| ) |
const |
|
inline |
How many leaves are in this node of the catalog?
Definition at line 122 of file CatalogNode.h.
◆ get_lmt()
std::string bes::CatalogNode::get_lmt |
( |
| ) |
const |
|
inline |
Get the last modified time for this node.
Definition at line 90 of file CatalogNode.h.
◆ get_name()
std::string bes::CatalogNode::get_name |
( |
| ) |
const |
|
inline |
The name of this node in the catalog.
Definition at line 80 of file CatalogNode.h.
◆ get_node_count()
size_t bes::CatalogNode::get_node_count |
( |
| ) |
const |
|
inline |
How many nodes are in this node of the catalog?
Definition at line 114 of file CatalogNode.h.
◆ leaves_begin()
item_iter bes::CatalogNode::leaves_begin |
( |
| ) |
|
|
inline |
◆ leaves_end()
item_iter bes::CatalogNode::leaves_end |
( |
| ) |
|
|
inline |
◆ nodes_begin()
item_iter bes::CatalogNode::nodes_begin |
( |
| ) |
|
|
inline |
◆ nodes_end()
item_iter bes::CatalogNode::nodes_end |
( |
| ) |
|
|
inline |
◆ set_catalog_name()
void bes::CatalogNode::set_catalog_name |
( |
std::string | cn | ) |
|
|
inline |
◆ set_leaf()
◆ set_lmt()
void bes::CatalogNode::set_lmt |
( |
std::string | lmt | ) |
|
|
inline |
◆ set_name()
void bes::CatalogNode::set_name |
( |
std::string | n | ) |
|
|
inline |
Set the name of the catalog's node.
Definition at line 82 of file CatalogNode.h.
The documentation for this class was generated from the following files: