AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface
|
An interface for the lookup class template arguments to drama::gitarg::Enum.
drama::gitarg::Enum provides an interface to accept an argument which translates to one of a set of Enum values. The argument is an SDS structure and must accept strings, which gitarg::Enum can convert to the enumerated values.
The enumerated values must have integer values from 0 up. There needs to be an extra "Invalid" value, which is typically named "Invalid" but anything is allowed.
The user should implement a sub-class of this class to provide information required by gitarg::Enum.
#include "gitarg.hh"
Public Member Functions | |
virtual | ~EnumLookupClass () |
Destructor. | |
virtual unsigned int | GetMaxValue () const =0 |
This function should return the maximum normal value of the enumerated value. | |
virtual const char ** | GetStringArray () const =0 |
Return a pointer to an array of enum strings equivalents. | |
Click here for the DRAMA home page and here for the AAO home page.
For more information, contact tony.farrell@mq.edu.au
Generated on Thu Dec 12 2024 23:07:35 for AAO DRAMA/DRAMA2 C++ Interface by 1.9.8