CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SpecTreeNode Class Reference

#include <spec_tree.h>

Public Member Functions

 SpecTreeNode (char modeParam)
 
 ~SpecTreeNode ()
 
SpecTreeNodeGetNode (const std::string &name)
 
int GetListing (std::string base_path, char ***buf, size_t *len)
 
void AddNode (const std::string &name, SpecTreeNode *node)
 

Public Attributes

char mode
 

Private Attributes

std::map< std::string,
SpecTreeNode * > 
nodes_
 

Detailed Description

Definition at line 15 of file spec_tree.h.

Constructor & Destructor Documentation

SpecTreeNode::SpecTreeNode ( char  modeParam)
inlineexplicit

Definition at line 17 of file spec_tree.h.

SpecTreeNode::~SpecTreeNode ( )
inline

Definition at line 19 of file spec_tree.h.

Member Function Documentation

void SpecTreeNode::AddNode ( const std::string &  name,
SpecTreeNode node 
)

Definition at line 244 of file spec_tree.cc.

int SpecTreeNode::GetListing ( std::string  base_path,
char ***  buf,
size_t *  len 
)

Definition at line 248 of file spec_tree.cc.

Referenced by SpecTree::ListDir().

Here is the call graph for this function:

Here is the caller graph for this function:

SpecTreeNode * SpecTreeNode::GetNode ( const std::string &  name)

Definition at line 237 of file spec_tree.cc.

Referenced by SpecTree::IsMatching(), SpecTree::ListDir(), and SpecTree::Parse().

Here is the caller graph for this function:

Member Data Documentation

char SpecTreeNode::mode

0: include this file *: include deep copy from here on ^: include flat copy from here on

_: passby directory -: NOT passby directory (for internal purposes, can be overwritten by _)

!: Do not include this file

Definition at line 41 of file spec_tree.h.

Referenced by SpecTree::IsMatching(), SpecTree::ListDir(), and SpecTree::Parse().

std::map<std::string, SpecTreeNode*> SpecTreeNode::nodes_
private

Definition at line 44 of file spec_tree.h.

Referenced by AddNode(), GetListing(), GetNode(), and ~SpecTreeNode().


The documentation for this class was generated from the following files: