|
OSGDB_EXPORT std::string | osgDB::getFilePath (const std::string &filename) |
| Gets the parent path from full name (Ex: /a/b/c.Ext => /a/b). More...
|
|
OSGDB_EXPORT std::string | osgDB::getFileExtension (const std::string &filename) |
| Gets the extension without dot (Ex: /a/b/c.Ext => Ext). More...
|
|
OSGDB_EXPORT std::string | osgDB::getFileExtensionIncludingDot (const std::string &filename) |
| Gets the extension including dot (Ex: /a/b/c.Ext => .Ext). More...
|
|
OSGDB_EXPORT std::string | osgDB::getLowerCaseFileExtension (const std::string &filename) |
| Gets the lowercase extension without dot (Ex: /a/b/c.Ext => ext). More...
|
|
OSGDB_EXPORT std::string | osgDB::getSimpleFileName (const std::string &fileName) |
| Gets file name with extension (Ex: /a/b/c.Ext => c.Ext). More...
|
|
OSGDB_EXPORT std::string | osgDB::getNameLessExtension (const std::string &fileName) |
| Gets file path without last extension (Ex: /a/b/c.Ext => /a/b/c ; file.ext1.ext2 => file.ext1). More...
|
|
OSGDB_EXPORT std::string | osgDB::getNameLessAllExtensions (const std::string &fileName) |
| Gets file path without all extensions (Ex: /a/b/c.Ext => /a/b/c ; file.ext1.ext2 => file). More...
|
|
OSGDB_EXPORT std::string | osgDB::getStrippedName (const std::string &fileName) |
| Gets file name without last extension (Ex: /a/b/c.Ext => c ; file.ext1.ext2 => file.ext1). More...
|
|
OSGDB_EXPORT std::string | osgDB::getPathRelative (const std::string &from, const std::string &to) |
| If 'to' is in a subdirectory of 'from' then this function returns the subpath, otherwise it just returns the file name. More...
|
|
OSGDB_EXPORT std::string | osgDB::getPathRoot (const std::string &path) |
| Gets root part of a path ("/" or "C:"), or an empty string if none found. More...
|
|
OSGDB_EXPORT bool | osgDB::isAbsolutePath (const std::string &path) |
| Tests if path is absolute, as !getPathRoot(path).empty(). More...
|
|
OSGDB_EXPORT std::string | osgDB::convertFileNameToWindowsStyle (const std::string &fileName) |
| Converts forward slashes (/) to back slashes (). More...
|
|
OSGDB_EXPORT std::string | osgDB::convertFileNameToUnixStyle (const std::string &fileName) |
| Converts back slashes () to forward slashes (/). More...
|
|
OSGDB_EXPORT std::string | osgDB::convertToLowerCase (const std::string &fileName) |
|
OSGDB_EXPORT char | osgDB::getNativePathSeparator () |
| Get the path separator for the current platform. More...
|
|
OSGDB_EXPORT bool | osgDB::isFileNameNativeStyle (const std::string &fileName) |
| Check if the path contains only the current platform's path separators. More...
|
|
OSGDB_EXPORT std::string | osgDB::convertFileNameToNativeStyle (const std::string &fileName) |
| Convert the path to contain only the current platform's path separators. More...
|
|
OSGDB_EXPORT bool | osgDB::equalCaseInsensitive (const std::string &lhs, const std::string &rhs) |
|
OSGDB_EXPORT bool | osgDB::equalCaseInsensitive (const std::string &lhs, const char *rhs) |
|
OSGDB_EXPORT bool | osgDB::containsServerAddress (const std::string &filename) |
|
OSGDB_EXPORT std::string | osgDB::getServerProtocol (const std::string &filename) |
|
OSGDB_EXPORT std::string | osgDB::getServerAddress (const std::string &filename) |
|
OSGDB_EXPORT std::string | osgDB::getServerFileName (const std::string &filename) |
|
OSGDB_EXPORT std::string | osgDB::concatPaths (const std::string &left, const std::string &right) |
| Concatenates two paths. More...
|
|
OSGDB_EXPORT std::string | osgDB::getRealPath (const std::string &path) |
| Removes . More...
|
|
OSGDB_EXPORT void | osgDB::getPathElements (const std::string &path, std::vector< std::string > &out_elements) |
| Splits a path into elements between separators (including Windows' root, if any). More...
|
|
OSGDB_EXPORT void | osgDB::stringcopy (char *dest, const char *src, size_t length) |
|