21 #ifndef FIFE_VFS_ZIP_ZIPNODE_H
22 #define FIFE_VFS_ZIP_ZIPNODE_H
std::vector< ZipNode * > ZipNodeContainer
bool isBranch() const
accessor for checking if this node has children
std::vector< ZipNode * > getChildren(ZipContentType::Enum contentType=ZipContentType::All) const
gives access to retrieve the children of this node
ZipContentType::Enum getContentType() const
accessor for the content type of this node
std::string getName() const
accessor for the name of this node
ZipEntryData()
constructor
std::ostream & operator<<(std::ostream &os, const Location &l)
Stream output operator.
void removeChild(ZipNode *child)
allows removing a child from this node
ZipNodeContainer m_directoryChildren
ZipNode * getChild(const std::string &name, ZipContentType::Enum contentType=ZipContentType::All) const
gives access to retrieving a specific child node by name
ZipNode(const std::string &name, ZipNode *parent=0)
constructor for creating a node
ZipNode * addChild(const std::string &child)
allows adding a child node to this node
ZipNode * getParent() const
accessor for the parent node of this node will be NULL if this node has no parent ...
std::string getFullName() const
accessor for the absolute path name of this node
void setZipEntryData(const ZipEntryData &entryData)
sets the zip file entry information for this node in the zip archive
ZipNodeContainer m_fileChildren
bool isLeaf() const
accessor for checking if this node has any children
const ZipEntryData & getZipEntryData() const
accessor for the entry data associated with this node in the zip archive
ZipContentType::Enum m_contentType