#include <gittpl.h>
Inheritance diagram for GitTpl::Real< MinVal, MaxVal, DefaultVal >:

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.
This class inherits GitReal and uses template arguments to specify the range.
It should be noted that as templates don't access double arguments, the template parameters which specify the range must be long ints, limiting the range you can use. If you need a greater range or non-integer range limits, you must use GitReal directly, but in many cases this verison will probably suffice.
| MinValue | The minimum value acceptable in a Get operation. |
| MaxValue | The maximum value acceptable in a Get operation. |
| DefaultVal | The default value for the item. This is NOT validated against the range and hence can be used to set it to a identifible particular value, if desired. Defaults to zero. |
Public Methods | |
| Real (const double def=(double) DefaultVal) | |
| Simple constructor with a default value specified. | |
| Real (const SdsId &Id, const char *const Name, const int Position, StatusType *const status, const double Default=(double) DefaultVal, const int Flags=Git::KeepErr) | |
| Constructor with the initial value set from an SDS structure. | |
|
||||||||||
|
Simple constructor with a default value specified.
|
|
||||||||||||||||||||||||||||||||
|
Constructor with the initial value set from an SDS structure.
|
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