FIFE
be64c707dea6b3250bd4355bf5c825d25920087d
|
#include <ziptree.h>
Public Member Functions | |
ZipTree () | |
constructor More... | |
~ZipTree () | |
destructor More... | |
ZipNode * | addNode (const std::string &nodePath) |
adds a node to the proper place in the tree based on the node path name More... | |
ZipNode * | getNode (const std::string &name) const |
accessor for getting a node by name More... | |
ZipNode * | getRootNode () const |
accessor for the root node of the tree mostly used for debugging purposes More... | |
Private Attributes | |
ZipNode * | m_rootNode |
FIFE::ZipTree::ZipTree | ( | ) |
constructor
Definition at line 39 of file ziptree.cpp.
FIFE::ZipTree::~ZipTree | ( | ) |
ZipNode * FIFE::ZipTree::addNode | ( | const std::string & | nodePath | ) |
adds a node to the proper place in the tree based on the node path name
nodePath | the node description |
Definition at line 48 of file ziptree.cpp.
References FIFE::ZipNode::addChild(), FIFE::ZipNode::getChild(), FIFE::GetPathIteratorAsString(), and m_rootNode.
Referenced by FIFE::ZipSource::readFileToIndex().
ZipNode * FIFE::ZipTree::getNode | ( | const std::string & | name | ) | const |
accessor for getting a node by name
name | the name to search for @ param ZipNode pointer, or NULL if not found |
Definition at line 91 of file ziptree.cpp.
References FIFE::ZipNode::getChild(), FIFE::ZipNode::getParent(), FIFE::GetPathIteratorAsString(), and getRootNode().
Referenced by FIFE::ZipSource::fileExists(), FIFE::ZipSource::listDirectories(), FIFE::ZipSource::listFiles(), and FIFE::ZipSource::open().
ZipNode * FIFE::ZipTree::getRootNode | ( | ) | const |
accessor for the root node of the tree mostly used for debugging purposes
Definition at line 120 of file ziptree.cpp.
References m_rootNode.
Referenced by getNode(), and operator<<().
|
private |
Definition at line 72 of file ziptree.h.
Referenced by addNode(), getRootNode(), and ~ZipTree().