Murl::Util::Environment::SwitchParameter Class Reference

The boolean parameter class. More...

#include "murl_util_environment.h"

Inheritance diagram for Murl::Util::Environment::SwitchParameter:

Public Member Functions

 SwitchParameter (ParameterType type, const String &longId, const String &shortId, const String &description, Bool defaultValue=false)
 The constructor taking an optional default value, see Parameter::Parameter().
virtual SInt32 Process (SInt32 currentIndex, SInt32 argC, const char **argV)
 Overload of Parameter::Process() converting the mValue.
- Public Member Functions inherited from Murl::Util::Environment::Parameter
 Parameter (ParameterType type, const String &longId, const String &shortId, const String &description, SInt32 skip, Bool isArray)
 The constructor. More...
virtual ~Parameter ()
 The destructor.

Public Attributes

Bool mValue
 The processed argument value. More...
- Public Attributes inherited from Murl::Util::Environment::Parameter
ParameterType mType
 The parameter type. More...
String mLongId
 The long parameter identifier string. More...
String mShortId
 The short parameter identifier string. More...
String mDescription
 The parameter description string. More...
Bool mIsSet
 Flag if the parameter is set. More...
SInt32 mSkip
 The number of arguments used by the parameter. More...
Bool mIsArray
 Signature for parameter arrays. More...

Additional Inherited Members

- Public Types inherited from Murl::Util::Environment::Parameter
typedef AutoPointer< ParameterAutoPtr
 Definition of the parameter auto pointer.

Detailed Description

The boolean parameter class.

Member Data Documentation

◆ mValue

Bool Murl::Util::Environment::SwitchParameter::mValue

The processed argument value.

The documentation for this class was generated from the following file:
  • murl_util_environment.h

Copyright © 2011-2018 Spraylight GmbH.