bool GetSpecificExtFiles(FileNameList &files, const OJString &path, const OJString &ext, const bool withPath) { files.clear(); return GetSpecificExtFilesImpl(files, path, ext, withPath); }
bool OSGA_Archive::getFileNames(FileNameList& fileNameList) const { SERIALIZER(); fileNameList.clear(); fileNameList.reserve(_indexMap.size()); for(FileNamePositionMap::const_iterator itr=_indexMap.begin(); itr!=_indexMap.end(); ++itr) { fileNameList.push_back(itr->first); } return !fileNameList.empty(); }