thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
LWH::DataPointSetFactory Class Reference

Basic user-level interface for creating a factory of IDataPointSet. More...

#include <DataPointSetFactory.h>

Inheritance diagram for LWH::DataPointSetFactory:

Public Member Functions

 DataPointSetFactory (Tree &t)
 Standard constructor.
 
virtual ~DataPointSetFactory ()
 Destructor.
 
virtual IDataPointSet * create (const std::string &path, const std::string &title, int dim)
 Create an empty IDataPointSet. More...
 
virtual IDataPointSet * create (const std::string &pathAndTitle, int dim)
 Create an empty IDataPointSet. More...
 
virtual IDataPointSet * createY (const std::string &path, const std::string &title, const std::vector< double > &y, const std::vector< double > &ey)
 Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array). More...
 
virtual IDataPointSet * createY (const std::string &path, const std::string &title, const std::vector< double > &y, const std::vector< double > &eyp, const std::vector< double > &eym)
 Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array). More...
 
virtual IDataPointSet * createY (const std::string &pathAndTitle, const std::vector< double > &y, const std::vector< double > &ey)
 Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array). More...
 
virtual IDataPointSet * createY (const std::string &pathAndTitle, const std::vector< double > &y, const std::vector< double > &eyp, const std::vector< double > &eym)
 Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array). More...
 
virtual IDataPointSet * createX (const std::string &path, const std::string &title, const std::vector< double > &x, const std::vector< double > &ex)
 Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array). More...
 
virtual IDataPointSet * createX (const std::string &path, const std::string &title, const std::vector< double > &x, const std::vector< double > &exp, const std::vector< double > &exm)
 Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array). More...
 
virtual IDataPointSet * createX (const std::string &pathAndTitle, const std::vector< double > &x, const std::vector< double > &ex)
 Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array). More...
 
virtual IDataPointSet * createX (const std::string &pathAndTitle, const std::vector< double > &x, const std::vector< double > &exp, const std::vector< double > &exm)
 Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array). More...
 
virtual IDataPointSet * createXY (const std::string &path, const std::string &title, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &exp, const std::vector< double > &eyp, const std::vector< double > &exm, const std::vector< double > &eym)
 Create a two dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXY (const std::string &path, const std::string &title, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &ex, const std::vector< double > &ey)
 Create a two dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXY (const std::string &pathAndTitle, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &exp, const std::vector< double > &eyp, const std::vector< double > &exm, const std::vector< double > &eym)
 Create a two dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXY (const std::string &pathAndTitle, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &ex, const std::vector< double > &ey)
 Create a two dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXYZ (const std::string &path, const std::string &title, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, const std::vector< double > &exp, const std::vector< double > &eyp, const std::vector< double > &ezp, const std::vector< double > &exm, const std::vector< double > &eym, const std::vector< double > &ezm)
 Create a three dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXYZ (const std::string &path, const std::string &title, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, const std::vector< double > &ex, const std::vector< double > &ey, const std::vector< double > &ez)
 Create a three dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXYZ (const std::string &pathAndTitle, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, const std::vector< double > &exp, const std::vector< double > &eyp, const std::vector< double > &ezp, const std::vector< double > &exm, const std::vector< double > &eym, const std::vector< double > &ezm)
 Create a two dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createXYZ (const std::string &pathAndTitle, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &z, const std::vector< double > &ex, const std::vector< double > &ey, const std::vector< double > &ez)
 Create a two dimensional IDataPointSet providing the data. More...
 
virtual IDataPointSet * createCopy (const std::string &path, const IDataPointSet &dataPointSet)
 Make a copy of a given IDataPointSet. More...
 
virtual bool destroy (IDataPointSet *dataPointSet)
 Destroy a given IDataPointSet. More...
 
virtual IDataPointSet * create (const std::string &path, const IHistogram1D &hist, const std::string &="")
 Create an IDataPointSet from an IHistogram1D. More...
 
