2002-07-17 04:07:32 +08:00
|
|
|
//C++ header - Open Scene Graph - Copyright (C) 1998-2002 Robert Osfield
|
2001-10-04 23:12:57 +08:00
|
|
|
//Distributed under the terms of the GNU Library General Public License (LGPL)
|
|
|
|
//as published by the Free Software Foundation.
|
|
|
|
|
2001-09-20 05:08:56 +08:00
|
|
|
#ifndef OSGDB_FILENAMEUTILS
|
|
|
|
#define OSGDB_FILENAMEUTILS 1
|
|
|
|
|
|
|
|
#include <osgDB/Export>
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace osgDB {
|
|
|
|
|
|
|
|
OSGDB_EXPORT extern std::string getFilePath(const std::string& filename);
|
|
|
|
OSGDB_EXPORT extern std::string getFileExtension(const std::string& filename);
|
|
|
|
OSGDB_EXPORT extern std::string getLowerCaseFileExtension(const std::string& filename);
|
|
|
|
OSGDB_EXPORT extern std::string getSimpleFileName(const std::string& fileName);
|
|
|
|
OSGDB_EXPORT extern std::string getStrippedName(const std::string& fileName);
|
|
|
|
|
|
|
|
OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs,const std::string& rhs);
|
|
|
|
OSGDB_EXPORT extern bool equalCaseInsensitive(const std::string& lhs,const char* rhs);
|
|
|
|
|
2002-02-03 20:33:41 +08:00
|
|
|
}
|
2001-09-20 05:08:56 +08:00
|
|
|
|
|
|
|
#endif
|