Module dir
[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 char *path)
testdir
bool dir::testdir(const char *path)
deletedir
bool dir::deletedir(const char *path)
opendir
DIRECTORY< char > *dir::opendir(const char *path)
getNextItem
char *dir::getNextItem(DIRECTORY< char > *d)
isEmpty
bool dir::isEmpty(const char *path)
closedir
bool dir::closedir(DIRECTORY< char > *d)
printtree
bool dir::printtree(const char *path,int depth)
walktree (version 2)
bool dir::walktree(const char *path,TreeWalkCallback< char > *twcb,int level,int maxlevel)
walkflat
bool dir::walkflat(const char *path,TreeWalkCallback< char > *twcb)
copydir (version 2)
bool dir::copydir(const char *targetpath,const char *sourcepath,const char *directory)
copydir (version 3)
bool dir::copydir(const char *targetpath,const char *sourcepath,CondCopyControl< char > *ccc)
copydir (version 4)
bool dir::copydir(const char *targetpath,const char *sourcepath,const char *directory,CondCopyControl< char > *ccc)
Interfaces
Static Template Methods
getProgramDirectory
Signature:
char *dir::getProgramDirectory(const char *param)
Parameters:| const char * | param | [IN] | param |
Return value:Returnes the program directory.
createdir
Signature:
int dir::createdir(const char *path)
Parameters:
testdir
Signature:
bool dir::testdir(const char *path)
Parameters:
deletedir
Signature:
bool dir::deletedir(const char *path)
Parameters:
opendir
Signature:
DIRECTORY< char > *dir::opendir(const char *path)
Parameters:
getNextItem
Signature:
char *dir::getNextItem(DIRECTORY< char > *d)
Parameters:| DIRECTORY< char > * | d | [IN] | Pointer to an instance of an implementation of DIRECTORY. See dir:DIRECTORY. |
getItemCount
Signature:
int dir::getItemCount(const char *path)
Parameters:
isEmpty
Signature:
bool dir::isEmpty(const char *path)
Parameters:
closedir
Signature:
bool dir::closedir(DIRECTORY< char > *d)
Parameters:| DIRECTORY< char > * | d | [IN] | Pointer to an instance of an implementation of DIRECTORY. See dir:DIRECTORY. |
printtree
Signature:
bool dir::printtree(const char *path,int depth)
Parameters:| const char * | path | [IN] | path |
| int | depth | | depth |
walktree (version 1)
Signature:
bool dir::walktree(const char *path,TreeWalkCallback< char > *twcb)
Parameters:| const char * | path | [IN] | path |
| TreeWalkCallback< char > * | twcb | [IN] | Pointer to an instance of an implementation of TreeWalkCallback. See dir:TreeWalkCallback. |
walktree (version 2)
Signature:
bool dir::walktree(const char *path,TreeWalkCallback< char > *twcb,int level,int maxlevel)
Parameters:| const char * | path | [IN] | path |
| TreeWalkCallback< char > * | 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 char *path,TreeWalkCallback< char > *twcb)
Parameters:| const char * | path | [IN] | path |
| TreeWalkCallback< char > * | twcb | [IN] | Pointer to an instance of an implementation of TreeWalkCallback. See dir:TreeWalkCallback. |
copydir (version 1)
Signature:
bool dir::copydir(const char *targetpath,const char *sourcepath)
Parameters:| const char * | targetpath | [IN] | The path (as null-terminated string). |
| const char * | sourcepath | [IN] | The path (as null-terminated string). |
copydir (version 2)
Signature:
bool dir::copydir(const char *targetpath,const char *sourcepath,const char *directory)
Parameters:| const char * | targetpath | [IN] | The path (as null-terminated string). |
| const char * | sourcepath | [IN] | The path (as null-terminated string). |
| const char * | directory | [IN] | directory |
copydir (version 3)
Signature:
bool dir::copydir(const char *targetpath,const char *sourcepath,CondCopyControl< char > *ccc)
Parameters:| const char * | targetpath | [IN] | The path (as null-terminated string). |
| const char * | sourcepath | [IN] | The path (as null-terminated string). |
| CondCopyControl< char > * | ccc | [IN] | Pointer to an instance of an implementation of CondCopyControl. See file:CondCopyControl. |
copydir (version 4)
Signature:
bool dir::copydir(const char *targetpath,const char *sourcepath,const char *directory,CondCopyControl< char > *ccc)
Parameters:| const char * | targetpath | [IN] | The path (as null-terminated string). |
| const char * | sourcepath | [IN] | The path (as null-terminated string). |
| const char * | directory | [IN] | directory |
| CondCopyControl< char > * | ccc | [IN] | Pointer to an instance of an implementation of CondCopyControl. See file:CondCopyControl. |