#include <c4d_browsefiles.h>
Public Member Functions | |
BrowseFiles () | |
~BrowseFiles () | |
void | Init (const Filename &directory, Int32 flags) |
Bool | GetNext () |
Int64 | GetSize () |
Bool | IsDir () |
Bool | IsHidden () |
Bool | IsBundle () |
Bool | IsReadOnly () |
void | GetFileTime (Int32 mode, LocalFileTime *out) |
Filename | GetFilename () |
Filename | GetFilePath () |
Private Attributes | |
SysBrowseFiles * | uncached |
Helper to browse through files.
BrowseFiles | ( | ) |
~BrowseFiles | ( | ) |
Initializes the class to browse a certain directory.
[in] | directory | The directory to browse. |
[in] | flags | The browser files flags: BROWSEFILES |
Bool GetNext | ( | ) |
Gets the next file or subdirectory in the browsed directory.
Int64 GetSize | ( | ) |
Gets the size for the current file.
Bool IsDir | ( | ) |
Checks if the current element is a directory.
Bool IsHidden | ( | ) |
Checks if the current file or directory is hidden.
Bool IsBundle | ( | ) |
Checks if the current file or directory is a bundle.
Bool IsReadOnly | ( | ) |
Checks if the current file or directory is read-only.
void GetFileTime | ( | Int32 | mode, |
LocalFileTime * | out | ||
) |
Gets a time for the current file or directory.
[in] | mode | The file time mode: GE_FILETIME |
[out] | out | Filled with the retrieved file time. The caller owns the pointed file time. |
Filename GetFilename | ( | ) |
Gets the name of the current file or directory.
Filename GetFilePath | ( | ) |
Gets the name of the current file path or directory.
|
private |