29 using namespace kome::objects;
34 #define new new( _NORMAL_BLOCK, __FILE__, __LINE__ )
35 #define malloc( s ) _malloc_dbg( s, _NORMAL_BLOCK, __FILE__, __LINE__ )
241 if( xyData ==
NULL ) {
254 "Getting Chromatogram [%s] ... %.2f sec",
268 operation->
update( *xyData, *xyData, *
this );
277 getSpectra( dataSet, rt, rt, search, search );
289 const double startRt,
294 onGetSpectra( dataSet, startRt, endRt, startSearch, endSearch );
322 if( peaks !=
NULL ) {
330 while( group !=
NULL ) {
351 while( group !=
NULL ) {
abstraction class of two dimention coordinate data
double getQ3()
gets the Q3 Mass
virtual int onGetMsStage(const unsigned int index)=0
This method is called by getMsStage method (abstract method)
group of spectrum management class
interfaces of PointsManager class
unsigned int getNumberOfOperations(Spectrum *spec)
gets the number of operations of specified spectrum
interfaces of Chromatogram class
interfaces of PeaksManager class
static bool isCommonProperty(const char *key)
check whther the specified property key is common property or not
virtual double onGetPrecursor(const unsigned int index)=0
This method is called by getPrecursor method (abstract method)
void setQ1(const double q1)
sets the Q1 Mass
Peaks * getPeaks(Spectrum *spec)
gets peaks of specified spectrum
void setId(int id)
sets chromatogram id
void setGroup(DataGroupNode *group)
sets spectrum group
sample information management class
Chromatogram * m_orgChrom
void setMz(const double mz)
sets m/z
void setOrgChromatogram(Chromatogram *chrom)
sets original chromatogram
keys and values management class
Sample * getSample()
gets sample
DataGroupNode * getGroup()
gets spectrum group
int getId()
gets chromatogram id
void clearOperations(Spectrum *spec)
clears data operation of specified spectrum
void setValue(const char *key, const char *value)
sets parameter value
static PointsManager & getInstance()
get data points manager object (This is the only object.)
bool isVisible()
gets the visible flag value
void setIntValue(const char *key, int value)
sets parameter value
data points management class
unsigned int getNumberOfSpectra()
gets the number of spectra
static std::vector< std::string > m_commonProps
const char * getIcon()
gets icon name
virtual void onGetXYData(kome::core::XYData *const xyData)=0
This method is called by getXYData method (abstract method)
const char * getValue(const unsigned int index)
gets the parameter value
void update(kome::core::XYData &src, kome::core::XYData &dst, Chromatogram &chrom)
updates xy data
interfaces of Spectrum class
kome::core::Properties & getProperties()
gets properties
interfaces of XYDataOperation class
void setIcon(const char *icon)
sets icon name
void setName(const char *name)
sets chromatogram name
Spectrum * getSpectrum(const unsigned int index)
gets the number of spectra
interfaces of DataGroupNode class
void setAutoCreated(const bool autoCreated=true)
sets auto created flag
interfaces of Sample class
unsigned int getNumberOfProperties()
gets the number of Properties
interfaces of DataSet class
DataGroupNode * getParentGroup()
get parent spectrum group
#define NVL(checkVal, replaceVal)
kome::core::XYData * getXYData()
gets xy data from data manager
void deletePeaks(Spectrum *spec)
deletes peaks of specified spectrum
int getMsStage(const unsigned int index)
gets MS stage
virtual ~Chromatogram()
destructor
void setQ3(const double q3)
sets the Q3 Mass
Chromatogram(Sample *sample)
constructor
kome::core::Properties m_userProps
double getQ1()
gets the Q1 Mass
const char * getKey(const unsigned int index)
gets the name of parameter
void getSpectra(DataSet &dataSet, const double startRt, const double endRt, const SearchType startSearch=SEARCH_NEAR, const SearchType endSearch=SEARCH_NEAR)
get spectra in specified RT range
void setTitle(const char *title)
sets title
bool isAutoCreated()
gets auto created flag value
double getPrecursor(const unsigned int index)
gets precursor mass
double getTotalTime()
gets total time
kome::core::Properties & getUserProperties()
gets user properties
kome::core::XYData * getXYData(Spectrum *spec)
gets xy data of specified spectrum
void deleteXYData()
deletes xy data of data manager
spectrum information management class
kome::core::Properties & getUserProperties()
gets user properties
Chromatogram * getOrgChromatogram()
gets original chromatogram
const char * getName()
gets chromatogram name
void deleteXYData(Spectrum *spec)
deletes xy data of specified spectrum
one or more spectra management class
Sample * getSample()
gets sample
const char * getTitle()
gets title
void setVisible(const bool visible)
sets the visible flag
XYDataOperation * getOperation(Spectrum *spec, const unsigned int index)
gets operation of specified spectrum
int issueChromId(Sample *sample)
to issue the chromatogram id
kome::core::Properties m_props
chromatogram information management class
virtual void onGetSpectra(DataSet &dataSet, const double startRt, const double endRt, const SearchType startSearch, const SearchType endSearch)=0
This method is called by searchSpectrum or getDataSet method (abstract method)
double getMass(const unsigned int index)
gets mass
static PeaksManager & getInstance()
get peaks manager object (This is the only object.)
static void closeChromatogram(Chromatogram *chrom, const bool deleting)
This method is called when a chromatogram is closed.
double getDoubleValue(const char *key, double defaultValue)
gets parameter value converted to double
Spectrum * searchSpectrum(const double rt, const SearchType search=SEARCH_NEAR)
searches spectrum
kome::core::Properties & getProperties()
gets properties
unsigned int getLength()
gets the number of points @return the number of points
virtual double onGetMass(const unsigned int index)=0
This method is called by getMass method (abstract method)
void setDoubleValue(const char *key, double value)
sets parameter value