#include <Git.h>
Inheritance diagram for GitReal:

A C++ class which provides an interface to GitArgGetD() . It Implements a double type which includes the operation Get, to fetch its value from an SDS structure. There is also a constructor which does the Get operation.
By overriding the function Range in an inheriting class, you can supply range limits for the value.
Public Methods | |
| GitReal (const double def=0.0) | |
| Simple constructor with a default value specified. | |
| GitReal (const SdsId &Id, const char *const Name, const int Position, StatusType *const status, const double Default=0.0, const int Flags=0) | |
| Constructor with the initial value set from an SDS structure. | |
| virtual | ~GitReal () |
| Destructor. | |
| virtual void | Get (const SdsId &Id, const char *const Name, const int Position, StatusType *const status, const double Default=0.0, const int Flags=0) |
| Get the value of the object from an SDS struture. | |
| operator double () const | |
| Conversion operators - given GitReal, return a double. | |
| operator float () const | |
| Conversion operators - given GitReal, return a float. | |
Protected Methods | |
| virtual const double * | Range () |
| Function which returns sets the range. | |
|
|
Simple constructor with a default value specified.
|
|
||||||||||||||||||||||||||||
|
Constructor with the initial value set from an SDS structure.
|
|
|
Destructor.
|
|
||||||||||||||||||||||||||||
|
Get the value of the object from an SDS struture. This is the function which is used to set the value of the object. It is passed an SDS structure and looks for the item within that structure.
|
|
|
Conversion operators - given GitReal, return a double.
|
|
|
Conversion operators - given GitReal, return a float.
|
|
|
Function which returns sets the range. This method can be overriden by inherited to set the range. If not overriden, then any value is ok.
|
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tjf@aaoepp.aao.gov.au Generated on Tue Nov 3 09:09:56 2009 for AAO DRAMA C++ Interfaces by
1.2.18