parses/validates/stores ACL options; skips/preserves parameter flags More...

Collaboration diagram for Acl::OptionsParser:

Public Member Functions

 OptionsParser (const Options &options, const ParameterFlags &flags)
 
void parse ()
 

Private Types

typedef std::vector< OptionNameNames
 ACL parameter flags in parsing order. More...
 

Private Member Functions

const OptionfindOption (SBuf &rawName)
 

Private Attributes

const Optionsoptions_
 caller-supported, linked options More...
 
const ParameterFlagsparameterFlags_
 caller-supported parameter flags More...
 

Static Private Attributes

static Names flagsToSkip
 parsed ACL parameter flags that must be preserved for ACLData::parse() More...
 

Detailed Description

Definition at line 46 of file Options.cc.

Member Typedef Documentation

◆ Names

Definition at line 58 of file Options.cc.

Constructor & Destructor Documentation

◆ OptionsParser()

Acl::OptionsParser::OptionsParser ( const Options options,
const ParameterFlags flags 
)

Definition at line 174 of file Options.cc.

Member Function Documentation

◆ findOption()

const Acl::Option * Acl::OptionsParser::findOption ( SBuf rawName)
private

Definition at line 181 of file Options.cc.

References SBuf::c_str(), flagsToSkip, options_, parameterFlags_, TexcHere, and ToSBuf().

Referenced by parse().

◆ parse()

Member Data Documentation

◆ flagsToSkip

Acl::OptionsParser::Names Acl::OptionsParser::flagsToSkip
staticprivate

Definition at line 60 of file Options.cc.

Referenced by Acl::OptionExtractor::extractShort(), findOption(), and parse().

◆ options_

const Options& Acl::OptionsParser::options_
private

Definition at line 62 of file Options.cc.

Referenced by findOption().

◆ parameterFlags_

const ParameterFlags& Acl::OptionsParser::parameterFlags_
private

Definition at line 63 of file Options.cc.

Referenced by findOption().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors