FileUtils File Reference

#include <osgDB/Registry>
#include <vector>
#include <deque>
#include <string>

Namespaces

namespace  osgDB

Defines

#define OSGDB_FILEUTILS   1

Typedefs

typedef std::vector< std::string > osgDB::DirectoryContents

Enumerations

enum  osgDB::CaseSensitivity { osgDB::CASE_SENSITIVE, osgDB::CASE_INSENSITIVE }
enum  osgDB::FileType { osgDB::FILE_NOT_FOUND, osgDB::REGULAR_FILE, osgDB::DIRECTORY }

Functions

OSGDB_EXPORT bool osgDB::makeDirectory (const std::string &directoryPath)
OSGDB_EXPORT bool osgDB::makeDirectoryForFile (const std::string &filePath)
OSGDB_EXPORT bool osgDB::fileExists (const std::string &filename)
OSGDB_EXPORT FileType osgDB::fileType (const std::string &filename)
OSGDB_EXPORT std::string osgDB::findFileInPath (const std::string &filename, const FilePathList &filePath, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
OSGDB_EXPORT std::string osgDB::findFileInDirectory (const std::string &fileName, const std::string &dirName, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
OSGDB_EXPORT DirectoryContents osgDB::getDirectoryContents (const std::string &dirName)
void osgDB::setDataFilePathList (const FilePathList &filepath)
void osgDB::setDataFilePathList (const std::string &paths)
FilePathListosgDB::getDataFilePathList ()
OSGDB_EXPORT std::string osgDB::findDataFile (const std::string &filename, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
OSGDB_EXPORT std::string osgDB::findDataFile (const std::string &filename, const ReaderWriter::Options *options, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
void osgDB::setLibraryFilePathList (const FilePathList &filepaths)
void osgDB::setLibraryFilePathList (const std::string &paths)
FilePathListosgDB::getLibraryFilePathList ()
OSGDB_EXPORT std::string osgDB::findLibraryFile (const std::string &filename, CaseSensitivity caseSensitivity=CASE_SENSITIVE)
OSGDB_EXPORT void osgDB::convertStringPathIntoFilePathList (const std::string &paths, FilePathList &filepath)
OSGDB_EXPORT void osgDB::appendPlatformSpecificLibraryFilePaths (FilePathList &filepath)
OSGDB_EXPORT void osgDB::appendPlatformSpecificResourceFilePaths (FilePathList &filepath)

Define Documentation

#define OSGDB_FILEUTILS   1


Generated on Sun Oct 1 13:17:03 2006 for openscenegraph by  doxygen 1.4.7