The Sparta Modeling Framework
Loading...
Searching...
No Matches
MultiDetailOptions.hpp File Reference

Wrapper for boost program_options option_description that allows multiple levels of detail. More...

#include <boost/program_options.hpp>
#include "sparta/sparta.hpp"

Go to the source code of this file.

Classes

class  sparta::app::named_value_type< ArgT >
 Helper class for populating boost program options. More...
 
class  sparta::app::named_value_parser< ArgT >
 Parser helper for named_value_type. More...
 
class  sparta::app::named_value_parser< uint64_t >
 named_value_parser specialization for uint64_t More...
 
class  sparta::app::named_value_parser< int64_t >
 named_value_parser specialization for int64_t More...
 
class  sparta::app::named_value_parser< uint32_t >
 named_value_parser specialization for uint32_t More...
 
class  sparta::app::named_value_parser< int32_t >
 named_value_parser specialization for int32_t More...
 
class  sparta::app::named_value_parser< uint16_t >
 named_value_parser specialization for uint16_t More...
 
class  sparta::app::named_value_parser< int16_t >
 named_value_parser specialization for int16_t More...
 
class  sparta::app::named_value_parser< uint8_t >
 named_value_parser specialization for uint8_t More...
 
class  sparta::app::named_value_parser< int8_t >
 named_value_parser specialization for int8_t More...
 
class  sparta::app::MultiDetailOptions
 Class for containing multiple levels of boost program options. More...
 
class  sparta::app::MultiDetailOptions::OptAdder
 Helper class for chained calls to add_options. More...
 

Namespaces

namespace  sparta
 Macros for handling exponential backoff.
 
namespace  sparta::app
 Sparta Application framework.
 

Functions

template<typename ArgT >
named_value_type< ArgT > * sparta::app::named_value (std::string const &name, ArgT *val=nullptr)
 Helper function for generating new named_value_type structs in the boost style.
 
template<typename ArgT >
named_value_type< ArgT > * sparta::app::named_value (std::string const &name, unsigned min, unsigned max, ArgT *val=nullptr)
 

Detailed Description

Wrapper for boost program_options option_description that allows multiple levels of detail.

Definition in file MultiDetailOptions.hpp.