Wt examples
4.11.3
filetreetable
FileTreeTableNode.h
Go to the documentation of this file.
1
// This may look like C code, but it's really -*- C++ -*-
2
/*
3
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
4
*
5
* See the LICENSE file for terms of use.
6
*/
7
#ifndef FILETREETABLENODE_H_
8
#define FILETREETABLENODE_H_
9
10
#include <Wt/WTreeTableNode.h>
11
12
#include <boost/filesystem/path.hpp>
13
14
using namespace
Wt
;
15
20
30
class
FileTreeTableNode
:
public
WTreeTableNode
31
{
32
public
:
35
FileTreeTableNode
(
const
boost::filesystem::path& path);
36
37
private
:
39
boost::filesystem::path
path_
;
40
42
virtual
void
populate()
override
;
43
45
virtual
bool
expandable()
override
;
46
48
static
std::unique_ptr<WIconPair> createIcon(
const
boost::filesystem::path& path);
49
};
50
53
#endif
// FILETREETABLENODE_H_
FileTreeTableNode
A single node in a file tree table.
Definition:
FileTreeTableNode.h:31
FileTreeTableNode::path_
boost::filesystem::path path_
The path.
Definition:
FileTreeTableNode.h:39
Wt::WTreeTableNode
Wt
Generated on Wed Feb 19 2025 for
the C++ Web Toolkit (Wt)
by
1.9.1