19 using namespace kome::io::mzml;
24 #define new new( _NORMAL_BLOCK, __FILE__, __LINE__ )
25 #define malloc( s ) _malloc_dbg( s, _NORMAL_BLOCK, __FILE__, __LINE__ )
35 setParallelReadable(
true );
45 std::string p = NVL( path,
"" );
55 kome::core::Properties& props = getRootDataGroupNode()->getProperties();
57 std::string key = FMT(
"Parent File %d",
m_parentFiles.size() );
58 props.setValue( key.c_str(), p.c_str() );
86 const bool compressed,
105 info->compressed = compressed;
119 for(
unsigned int i = 0; i <
m_arrayInfo.size() && info == NULL; i++ ) {
121 if( tmp->name.compare( name ) == 0 ) {
135 return !handler.isError();
MzmlSampleSet * getMzmlSampleSet()
gets mzML sample set object
virtual bool onOpenSample(kome::objects::DataGroupNode *rootGroup, kome::core::Progress *progress=NULL)
This method is called by openTreatment method. (override method)
std::vector< ArrayInfo > m_arrayInfo
MzmlSampleSet * m_sampleSet
XML handler class to read mzML file.
interfaces of MzmlSample class
ArrayInfo * getArrayInfo(const char *name)
gets array information
unsigned int getNumberOfParentFiles()
gets the number of parent files
std::vector< std::string > m_parentFiles
const char * getParentFilePath(const unsigned int index)
gets parent file path
interfaces of MzmlHandler class
interfaces of MzmlSampleSet class
virtual bool onCloseSample()
This method is called by closeTreatment method. (override method)
void addArrayInfo(const char *name, const int bits, const bool compressed, const double scale, const bool isY)
adds array information
virtual ~MzmlSample()
destructor
MzmlSample(MzmlSampleSet *sampleSet)
constructor
void addParentFile(const char *path)
adds parent files