![]() |
OpenMS
|
Visitor which can save a visible piece of data; subsequently the data can be stored to a file. More...
#include <OpenMS/VISUAL/VISITORS/LayerStoreData.h>
Public Member Functions | |
LayerStoreDataIdentVisible () | |
void | saveToFile (const String &filename, const ProgressLogger::LogType lt) const override |
void | storeVisibleIdent (const IPeptideIds::PepIds &ids, const RangeAllType &visible_range, const DataFilters &layer_filters) |
![]() | |
LayerStoreData (FileTypeList supported_storage_formats) | |
virtual | ~LayerStoreData ()=default |
virtual D'tor for proper cleanup of derived classes' members More... | |
FileTypeList | getSupportedFileFormats () const |
Which formats are supported when writing the file? More... | |
Private Attributes | |
IPeptideIds::PepIds | ids_ |
the filtered data; used when saveToFile() is called More... | |
Additional Inherited Members | |
![]() | |
FileTypes::Type | getSupportedExtension_ (const String &filename) const |
extracts the supported extension (converting UNKNOWN to first item in storage_formats_) or throws an Exception::UnableToCreateFile More... | |
![]() | |
FileTypeList | storage_formats_ |
file formats which can hold the data from the layer; The first item should be the preferred/default format More... | |
Visitor which can save a visible piece of data; subsequently the data can be stored to a file.
|
inline |
References FileTypes::IDXML.
|
overridevirtual |
Save the internal data to a file. The filename's
suffix determines the file format. It must be one of getSupportedFileFormats() or UNKNOWN. If the filename's
suffix is unknown, the first item from getSupportedFileFormats() determines the storage format.
filename | A relative or absolute path+filename. Its suffix determines the format. |
lt | Show a progress bar in the GUI? |
Exception::UnableToCreateFile | if the extension of filename is neither in getSupportedFileFormats() nor UNKNOWN. |
Implements LayerStoreData.
void storeVisibleIdent | ( | const IPeptideIds::PepIds & | ids, |
const RangeAllType & | visible_range, | ||
const DataFilters & | layer_filters | ||
) |
|
private |
the filtered data; used when saveToFile() is called