| 
    HDK
    
   | 
 
Functions | |
| template<bool DIR, typename T > | |
| bool | process (T &func, UT_WorkBuffer &fullpath, exint fullpath_len, const UT_StringArray &paths, const UT_Array< FS_Stat > &stats) | 
| Utility function to process the contents of the traverse() function.  More... | |
| template<typename T > | |
| void | traverse (T &func, const char *path, bool sort_contents=false, bool directories_first=true) | 
| bool FS::process | ( | T & | func, | 
| UT_WorkBuffer & | fullpath, | ||
| exint | fullpath_len, | ||
| const UT_StringArray & | paths, | ||
| const UT_Array< FS_Stat > & | stats | ||
| ) | 
Utility function to process the contents of the traverse() function.
Definition at line 24 of file FS_Traverse.h.
| void FS::traverse | ( | T & | func, | 
| const char * | path, | ||
| bool | sort_contents = false,  | 
        ||
| bool | directories_first = true  | 
        ||
| ) | 
FS function to process all files in a directory. The template functor should have two methods:
For example, to list all files in a directory:
Definition at line 70 of file FS_Traverse.h.