osbfileutil.h File Reference
Detailed Description
Utilities for file and directory handling.
- Version:
- Name
- OSB_060808
- Revision
- 1.17
Definition in file osbfileutil.h.
Go to the source code of this file.
Namespaces
Classes
Functions
- std::string OSB_LIB::dirName (const std::string &path)
- Get the directory component of a path.
- std::string OSB_LIB::baseName (const std::string &path)
- Get the filename component of a path.
- int OSB_LIB::mkDir (const std::string &path, bool mkParents=false)
- Create a directory.
- bool OSB_LIB::fileExists (const std::string &path, bool ct=false)
- Test if a file exists.
- bool OSB_LIB::dirExists (const std::string &path, bool ct=false)
- Test if a directory exists.
- bool OSB_LIB::openStream (std::fstream &stream, const std::string &path, std::ios_base::openmode openMode)
- Open the an output stream.
- int OSB_LIB::fileOpenError (const std::string &path, const std::string &mode)
- Determine the error when opening a file.
Generated on Sat Sep 2 14:06:36 2006 for OSB Library by
1.4.7