|
| MeasBase () |
| Tip: In the following constructors and other functions, all MeasRef can be replaced with simple Measure::TYPE where no offsets or frames are needed in the reference; For reasons of compiler limitations the formal arguments had to be specified as uInt rather than the Measure enums that should be used as actual arguments;
Default constructor More...
|
|
| MeasBase (const MeasBase< Mv, Mr > &other) |
| Copy constructor. More...
|
|
MeasBase< Mv, Mr > & | operator= (const MeasBase< Mv, Mr > &other) |
| Copy assignment. More...
|
|
| MeasBase (const Mv &dt, const Mr &rf) |
| Create from data and reference. More...
|
|
| MeasBase (const Mv &dt, uInt rf) |
|
| MeasBase (const Quantity &dt, const Mr &rf) |
|
| MeasBase (const Quantity &dt, uInt rf) |
|
| MeasBase (const Measure *dt) |
|
| MeasBase (const Mr &rf) |
|
| MeasBase (const uInt rf) |
|
virtual | ~MeasBase () |
|
virtual Bool | areYou (const String &tp) const |
| Check the type of derived entity. More...
|
|
virtual void | assured (const String &tp) const |
| Assert that we are the correct type. More...
|
|
void | set (const Mv &dt) |
| Refill the specified entities. More...
|
|
void | set (const Mr &rf) |
|
void | set (const Mv &dt, const Mr &rf) |
|
void | set (const Unit &inunit) |
|
virtual void | set (const MeasValue &dt) |
| Each Measure should have the following set functions (with appropiate MVs and Ref): More...
|
|
virtual Bool | putValue (const Vector< Quantum< Double > > &in) |
|
Mr | getRef () const |
| Get reference. More...
|
|
const Mv & | getValue () const |
| Get Measure data. More...
|
|
const Unit & | getUnit () const |
| Get Unit. More...
|
|
virtual MRBase * | getRefPtr () const |
| Get reference pointer. More...
|
|
virtual const MeasValue * | getData () const |
| Get pointer to data. More...
|
|
virtual void | print (std::ostream &os) const |
| Print a Measure. More...
|
|
virtual | ~Measure () |
| Destructor. More...
|
|
virtual Bool | setOffset (const Measure &in)=0 |
| Set the offset in the reference (False if non-matching Measure) More...
|
|
virtual const String & | tellMe () const =0 |
| Tell me your Measure type (e.g. More...
|
|
virtual String | getRefString () const =0 |
| Each Measure should have the following static methods to give its name (e.g. More...
|
|
virtual Bool | isModel () const |
| Tell me if you are a pure model (e.g. More...
|
|
void | dummy_giveMe () const |
| Each derived class should have a string-to-code translation routine for the reference type. More...
|
|
virtual Bool | setRefString (const String &in)=0 |
| Set the reference type to the specified String. More...
|
|
virtual const String & | getDefaultType () const =0 |
| Get the default reference type. More...
|
|
virtual const String * | allTypes (Int &nall, Int &nextra, const uInt *&typ) const |
| Get a list of all known reference codes. More...
|
|
virtual void | checkTypes () const =0 |
| Check if all internal tables of types (both enum and String) are complete and correct. More...
|
|
void | dummy_getRef () const |
| Each class should have a function to return its reference: More...
|
|
void | dummy_getValue () const |
| Each derived class should be able to get its internal value and have: More...
|
|
virtual Measure * | clone () const =0 |
| Create a copy. More...
|
|
template<class Mv, class Mr>
class casacore::MeasBase< Mv, Mr >
Base class for all measures
Intended use:
Internal
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
- Test programs:
- tMeasure
Prerequisite
Etymology
Measure and Base
Synopsis
MeasBase forms derived Measure class for all actual measures
Example
Motivation
To have most work in single routine
To Do
Definition at line 73 of file MeasBase.h.