Murl::Util::Environment::StringArrayParameter Class Reference

The string array parameter class. More...

#include "murl_util_environment.h"

Inheritance diagram for Murl::Util::Environment::StringArrayParameter:

Public Member Functions

 StringArrayParameter (ParameterType type, const String &longId, const String &shortId, const String &description, const String &defaultValue)
 The constructor taking a default value, see Parameter::Parameter().
 StringArrayParameter (ParameterType type, const String &longId, const String &shortId, const String &description)
 The constructor, see Parameter::Parameter().
virtual SInt32 Process (SInt32 currentIndex, SInt32 argC, const char **argV)
 Overload of Parameter::Process() converting the mValue(s).
- 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 mHasDefaultValue
 Flag if mValue array has a default value set. More...
StringArray mValue
 The processed argument values. 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 string array parameter class.

The default value is replaced by the first argument processed.

Member Data Documentation

◆ mHasDefaultValue

Bool Murl::Util::Environment::StringArrayParameter::mHasDefaultValue

Flag if mValue array has a default value set.

◆ mValue

StringArray Murl::Util::Environment::StringArrayParameter::mValue

The processed argument values.

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

Copyright © 2011-2018 Spraylight GmbH.