HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FS_Info.h File Reference
#include "FS_API.h"
#include <UT/UT_Assert.h>
#include <UT/UT_NonCopyable.h>
#include <UT/UT_ValArray.h>
#include <UT/UT_Array.h>
#include <UT/UT_String.h>
#include <UT/UT_StringArray.h>
#include <UT/UT_SysClone.h>
#include <SYS/SYS_Types.h>
+ Include dependency graph for FS_Info.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FS_Stat
 Helper class for encapsulating file information. More...
 
class  FS_Info
 Class for retrieving file information. More...
 
class  FS_InfoHelper
 

Enumerations

enum  FS_FileAccessMode { FS_READ = 0x01, FS_WRITE = 0x02, FS_EXECUTE = 0x04 }
 Read, write and execute permissions for files. More...
 

Functions

FS_API bool FSmakeDirs (FS_Info &dir_info, mode_t mode=0777, bool ignore_umask=false)
 Make a directory and all the parent directories needed. More...
 

Enumeration Type Documentation

Read, write and execute permissions for files.

Enumerator
FS_READ 
FS_WRITE 
FS_EXECUTE 

Definition at line 47 of file FS_Info.h.

Function Documentation

FS_API bool FSmakeDirs ( FS_Info dir_info,
mode_t  mode = 0777,
bool  ignore_umask = false 
)

Make a directory and all the parent directories needed.

Parameters
dir_info
The directory path to create
mode
The unix file mode
ignore_umask
By default, the users umask will be used in conjunction with the mode. This parameter will force the mode to be the given value.
Returns
Returns false only if a directory creation attempt failed.