The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::app::MultiDetailOptions::OptAdder Class Reference

Helper class for chained calls to add_options. More...

#include <MultiDetailOptions.hpp>

Public Member Functions

 OptAdder (MultiDetailOptions &opts)
 
template<typename ... Args>
OptAdderoperator() (const char *name, const char *verbose_desc, const Args &...args)
 Acts like calling MultiDetailOptions::add_options on the object that created this OptAdder.
 
template<typename ... Args>
OptAdder operator() (const char *name, const boost::program_options::value_semantic *s, const char *verbose_desc, const Args &...args)
 Acts like calling MultiDetailOptions::add_options on the object that created this OptAdder.
 

Detailed Description

Helper class for chained calls to add_options.

Definition at line 305 of file MultiDetailOptions.hpp.

Constructor & Destructor Documentation

◆ OptAdder()

sparta::app::MultiDetailOptions::OptAdder::OptAdder ( MultiDetailOptions opts)
inline

Definition at line 309 of file MultiDetailOptions.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename ... Args>
OptAdder sparta::app::MultiDetailOptions::OptAdder::operator() ( const char *  name,
const boost::program_options::value_semantic *  s,
const char *  verbose_desc,
const Args &...  args 
)
inline

Acts like calling MultiDetailOptions::add_options on the object that created this OptAdder.

Definition at line 332 of file MultiDetailOptions.hpp.

◆ operator()() [2/2]

template<typename ... Args>
OptAdder & sparta::app::MultiDetailOptions::OptAdder::operator() ( const char *  name,
const char *  verbose_desc,
const Args &...  args 
)
inline

Acts like calling MultiDetailOptions::add_options on the object that created this OptAdder.

Definition at line 318 of file MultiDetailOptions.hpp.


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