// ------------------------------------------------------------------------------------------------ // Check for readable file format. bool M3Importer::CanRead( const std::string &rFile, IOSystem* /*pIOHandler*/, bool checkSig ) const { if ( !checkSig ) return SimpleExtensionCheck( rFile, M3Extension.c_str() ); return true; }
// ------------------------------------------------------------------------------------------------ // Check for readable file format. bool M3Importer::CanRead( const std::string &rFile, IOSystem* /*pIOHandler*/, bool checkSig ) const { if ( !checkSig ) { return SimpleExtensionCheck( rFile, "m3" ); } return false; }