mzML sample class More...
#include <MzmlSample.h>


Classes | |
| struct | ArrayInfo |
Public Member Functions | |
| MzmlSample (MzmlSampleSet *sampleSet) | |
| constructor More... | |
| virtual | ~MzmlSample () |
| destructor | |
| MzmlSampleSet * | getMzmlSampleSet () |
| gets mzML sample set object More... | |
| void | addParentFile (const char *path) |
| adds parent files More... | |
| unsigned int | getNumberOfParentFiles () |
| gets the number of parent files More... | |
| const char * | getParentFilePath (const unsigned int index) |
| gets parent file path More... | |
| void | addArrayInfo (const char *name, const int bits, const bool compressed, const double scale, const bool isY) |
| adds array information More... | |
| ArrayInfo * | getArrayInfo (const char *name) |
| gets array information More... | |
Public Attributes | |
| MzmlSampleSet * | m_sampleSet |
| std::vector< std::string > | m_parentFiles |
Protected Member Functions | |
| virtual bool | onOpenSample (kome::objects::DataGroupNode *rootGroup, kome::core::Progress *progress=NULL) |
| This method is called by openTreatment method. (override method) More... | |
| virtual bool | onCloseSample () |
| This method is called by closeTreatment method. (override method) More... | |
Protected Attributes | |
| std::vector< ArrayInfo > | m_arrayInfo |
mzML sample class
Definition at line 26 of file MzmlSample.h.
| kome::io::mzml::MzmlSample::MzmlSample | ( | MzmlSampleSet * | sampleSet | ) |
| void kome::io::mzml::MzmlSample::addArrayInfo | ( | const char * | name, |
| const int | bits, | ||
| const bool | compressed, | ||
| const double | scale, | ||
| const bool | isY | ||
| ) |
adds array information
| name | array information name |
| bits | data size of element |
| compressed | if true, the array data is compressed |
| scale | unit size scale |
| isY | if true, the array data is y coordinate values |
Definition at line 83 of file MzmlSample.cpp.

| void kome::io::mzml::MzmlSample::addParentFile | ( | const char * | path | ) |
adds parent files
| path | parent file path |
Definition at line 43 of file MzmlSample.cpp.
| ArrayInfo * kome::io::mzml::MzmlSample::getArrayInfo | ( | const char * | name | ) |
gets array information
| name | array information name |
Definition at line 111 of file MzmlSample.cpp.
| MzmlSampleSet * kome::io::mzml::MzmlSample::getMzmlSampleSet | ( | ) |
gets mzML sample set object
Definition at line 65 of file MzmlSample.cpp.
| unsigned int kome::io::mzml::MzmlSample::getNumberOfParentFiles | ( | ) |
gets the number of parent files
Definition at line 70 of file MzmlSample.cpp.
| const char * kome::io::mzml::MzmlSample::getParentFilePath | ( | const unsigned int | index | ) |
gets parent file path
| index | parent file index |
Definition at line 75 of file MzmlSample.cpp.
|
protectedvirtual |
This method is called by closeTreatment method. (override method)
Definition at line 139 of file MzmlSample.cpp.
|
protectedvirtual |
This method is called by openTreatment method. (override method)
| rootGroup | root spectrum group |
Definition at line 130 of file MzmlSample.cpp.
|
protected |
array information
Definition at line 63 of file MzmlSample.h.
| std::vector< std::string > kome::io::mzml::MzmlSample::m_parentFiles |
parent files
Definition at line 46 of file MzmlSample.h.
| MzmlSampleSet* kome::io::mzml::MzmlSample::m_sampleSet |
sample set
Definition at line 43 of file MzmlSample.h.
1.8.6