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

A C++ class which provides an interface to GitArgGetI() . It Implements an integer 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 GitInt and uses template arguments to specify the range.
| MinValue | The minimum value acceptable in a Get operation. Default is LONG_MIN (from limits.h) |
| MaxValue | The maximum value acceptable in a Get operation. Default is LONG_MAX (from limits.h) |
| 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 | |
| Int (const long def=DefaultVal) | |
| Simple constructor with a default value specified. | |
| Int (const SdsId &Id, const char *const Name, const int Position, StatusType *const status, const long Default=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