HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_OptionTemplate Class Reference

#include <GR_OptionTemplate.h>

Public Types

typedef GR_UserOption *(* GR_OptionConstructor )(const char *, GR_OptionTemplate *)
 

Public Member Functions

 GR_OptionTemplate (const char *name, const char *label, GR_OptionConstructor construct, GR_UserOptionType type)
 
virtual ~GR_OptionTemplate ()
 
const char * getName () const
 
const char * getLabel () const
 
GR_UserOptionType getType () const
 
GR_UserOptionconstructOption (const char *name)
 

Detailed Description

Definition at line 22 of file GR_OptionTemplate.h.

Member Typedef Documentation

typedef GR_UserOption*(* GR_OptionTemplate::GR_OptionConstructor)(const char *, GR_OptionTemplate *)

Definition at line 26 of file GR_OptionTemplate.h.

Constructor & Destructor Documentation

GR_OptionTemplate::GR_OptionTemplate ( const char *  name,
const char *  label,
GR_OptionConstructor  construct,
GR_UserOptionType  type 
)
virtual GR_OptionTemplate::~GR_OptionTemplate ( )
virtual

Member Function Documentation

GR_UserOption* GR_OptionTemplate::constructOption ( const char *  name)
const char* GR_OptionTemplate::getLabel ( ) const
inline

Definition at line 35 of file GR_OptionTemplate.h.

const char* GR_OptionTemplate::getName ( void  ) const
inline

Definition at line 34 of file GR_OptionTemplate.h.

GR_UserOptionType GR_OptionTemplate::getType ( void  ) const
inline

Definition at line 36 of file GR_OptionTemplate.h.


The documentation for this class was generated from the following file: