| 51 | XTandemInfile::~XTandemInfile() = default; |
| 52 | |
| 53 | void XTandemInfile::write(const String& filename, bool ignore_member_parameters, bool force_default_mods) |
| 54 | { |
| 55 | if (!File::writable(filename)) |
| 56 | { |
| 57 | throw (Exception::UnableToCreateFile(__FILE__, __LINE__, OPENMS_PRETTY_FUNCTION, filename)); |
| 58 | } |
| 59 | force_default_mods_ = force_default_mods; |
| 60 | ofstream os(filename.c_str()); |
| 61 | writeTo_(os, ignore_member_parameters); |
| 62 | return; |
| 63 | } |
| 64 | |
| 65 | String XTandemInfile::convertModificationSet_(const set<ModificationDefinition>& mods, map<String, double>& affected_origins) const |
| 66 | { |
no outgoing calls