{
// Make sure that we have every file only once, otherwise copyFile()
// would ask several times if it should overwrite a file.
{
// Make sure that we have every file only once, otherwise copyFile()
// would ask several times if it should overwrite a file.
- vector<ExportedFile> & files = externalfiles[format];
+ vector<ExportedFile> & files = externalfiles_[format];
ExportedFile file(sourceName, exportName);
if (find(files.begin(), files.end(), file) == files.end())
files.push_back(file);
ExportedFile file(sourceName, exportName);
if (find(files.begin(), files.end(), file) == files.end())
files.push_back(file);
vector<ExportedFile> const
ExportData::externalFiles(string const & format) const
{
vector<ExportedFile> const
ExportData::externalFiles(string const & format) const
{
- FileMap::const_iterator cit = externalfiles.find(format);
- if (cit != externalfiles.end())
+ FileMap::const_iterator cit = externalfiles_.find(format);
+ if (cit != externalfiles_.end())
return cit->second;
return vector<ExportedFile>();
}
return cit->second;
return vector<ExportedFile>();
}
support::FileName const & sourceName);
/// get referenced files for \p format
std::vector<ExportedFile> const
support::FileName const & sourceName);
/// get referenced files for \p format
std::vector<ExportedFile> const
- externalFiles(std::string const & format) const;
+ externalFiles(std::string const & format) const;
private:
typedef std::map<std::string, std::vector<ExportedFile> > FileMap;
/** Files that are referenced by the export result in the
* different formats.
*/
private:
typedef std::map<std::string, std::vector<ExportedFile> > FileMap;
/** Files that are referenced by the export result in the
* different formats.
*/
+ FileMap externalfiles_;