| 162 | } |
| 163 | |
| 164 | void Writer::supportedExtensions( std::vector<std::string> &extensions ) |
| 165 | { |
| 166 | extensions.clear(); |
| 167 | ExtensionsToFnsMap *m = extensionsToFns(); |
| 168 | assert( m ); |
| 169 | for( ExtensionsToFnsMap::const_iterator it=m->begin(); it!=m->end(); it++ ) |
| 170 | { |
| 171 | extensions.push_back( it->first.substr( 1 ) ); |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | void Writer::supportedExtensions( TypeId typeId, std::vector<std::string> &extensions ) |
| 176 | { |