#include <FileTreeTableNode.h>

Public Member Functions | |
| FileTreeTableNode (const boost::filesystem::path &path) | |
| Construct a new node for the given file. | |
Private Member Functions | |
| virtual void | populate () |
| Reimplements WTreeNode::populate to read files within a directory. | |
| virtual bool | expandable () |
| Reimplements WTreeNode::expandable. | |
Static Private Member Functions | |
| static Wt::WIconPair * | createIcon (const boost::filesystem::path &path) |
| Create the iconpair for representing the path. | |
Private Attributes | |
| boost::filesystem::path | path_ |
| The path. | |
The node manages the details about one file, and if the file is a directory, populates a subtree with nodes for every directory item.
The tree node reimplements Wt::WTreeTableNode::populate() to populate a directory node only when the node is expanded. In this way, only directories that are actually browsed are loaded from disk.
Definition at line 28 of file FileTreeTableNode.h.
| FileTreeTableNode::FileTreeTableNode | ( | const boost::filesystem::path & | path | ) |
| void FileTreeTableNode::populate | ( | ) | [private, virtual] |
Reimplements WTreeNode::populate to read files within a directory.
Reimplemented from Wt::WTreeNode.
Definition at line 64 of file FileTreeTableNode.C.
| bool FileTreeTableNode::expandable | ( | ) | [private, virtual] |
Reimplements WTreeNode::expandable.
Reimplemented from Wt::WTreeNode.
Definition at line 83 of file FileTreeTableNode.C.
| WIconPair * FileTreeTableNode::createIcon | ( | const boost::filesystem::path & | path | ) | [static, private] |
boost::filesystem::path FileTreeTableNode::path_ [private] |
1.5.3