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