// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _OSD_Directory_HeaderFile #define _OSD_Directory_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _OSD_FileNode_HeaderFile #include #endif class OSD_Path; class OSD_Protection; //! Management of directories
class OSD_Directory : public OSD_FileNode { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Creates Directory object.
//! It is initiliazed to an empty name.
Standard_EXPORT OSD_Directory(); //! Creates Directory object initialized with Name.
Standard_EXPORT OSD_Directory(const OSD_Path& Name); //! Creates (physically) a directory.
//! When a directory of the same name already exists, no error is
//! returned, and only is applied to the existing directory.
Standard_EXPORT void Build(const OSD_Protection& Protect) ; //! Creates a temporary Directory in current directory.
//! This directory is automatically removed when object dies.
Standard_EXPORT static OSD_Directory BuildTemporary() ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif