9917b6500d
//C++ header to help scripts and editors pick up the fact that the file is a header file.
26 lines
916 B
Plaintext
26 lines
916 B
Plaintext
//C++ header - Open Scene Graph - Copyright (C) 1998-2001 Robert Osfield
|
|
//Distributed under the terms of the GNU Library General Public License (LGPL)
|
|
//as published by the Free Software Foundation.
|
|
|
|
#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);
|
|
|
|
};
|
|
|
|
#endif
|