Module dir [Version: ]
[Main Page] [Details] [Tests]
[
DIRECTORY] [
TreeWalkCallback]
This documentation describes the Prokee module interface.
Templates
Show templates with parameter T set to: (
T) -- (
char) -- (
wchar_t)
Static Template Methods:
createdir
int dir::createdir(const wchar_t *path)
testdir
bool dir::testdir(const wchar_t *path)
deletedir
bool dir::deletedir(const wchar_t *path)
opendir
DIRECTORY< wchar_t > *dir::opendir(const wchar_t *path)
getNextItem
wchar_t *dir::getNextItem(DIRECTORY< wchar_t > *d)
isEmpty
bool dir::isEmpty(const wchar_t *path)
closedir
bool dir::closedir(DIRECTORY< wchar_t > *d)
printtree
bool dir::printtree(const wchar_t *path,int depth)
walktree (version 2)
bool dir::walktree(const wchar_t *path,TreeWalkCallback< wchar_t > *twcb,int level,int maxlevel)
walkflat
bool dir::walkflat(const wchar_t *path,TreeWalkCallback< wchar_t > *twcb)
copydir (version 2)
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath,const wchar_t *directory)
copydir (version 3)
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath,CondCopyControl< wchar_t > *ccc)
copydir (version 4)
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath,const wchar_t *directory,CondCopyControl< wchar_t > *ccc)
Interfaces
Static Template Methods
getProgramDirectory
Signature:
wchar_t *dir::getProgramDirectory(const wchar_t *param)
Parameters:| const wchar_t * | param | [IN] | param |
Return value:Returnes the program directory.
createdir
Signature:
int dir::createdir(const wchar_t *path)
Parameters:| const wchar_t * | path | [IN] | path |
testdir
Signature:
bool dir::testdir(const wchar_t *path)
Parameters:| const wchar_t * | path | [IN] | path |
deletedir
Signature:
bool dir::deletedir(const wchar_t *path)
Parameters:| const wchar_t * | path | [IN] | path |
opendir
Signature:
DIRECTORY< wchar_t > *dir::opendir(const wchar_t *path)
Parameters:| const wchar_t * | path | [IN] | path |
getNextItem
Signature:
wchar_t *dir::getNextItem(DIRECTORY< wchar_t > *d)
Parameters:| DIRECTORY< wchar_t > * | d | [IN] | Pointer to an instance of an implementation of DIRECTORY. See dir:DIRECTORY. |
getItemCount
Signature:
int dir::getItemCount(const wchar_t *path)
Parameters:| const wchar_t * | path | [IN] | path |
isEmpty
Signature:
bool dir::isEmpty(const wchar_t *path)
Parameters:| const wchar_t * | path | [IN] | path |
closedir
Signature:
bool dir::closedir(DIRECTORY< wchar_t > *d)
Parameters:| DIRECTORY< wchar_t > * | d | [IN] | Pointer to an instance of an implementation of DIRECTORY. See dir:DIRECTORY. |
printtree
Signature:
bool dir::printtree(const wchar_t *path,int depth)
Parameters:| const wchar_t * | path | [IN] | path |
| int | depth | | depth |
walktree (version 1)
Signature:
bool dir::walktree(const wchar_t *path,TreeWalkCallback< wchar_t > *twcb)
Parameters:| const wchar_t * | path | [IN] | path |
| TreeWalkCallback< wchar_t > * | twcb | [IN] | Pointer to an instance of an implementation of TreeWalkCallback. See dir:TreeWalkCallback. |
walktree (version 2)
Signature:
bool dir::walktree(const wchar_t *path,TreeWalkCallback< wchar_t > *twcb,int level,int maxlevel)
Parameters:| const wchar_t * | path | [IN] | path |
| TreeWalkCallback< wchar_t > * | twcb | [IN] | Pointer to an instance of an implementation of TreeWalkCallback. See dir:TreeWalkCallback. |
| int | level | | level |
| int | maxlevel | | maxlevel |
walkflat
Signature:
bool dir::walkflat(const wchar_t *path,TreeWalkCallback< wchar_t > *twcb)
Parameters:| const wchar_t * | path | [IN] | path |
| TreeWalkCallback< wchar_t > * | twcb | [IN] | Pointer to an instance of an implementation of TreeWalkCallback. See dir:TreeWalkCallback. |
copydir (version 1)
Signature:
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath)
Parameters:| const wchar_t * | targetpath | [IN] | The path (as null-terminated string). |
| const wchar_t * | sourcepath | [IN] | The path (as null-terminated string). |
copydir (version 2)
Signature:
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath,const wchar_t *directory)
Parameters:| const wchar_t * | targetpath | [IN] | The path (as null-terminated string). |
| const wchar_t * | sourcepath | [IN] | The path (as null-terminated string). |
| const wchar_t * | directory | [IN] | directory |
copydir (version 3)
Signature:
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath,CondCopyControl< wchar_t > *ccc)
Parameters:| const wchar_t * | targetpath | [IN] | The path (as null-terminated string). |
| const wchar_t * | sourcepath | [IN] | The path (as null-terminated string). |
| CondCopyControl< wchar_t > * | ccc | [IN] | Pointer to an instance of an implementation of CondCopyControl. See file:CondCopyControl. |
copydir (version 4)
Signature:
bool dir::copydir(const wchar_t *targetpath,const wchar_t *sourcepath,const wchar_t *directory,CondCopyControl< wchar_t > *ccc)
Parameters:| const wchar_t * | targetpath | [IN] | The path (as null-terminated string). |
| const wchar_t * | sourcepath | [IN] | The path (as null-terminated string). |
| const wchar_t * | directory | [IN] | directory |
| CondCopyControl< wchar_t > * | ccc | [IN] | Pointer to an instance of an implementation of CondCopyControl. See file:CondCopyControl. |