In file PlotSet/DataDesc.hh:

class DataRef : public DataDescriptor

Object for storing references to plotting data

Inheritance:


Public Methods

DataRef ()
Default constructor.
DataRef (DataRefCount& ref, int i = 0)
Copy Constructor.
virtual ~DataRef ()
Destructor.
const DataRefCount* GetRef () const
Get the refernced data object.
virtual bool IsDirty () const
Is dirty.
virtual void SetDirty (bool set = true) const
Set dirty flag.
virtual bool IsPersistent () const
Is persistent.
virtual void SetPersistent (bool set = true)
Set persistent flag.
virtual bool IsCalculated () const
Is calculated.
virtual void SetCalculated (bool set = true)
Set calculated flag.
virtual bool IsMarked () const
Is marked.
virtual void SetMarked (bool set = true) const
Set marked flag.
virtual bool IsXY () const
Is XY.
virtual float GetDX () const
x spacing.

Protected Fields

DataRefCount* fRef
Referenced data object
int fIndex
Index into y array

Inherited from DataDescriptor:

Public Methods

virtual bool SetData(float* x, float* y, int& n, bool cmplx = false)
virtual bool SetData(float x0, float dx, float* y, int& n, bool cmplx = false)
virtual int GetN() const
virtual int& GetNRef() const
virtual float* GetX() const
virtual float* GetY() const

Protected Fields

bool fXYData
float fdX
float fX0
float* fX
float* fY
int* fN

Inherited from BasicDataDescriptor:

Public Methods

virtual bool IsComplex() const
virtual void SetComplex(bool cmplx)
virtual float* GetEX() const
virtual float* GetEXhigh() const
virtual float* GetEY() const
virtual float* GetEYhigh() const
virtual bool EraseData()
virtual double* GetXBinEdges() const
virtual double* GetBinContents() const
virtual double* GetBinErrors() const
virtual const char* GetXLabel() const
virtual const char* GetNLabel() const
virtual int GetNEntries() const
virtual double* GetStats() const

Protected Fields

bool fComplexData
mutable bool fDirty
bool fPersistent
bool fCalculated
mutable bool fMarked

Documentation

This data descriptor implements access to data by reference to another data descriptor.

DataRefCount* fRef
Referenced data object

int fIndex
Index into y array

DataRef()
Constructs a data descriptor without data.
Returns:
void

DataRef(DataRefCount& ref, int i = 0)
Constructs a data descriptor by setting references to a data referene copy.
Returns:
void
Parameters:
dat - Data descriptor of referenced object
i - index of Y array

virtual ~DataRef()
Destructs the data descriptor.
Returns:
void

const DataRefCount* GetRef() const
Get the refernced data object.
Returns:
referenced data

virtual bool IsDirty() const
Is dirty method.
Returns:
True if dirty

virtual void SetDirty(bool set = true) const
Set the dirty flag.
Returns:
void

virtual bool IsPersistent() const
Is persistent method.
Returns:
True if persistent

virtual void SetPersistent(bool set = true)
Set the persistent flag.
Returns:
void

virtual bool IsCalculated() const
Is calculated method.
Returns:
True if calculated

virtual void SetCalculated(bool set = true)
Set the calculated flag.
Returns:
void

virtual bool IsMarked() const
Is marked method.
Returns:
True if marked

virtual void SetMarked(bool set = true) const
Set the marked flag.
Returns:
void

virtual bool IsXY() const
Returns true if xy data.
Returns:
true if xy

virtual float GetDX() const
Returns x spacing if xy data.
Returns:
x spacing


This class has no child classes.
Author:
Written November 1999 by Daniel Sigg
Version:
1.0

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++