Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions

ToolDescriptionFile Class Reference
[File IO]

File adapter for ToolDescriptor files. More...

#include <OpenMS/FORMAT/ToolDescriptionFile.h>

Inheritance diagram for ToolDescriptionFile:
XMLFile ProgressLogger

List of all members.

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.

Detailed Description

File adapter for ToolDescriptor files.

If a critical error occurs due to the missing functionality, Exception::NotImplemented is thrown.


Constructor & Destructor Documentation

Default constructor.

virtual ~ToolDescriptionFile (  )  [virtual]

Destructor.


Member Function Documentation

void load ( const String filename,
std::vector< Internal::ToolDescription > &  tds 
)

Loads a map from a ToolDescriptor file.

Exceptions:
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.

Exceptions:
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