Added new utilities for handling different '/' and '\' entries.

This commit is contained in:
Robert Osfield
2005-02-11 09:58:30 +00:00
parent 7282adef2b
commit dd0c29d19b
3 changed files with 60 additions and 0 deletions

View File

@@ -27,6 +27,13 @@ extern OSGDB_EXPORT std::string getSimpleFileName(const std::string& fileName);
extern OSGDB_EXPORT std::string getNameLessExtension(const std::string& fileName);
extern OSGDB_EXPORT std::string getStrippedName(const std::string& fileName);
extern OSGDB_EXPORT std::string convertFileNameToWindowsStyle(const std::string& fileName);
extern OSGDB_EXPORT std::string convertFileNameToUnixStyle(const std::string& fileName);
extern OSGDB_EXPORT bool isFileNameNativeStyle(const std::string& fileName);
extern OSGDB_EXPORT std::string convertFileNameToNativeStyle(const std::string& fileName);
extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs,const std::string& rhs);
extern OSGDB_EXPORT bool equalCaseInsensitive(const std::string& lhs,const char* rhs);