File adapter for ToolDescriptor files. More...
#include <OpenMS/FORMAT/ToolDescriptionFile.h>
Public Member Functions | |
| ToolDescriptionFile () | |
| Default constructor. | |
| virtual | ~ToolDescriptionFile () |
| Destructor. | |
| void | load (const String &filename, std::vector< Internal::ToolDescription > &tds) |
| Loads a map from a ToolDescriptor file. | |
| void | store (const String &filename, const std::vector< Internal::ToolDescription > &tds) const |
| Stores a map in a ToolDescriptor file. | |
File adapter for ToolDescriptor files.
If a critical error occurs due to the missing functionality, Exception::NotImplemented is thrown.
Default constructor.
| virtual ~ToolDescriptionFile | ( | ) | [virtual] |
Destructor.
| void load | ( | const String & | filename, | |
| std::vector< Internal::ToolDescription > & | tds | |||
| ) |
Loads a map from a ToolDescriptor file.
| Exception::FileNotFound | is thrown if the file could not be opened | |
| Exception::ParseError | is thrown if an error occurs during parsing |
| void store | ( | const String & | filename, | |
| const std::vector< Internal::ToolDescription > & | tds | |||
| ) | const |
Stores a map in a ToolDescriptor file.
| Exception::UnableToCreateFile | is thrown if the file could not be created |
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:54 using doxygen 1.7.1 |