OptionEntryStringEnum Class Reference

#include <OptionEntry.h>

Inheritance diagram for OptionEntryStringEnum:

OptionEntryString OptionEntry ARGParserStringI

List of all members.

Public Member Functions

 OptionEntryStringEnum (std::list< OptionEntry * > &group, const char *name, const char *description, unsigned int data, const char *value, OptionEntryStringEnum::EnumEntry enums[])
virtual ~OptionEntryStringEnum ()
virtual EntryType getEntryType ()
virtual bool setValue (const std::string &value)
virtual const char * getDescription ()
virtual bool setValueFromString (const std::string &string)
OptionEntryStringEnum::EnumEntrygetEnums ()

Protected Attributes



struct  EnumEntry

Detailed Description

Definition at line 265 of file OptionEntry.h.

Constructor & Destructor Documentation

OptionEntryStringEnum::OptionEntryStringEnum ( std::list< OptionEntry * > &  group,
const char *  name,
const char *  description,
unsigned int  data,
const char *  value,
OptionEntryStringEnum::EnumEntry  enums[] 

Definition at line 589 of file OptionEntry.cpp.

OptionEntryStringEnum::~OptionEntryStringEnum (  )  [virtual]

Definition at line 600 of file OptionEntry.cpp.

Member Function Documentation

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

Reimplemented from OptionEntryString.

Definition at line 281 of file OptionEntry.h.

References OptionEntry::OptionEntryStringEnumType.

bool OptionEntryStringEnum::setValue ( const std::string value  )  [virtual]

Reimplemented from OptionEntryString.

Definition at line 618 of file OptionEntry.cpp.

References enums_, OptionEntryString::setValue(), LangStringUtil::strcmp(), and OptionEntryStringEnum::EnumEntry::value.

Referenced by setValueFromString(), and ServerSFrame::TransferDataFromWindow().

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

Reimplemented from OptionEntry.

Definition at line 604 of file OptionEntry.cpp.

References OptionEntry::description_, enums_, S3D::formatStringBuffer(), and OptionEntryStringEnum::EnumEntry::value.

Referenced by ServerSFrame::TransferDataToWindow().

bool OptionEntryStringEnum::setValueFromString ( const std::string string  )  [virtual]

Reimplemented from OptionEntryString.

Definition at line 630 of file OptionEntry.cpp.

References setValue().

OptionEntryStringEnum::EnumEntry* OptionEntryStringEnum::getEnums (  )  [inline]

Definition at line 287 of file OptionEntry.h.

References enums_.

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

Member Data Documentation

EnumEntry* OptionEntryStringEnum::enums_ [protected]

Definition at line 290 of file OptionEntry.h.

Referenced by getDescription(), getEnums(), and setValue().

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