OSGDB_EXPORT extern std::string osgDB::findFileInDirectory

(const std::string& fileName,
  const std::string& dirName,
  bool caseInsensitive=false)

return the directory/filename of a file if its is contained within specified directory.

Documentation

return the directory/filename of a file if its is contained within specified directory. return "" if directory does not contain file. If caseInsensitive is set to true then a case insenstive comparision is used to compare fileName to directory contents. This is useful when unix programs attempt read case insentive windows filenames.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.