paludis  Version 2.6.0
Public Member Functions | Friends | List of all members
paludis::args::EnumArg::EnumArgOptions Class Reference

#include <args_option.hh>

Public Member Functions

 EnumArgOptions (const std::string &, const std::string &)
 
 EnumArgOptions (const std::string &, const char, const std::string &)
 
 ~EnumArgOptions ()
 
EnumArgOptionsoperator() (const std::string &, const std::string &)
 
EnumArgOptionsoperator() (const std::string &, const char, const std::string &)
 

Friends

class EnumArg
 

Detailed Description

Helper class for passing available options and associated descriptions to the EnumArg constructor.

Constructor & Destructor Documentation

paludis::args::EnumArg::EnumArgOptions::EnumArgOptions ( const std::string &  ,
const std::string &   
)

Constructor

paludis::args::EnumArg::EnumArgOptions::EnumArgOptions ( const std::string &  ,
const char  ,
const std::string &   
)

Constructor, with short arg.

Since
0.40
paludis::args::EnumArg::EnumArgOptions::~EnumArgOptions ( )

Destructor.

Member Function Documentation

EnumArgOptions& paludis::args::EnumArg::EnumArgOptions::operator() ( const std::string &  ,
const std::string &   
)

Adds another (option, description).

EnumArgOptions& paludis::args::EnumArg::EnumArgOptions::operator() ( const std::string &  ,
const char  ,
const std::string &   
)

Adds another (option, short-option, description).

Since
0.40

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