virtual IDataPointSet * create (const std::string &path, const IHistogram2D &hist, const std::string &="")
 Create an IDataPointSet from an IHistogram2D. More...
 
virtual IDataPointSet * create (const std::string &, const IHistogram3D &, const std::string &="")
 LWH cannot handle a IHistogram3D.
 
virtual IDataPointSet * create (const std::string &, const ICloud1D &, const std::string &="")
 LWH cannot handle a ICloud1.
 
virtual IDataPointSet * create (const std::string &, const ICloud2D &, const std::string &="")
 LWH cannot handle a ICloud2D.
 
virtual IDataPointSet * create (const std::string &, const ICloud3D &, const std::string &="")
 LWH cannot handle a ICloud3D.
 
virtual IDataPointSet * create (const std::string &, const IProfile1D &, const std::string &="")
 LWH cannot handle a IProfile1D.
 
virtual IDataPointSet * create (const std::string &, const IProfile2D &, const std::string &="")
 LWH cannot handle a IProfile2D.
 
virtual IDataPointSet * add (const std::string &, const IDataPointSet &, const IDataPointSet &)
 LWH cannot handle the addition of data points.
 
virtual IDataPointSet * subtract (const std::string &, const IDataPointSet &, const IDataPointSet &)
 LWH cannot handle the subtraction of data points.
 
virtual IDataPointSet * multiply (const std::string &, const IDataPointSet &, const IDataPointSet &)
 LWH cannot handle the multiplication of data points.
 
virtual IDataPointSet * divide (const std::string &, const IDataPointSet &, const IDataPointSet &)
 LWH cannot handle the division of data points.
 
virtual IDataPointSet * weightedMean (const std::string &, const IDataPointSet &, const IDataPointSet &)
 LWH cannot handle the weighted mean of data points.
 

Static Private Member Functions

template<typename T >
static T * error (std::string feature)
 Throw a suitable error. More...
 

Private Attributes

Treetree
 The tree where the actual data sets are stored. More...
 

Detailed Description

Basic user-level interface for creating a factory of IDataPointSet.

The created objects are assumed to be managed by the tree which is associated to the factory.

Definition at line 31 of file DataPointSetFactory.h.

Member Function Documentation

◆ create() [1/4]

virtual IDataPointSet* LWH::DataPointSetFactory::create ( const std::string &  path,
const std::string &  title,
int  dim 
)
inlinevirtual

Create an empty IDataPointSet.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
dimThe dimension of the IDataPoints that can be stored in the set.
Returns
The newly created IDataPointSet.

Definition at line 61 of file DataPointSetFactory.h.

References LWH::DataPointSet::setTitle().

◆ create() [2/4]

virtual IDataPointSet* LWH::DataPointSetFactory::create ( const std::string &  pathAndTitle,
int  dim 
)
inlinevirtual

Create an empty IDataPointSet.

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
dimThe dimension of the IDataPoints that can be stored in the set.
Returns
The newly created IDataPointSet.

Definition at line 86 of file DataPointSetFactory.h.

◆ create() [3/4]

virtual IDataPointSet* LWH::DataPointSetFactory::create ( const std::string &  path,
const IHistogram1D &  hist,
const std::string &  = "" 
)
inlinevirtual

Create an IDataPointSet from an IHistogram1D.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
histThe IHistogram1D from which the data is taken.
Returns
The newly created IDataPointSet.

Definition at line 541 of file DataPointSetFactory.h.

◆ create() [4/4]

virtual IDataPointSet* LWH::DataPointSetFactory::create ( const std::string &  path,
const IHistogram2D &  hist,
const std::string &  = "" 
)
inlinevirtual

Create an IDataPointSet from an IHistogram2D.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
histThe IHistogram2D from which the data is taken.
optionsOptions, currently not specified
Returns
The newly created IDataPointSet.

Definition at line 573 of file DataPointSetFactory.h.

◆ createCopy()

virtual IDataPointSet* LWH::DataPointSetFactory::createCopy ( const std::string &  path,
const IDataPointSet &  dataPointSet 
)
inlinevirtual

