Open CASCADE Technology
6.5.4
|
Management of directories
#include <OSD_Directory.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | OSD_Directory () |
Creates Directory object. It is initiliazed to an empty name. | |
OSD_Directory (const OSD_Path &Name) | |
Creates Directory object initialized with Name. | |
void | Build (const OSD_Protection &Protect) |
Creates (physically) a directory. When a directory of the same name already exists, no error is returned, and only <Protect> is applied to the existing directory. If Build is used and <me> is instantiated without a name, OSDError is raised. | |
Static Public Member Functions | |
static OSD_Directory | BuildTemporary () |
Creates a temporary Directory in current directory. This directory is automatically removed when object dies. |
OSD_Directory::OSD_Directory | ( | const OSD_Path & | Name | ) |
void OSD_Directory::Build | ( | const OSD_Protection & | Protect | ) |
static OSD_Directory OSD_Directory::BuildTemporary | ( | ) | [static] |