version 1.10, 2001/04/25 22:20:56
|
version 1.11, 2001/04/26 15:47:29
|
|
|
void checkRequiredOptions() const; | void checkRequiredOptions() const; |
| |
/** Lookup the option with the given name. | /** Lookup the option with the given name. |
|
@param - name provides the name of the option. |
@return 0 if no such option. | @return 0 if no such option. |
*/ | */ |
const Option* lookupOption(const String& name) const; | const Option* lookupOption(const String& name) const; |
| |
/** Lookup value of an option. | /** Lookup value of an option. |
|
@param - name provides the name of the option (ex. "port") |
|
@param - String parameter contains the String that contains the |
|
value for this parameter (in String format). |
|
@return - Boolean return. True if the option found. |
*/ | */ |
Boolean lookupValue(const String& name, String& value) const; | Boolean lookupValue(const String& name, String& value) const; |
| |
|
|
_defaultValue = defaultValue; | _defaultValue = defaultValue; |
} | } |
| |
/** Accessor */ |
/** Accessor |
|
@return - Returns string representation of value |
|
*/ |
const String& getValue() const | const String& getValue() const |
{ | { |
return _value; | return _value; |