|
NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <DirTraverser.hpp>
Public Member Functions | |
| DirTraverser (wxTreeCtrl *therootNode, IconManager *theiconmanager, wxTreeItemId theid, const wxString &thepath, FileFilterType thefilespec) | |
| Constuctor. More... | |
| virtual wxDirTraverseResult | OnFile (const wxString &filename) |
| This method classifies the files found during traversing the directory and appends them to the tree, if they correspond to one of the selected file filter types. More... | |
| virtual wxDirTraverseResult | OnDir (const wxString &dirname) |
| This method appends the folders found during traversing the directory to the file tree. More... | |
Private Attributes | |
| wxTreeCtrl * | rootNode |
| IconManager * | iconManager |
| wxTreeItemId | id |
| FileFilterType | fileSpec |
| wxString | path |
| std::vector< wxTreeItemId > | vcurrentnodes |
| unsigned int | ncurrentdepth |
Definition at line 28 of file DirTraverser.hpp.
| DirTraverser::DirTraverser | ( | wxTreeCtrl * | therootNode, |
| IconManager * | theiconmanager, | ||
| wxTreeItemId | theid, | ||
| const wxString & | thepath, | ||
| FileFilterType | thefilespec | ||
| ) |
Constuctor.
| therootNode | wxTreeCtrl* |
| theiconmanager | IconManager* |
| theid | wxTreeItemId |
| thepath | const wxString& |
| thefilespec | FileFilterType |
Definition at line 34 of file DirTraverser.cpp.
References fileSpec, iconManager, ncurrentdepth, path, rootNode, and vcurrentnodes.
|
virtual |
This method appends the folders found during traversing the directory to the file tree.
| dirname | const wxString& |
Definition at line 150 of file DirTraverser.cpp.
References FileNameTreeData::filename, IconManager::GetIconIndex(), iconManager, FileNameTreeData::isDir, ncurrentdepth, rootNode, and vcurrentnodes.
|
virtual |
This method classifies the files found during traversing the directory and appends them to the tree, if they correspond to one of the selected file filter types.
| filename | const wxString& |
Definition at line 63 of file DirTraverser.cpp.
References FILE_DATAFILES, FILE_IMAGEFILES, FILE_NPRC, FILE_NSCR, FILE_NUMERE, FileNameTreeData::filename, fileSpec, IconManager::GetIconIndex(), iconManager, ncurrentdepth, rootNode, and vcurrentnodes.
|
private |
Definition at line 34 of file DirTraverser.hpp.
Referenced by DirTraverser(), and OnFile().
|
private |
Definition at line 32 of file DirTraverser.hpp.
Referenced by DirTraverser(), OnDir(), and OnFile().
|
private |
Definition at line 33 of file DirTraverser.hpp.
|
private |
Definition at line 37 of file DirTraverser.hpp.
Referenced by DirTraverser(), OnDir(), and OnFile().
|
private |
Definition at line 35 of file DirTraverser.hpp.
Referenced by DirTraverser().
|
private |
Definition at line 31 of file DirTraverser.hpp.
Referenced by DirTraverser(), OnDir(), and OnFile().
|
private |
Definition at line 36 of file DirTraverser.hpp.
Referenced by DirTraverser(), OnDir(), and OnFile().