ConfigInt Class Reference

Option of the integer type. More...

#include <config.h>

Inheritance diagram for ConfigInt:

ConfigOption List of all members.

Public Member Functions

 ConfigInt (const char *name, const char *doc, int minVal, int maxVal, int defVal)
QCString * valueStringRef ()
int * valueRef ()
int minVal () const
int maxVal () const
void convertStrToVal ()
void substEnvVars ()
void writeTemplate (QTextStream &t, bool sl, bool upd)
void init ()

Detailed Description

Option of the integer type.

Definition at line 223 of file config.h.


Constructor & Destructor Documentation

ConfigInt::ConfigInt ( const char *  name,
const char *  doc,
int  minVal,
int  maxVal,
int  defVal 
) [inline]

Definition at line 226 of file config.h.

References ConfigOption::m_doc, and ConfigOption::m_name.


Member Function Documentation

QCString* ConfigInt::valueStringRef (  )  [inline]

Definition at line 236 of file config.h.

int* ConfigInt::valueRef (  )  [inline]

Definition at line 237 of file config.h.

int ConfigInt::minVal (  )  const [inline]

Definition at line 238 of file config.h.

int ConfigInt::maxVal (  )  const [inline]

Definition at line 239 of file config.h.

void ConfigInt::convertStrToVal (  )  [virtual]

Reimplemented from ConfigOption.

Definition at line 742 of file config.cpp.

References config_warn(), and ConfigOption::m_name.

void ConfigInt::substEnvVars (  )  [virtual]

Implements ConfigOption.

Definition at line 2785 of file config.cpp.

void ConfigInt::writeTemplate ( QTextStream &  t,
bool  sl,
bool  upd 
) [inline, virtual]

Implements ConfigOption.

Definition at line 242 of file config.h.

References ConfigOption::convertToComment(), ConfigOption::m_doc, ConfigOption::m_name, ConfigOption::m_spaces, ConfigOption::MAX_OPTION_LENGTH, ConfigOption::writeIntValue(), and ConfigOption::writeStringValue().

void ConfigInt::init (  )  [inline, virtual]

Reimplemented from ConfigOption.

Definition at line 261 of file config.h.


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



Generated on Mon Mar 31 10:58:57 2008 by  doxygen 1.5.1