OptionEntryBoundedInt Class Reference

#include <OptionEntry.h>

Inheritance diagram for OptionEntryBoundedInt:

OptionEntryInt OptionEntry ARGParserIntI

List of all members.

Public Member Functions

 OptionEntryBoundedInt (std::list< OptionEntry * > &group, const char *name, const char *description, unsigned int data, int defaultValue, int minValue, int maxValue, int stepValue)
virtual ~OptionEntryBoundedInt ()
virtual const char * getDescription ()
virtual EntryType getEntryType ()
virtual bool setValue (int value)
int getMinValue ()
int getMaxValue ()
int getStepValue ()

Protected Attributes

int minValue_
int maxValue_
int stepValue_


Detailed Description

Definition at line 142 of file OptionEntry.h.


Constructor & Destructor Documentation

OptionEntryBoundedInt::OptionEntryBoundedInt ( std::list< OptionEntry * > &  group,
const char *  name,
const char *  description,
unsigned int  data,
int  defaultValue,
int  minValue,
int  maxValue,
int  stepValue 
)

Definition at line 344 of file OptionEntry.cpp.

OptionEntryBoundedInt::~OptionEntryBoundedInt (  )  [virtual]

Definition at line 355 of file OptionEntry.cpp.


Member Function Documentation

const char * OptionEntryBoundedInt::getDescription (  )  [virtual]

Reimplemented from OptionEntry.

Definition at line 359 of file OptionEntry.cpp.

References OptionEntry::description_, S3D::formatStringBuffer(), getMaxValue(), and getMinValue().

virtual EntryType OptionEntryBoundedInt::getEntryType (  )  [inline, virtual]

Reimplemented from OptionEntryInt.

Definition at line 154 of file OptionEntry.h.

References OptionEntry::OptionEntryBoundedIntType.

bool OptionEntryBoundedInt::setValue ( int  value  )  [virtual]

Reimplemented from OptionEntryInt.

Definition at line 369 of file OptionEntry.cpp.

References maxValue_, and OptionEntryInt::setValue().

int OptionEntryBoundedInt::getMinValue (  )  [inline]

Definition at line 157 of file OptionEntry.h.

References minValue_.

Referenced by GLWOptionEntry::createEntry(), OptionEntrySetterUtil::createOtherSetter(), ServerWebServerUtil::generateSettingValue(), and getDescription().

int OptionEntryBoundedInt::getMaxValue (  )  [inline]

Definition at line 158 of file OptionEntry.h.

References maxValue_.

Referenced by GLWOptionEntry::createEntry(), OptionEntrySetterUtil::createOtherSetter(), ServerWebServerUtil::generateSettingValue(), and getDescription().

int OptionEntryBoundedInt::getStepValue (  )  [inline]

Definition at line 159 of file OptionEntry.h.

References stepValue_.

Referenced by GLWOptionEntry::createEntry(), OptionEntrySetterUtil::createOtherSetter(), and ServerWebServerUtil::generateSettingValue().


Member Data Documentation

int OptionEntryBoundedInt::minValue_ [protected]

Definition at line 162 of file OptionEntry.h.

Referenced by getMinValue().

int OptionEntryBoundedInt::maxValue_ [protected]

Definition at line 162 of file OptionEntry.h.

Referenced by getMaxValue(), and setValue().

int OptionEntryBoundedInt::stepValue_ [protected]

Definition at line 163 of file OptionEntry.h.

Referenced by getStepValue().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:05 2009 for Scorched3D by  doxygen 1.5.3