13 #ifndef ML_CURVE_LIST_H
14 #define ML_CURVE_LIST_H
104 virtual void getXYRange (
double *xMin,
double *xMax,
double *yMin,
double *yMax);
119 #if ML_DEPRECATED_SINCE(3,5,0)
125 ML_DEPRECATED void getXYRange (
float *xMin,
float *xMax,
float *yMin,
float *yMax);
Base object class BaseList which stores a list of BaseContainerItem entries.
Class representing general ML objects that support import/export via strings (setPersistentState() an...
Base object class list as alternative implementation for CurveData, essentially a container for Base ...
Base object class representing a single curve object, consisting of zero or one X- and any number of ...
Base object class CurveList with a list of CurveData object pointers.
virtual double getYMin()
Get overall minimum Y data value.
CurveList()
Default constructor.
void addStateToTree(TreeNode *parent) const override
virtual void clear()
Initialize data (referenced curve objects are not deleted)
virtual MLssize_t getNumCurves()
Get number of curve objects.
CurveList(const CurveList &curveList, bool deepCopyArg=false)
Copy constructor. The curve objects are only copied if deepCopy is set to true.
void readStateFromTree(TreeNode *parent) override
Implement import functionality (as used by the LoadBase module):
~CurveList() override
Destructor, referenced curve objects are not deleted.
MLBASEEXPORT friend bool operator==(const CurveList &x, const CurveList &y)
virtual double getYMax()
Get overall maximum Y data value.
virtual void getXYRange(double *xMin, double *xMax, double *yMin, double *yMax)
Get overall X and Y value ranges (NULL pointers are allowed)
virtual double getXMax()
Get overall maximum X data value.
virtual CurveData * getCurveData(MLssize_t iCurve)
Get pointer to iCurve-th CurveData object.
CurveList * deepCopy() const override
Set addStateToTree version number that can be accessed via getAddStateVersion()
virtual double getXMin()
Get overall minimum X data value.
virtual std::vector< CurveData * > & getCurveList()
Get vector of CurveData object pointers.
ML_SET_ADDSTATE_VERSION(1)
MLBASEEXPORT friend bool operator!=(const CurveList &x, const CurveList &y)
std::vector< CurveData * > _curveList
List of curve object pointers.
The class TreeNode is the abstract base class for the import/export of ML objects.
#define MLBASEEXPORT
defined Header file mlBaseInit.h
#define ML_CLASS_HEADER(className)
Same like ML_CLASS_HEADER_EXPORTED with a non existing export symbol.
SSIZE_T MLssize_t
The signed ML size type which is a signed 32 bit size_t on 32 bit platforms and 64 bit one on 64 bit ...