Make a copy of a given IDataPointSet.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
dataPointSetThe IDataPointSet to be copied.
Returns
The copy of the given IDataPointSet.

Definition at line 509 of file DataPointSetFactory.h.

◆ createX() [1/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createX ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  x,
const std::vector< double > &  ex 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
xThe array of the x values
exThe array with the symmetric errors on x
Returns
The created IDataPointSet.

Definition at line 201 of file DataPointSetFactory.h.

◆ createX() [2/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createX ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  x,
const std::vector< double > &  exp,
const std::vector< double > &  exm 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
xThe array of the x values
expThe array with the plus errors on x
exmThe array with the minus errors on x
Returns
The created IDataPointSet.

Definition at line 221 of file DataPointSetFactory.h.

◆ createX() [3/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createX ( const std::string &  pathAndTitle,
const std::vector< double > &  x,
const std::vector< double > &  ex 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
xThe array of the x values
exThe array with the symmetric errors on x
Returns
The created IDataPointSet.

Definition at line 253 of file DataPointSetFactory.h.

◆ createX() [4/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createX ( const std::string &  pathAndTitle,
const std::vector< double > &  x,
const std::vector< double > &  exp,
const std::vector< double > &  exm 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
xThe array of the x values
expThe array with the plus errors on x
exmThe array with the minus errors on x
Returns
The created IDataPointSet.

Definition at line 275 of file DataPointSetFactory.h.

◆ createXY() [1/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXY ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  exp,
const std::vector< double > &  eyp,
const std::vector< double > &  exm,
const std::vector< double > &  eym 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
xThe array of the x values
yThe array of the y values
expThe array with the plus errors on x
eypThe array with the plus errors on y
exmThe array with the minus errors on x
eymThe array with the minus errors on y
Returns
The created IDataPointSet.

Definition at line 298 of file DataPointSetFactory.h.

◆ createXY() [2/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXY ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  ex,
const std::vector< double > &  ey 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
xThe array of the x values
yThe array of the y values
exThe array with the symmetric errors on x
eyThe array with the symmetric errors on y
Returns
The created IDataPointSet.

Definition at line 326 of file DataPointSetFactory.h.

◆ createXY() [3/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXY ( const std::string &  pathAndTitle,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  exp,
const std::vector< double > &  eyp,
const std::vector< double > &  exm,
const std::vector< double > &  eym 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data.

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
xThe array of the x values
yThe array of the y values
expThe array with the plus errors on x
eypThe array with the plus errors on y
exmThe array with the minus errors on x
eymThe array with the minus errors on y
Returns
The created IDataPointSet.

Definition at line 350 of file DataPointSetFactory.h.

◆ createXY() [4/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXY ( const std::string &  pathAndTitle,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  ex,
const std::vector< double > &  ey 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data.

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
xThe array of the x values
yThe array of the y values
exThe array with the symmetric errors on x
eyThe array with the symmetric errors on y
Returns
The created IDataPointSet.

Definition at line 374 of file DataPointSetFactory.h.

◆ createXYZ() [1/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXYZ ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  z,
const std::vector< double > &  exp,
const std::vector< double > &  eyp,
const std::vector< double > &  ezp,
const std::vector< double > &  exm,
const std::vector< double > &  eym,
const std::vector< double > &  ezm 
)
inlinevirtual

Create a three dimensional IDataPointSet providing the data.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
xThe array of the x values
yThe array of the y values
zThe array of the z values
expThe array with the plus errors on x
eypThe array with the plus errors on y
ezpThe array with the plus errors on z
exmThe array with the minus errors on x
eymThe array with the minus errors on y
ezmThe array with the minus errors on z
Returns
The created IDataPointSet.

Definition at line 401 of file DataPointSetFactory.h.

◆ createXYZ() [2/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXYZ ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  z,
const std::vector< double > &  ex,
const std::vector< double > &  ey,
const std::vector< double > &  ez 
)
inlinevirtual

Create a three dimensional IDataPointSet providing the data.

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
xThe array of the x values
yThe array of the y values
zThe array of the z values
exThe array with the symmetric errors on x
eyThe array with the symmetric errors on y
ezThe array with the symmetric errors on z
Returns
The created IDataPointSet.

Definition at line 434 of file DataPointSetFactory.h.

◆ createXYZ() [3/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXYZ ( const std::string &  pathAndTitle,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  z,
const std::vector< double > &  exp,
const std::vector< double > &  eyp,
const std::vector< double > &  ezp,
const std::vector< double > &  exm,
const std::vector< double > &  eym,
const std::vector< double > &  ezm 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data.

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
xThe array of the x values
yThe array of the y values
zThe array of the z values
expThe array with the plus errors on x
eypThe array with the plus errors on y
ezpThe array with the plus errors on z
exmThe array with the minus errors on x
eymThe array with the minus errors on y
ezmThe array with the minus errors on z
Returns
The created IDataPointSet.

Definition at line 462 of file DataPointSetFactory.h.

◆ createXYZ() [4/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createXYZ ( const std::string &  pathAndTitle,
const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  z,
const std::vector< double > &  ex,
const std::vector< double > &  ey,
const std::vector< double > &  ez 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data.

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
xThe array of the x values
yThe array of the y values
zThe array of the z values
exThe array with the symmetric errors on x
eyThe array with the symmetric errors on y
ezThe array with the symmetric errors on z
Returns
The created IDataPointSet.

Definition at line 490 of file DataPointSetFactory.h.

◆ createY() [1/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createY ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  y,
const std::vector< double > &  ey 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
yThe array of the y values
eyThe array with the symmetric errors on y
Returns
The created IDataPointSet.

Definition at line 105 of file DataPointSetFactory.h.

◆ createY() [2/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createY ( const std::string &  path,
const std::string &  title,
const std::vector< double > &  y,
const std::vector< double > &  eyp,
const std::vector< double > &  eym 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).

Parameters
pathThe path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
titleThe title of the IDataPointSet.
yThe array of the y values
eypThe array with the plus errors on y
eymThe array with the minus errors on y
Returns
The created IDataPointSet.

Definition at line 125 of file DataPointSetFactory.h.

◆ createY() [3/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createY ( const std::string &  pathAndTitle,
const std::vector< double > &  y,
const std::vector< double > &  ey 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
yThe array of the y values
eyThe array with the symmetric errors on y
Returns
The created IDataPointSet.

Definition at line 158 of file DataPointSetFactory.h.

◆ createY() [4/4]

virtual IDataPointSet* LWH::DataPointSetFactory::createY ( const std::string &  pathAndTitle,
const std::vector< double > &  y,
const std::vector< double > &  eyp,
const std::vector< double > &  eym 
)
inlinevirtual

Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).

Parameters
pathAndTitleThe path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther / cannot be used in names; it is only used to delimit directories within paths.
yThe array of the y values
eypThe array with the plus errors on y
eymThe array with the minus errors on y
Returns
The created IDataPointSet.

Definition at line 180 of file DataPointSetFactory.h.

◆ destroy()

virtual bool LWH::DataPointSetFactory::destroy ( IDataPointSet *  dataPointSet)
inlinevirtual

Destroy a given IDataPointSet.

Parameters
dataPointSetThe IDataPointSet to be destroyed.
Returns
false If dataPointSet cannot be destroyed.

Definition at line 522 of file DataPointSetFactory.h.

◆ error()

template<typename T >
static T* LWH::DataPointSetFactory::error ( std::string  feature)
inlinestaticprivate

Throw a suitable error.

Definition at line 697 of file DataPointSetFactory.h.

Member Data Documentation

◆ tree

Tree* LWH::DataPointSetFactory::tree
private

The tree where the actual data sets are stored.

Definition at line 702 of file DataPointSetFactory.h.


The documentation for this class was generated from the following file: