vSMC  v3.0.0
Scalable Monte Carlo
Classes | Namespaces | Macros | Functions
program_option.hpp File Reference
#include <vsmc/internal/common.hpp>

Go to the source code of this file.

Classes

class  vsmc::ProgramOption
 Option base class. More...
 
class  vsmc::ProgramOptionDefault< T >
 Option with a default value. More...
 
class  vsmc::ProgramOptionHelp
 Option --help More...
 
class  vsmc::ProgramOptionMap
 Program options. More...
 
class  vsmc::ProgramOptionScalar< T >
 Option with a single value. More...
 
class  vsmc::ProgramOptionVector< T, Alloc >
 Option with multiple values. More...
 

Namespaces

 vsmc
 
 vsmc::internal
 

Macros

#define VSMC_RUNTIME_ASSERT_UTILITY_PROGRAM_OPTION_NULLPTR(ptr, func)
 

Functions

void vsmc::internal::program_option_warning (const std::string &name, const std::string &msg, bool silent, std::ostream &os)
 

Macro Definition Documentation

#define VSMC_RUNTIME_ASSERT_UTILITY_PROGRAM_OPTION_NULLPTR (   ptr,
  func 
)
Value:
VSMC_RUNTIME_ASSERT((ptr != nullptr), \
"**ProgramOption::" #func \
"** ATTEMPT TO SET OPTION WITH A NULL POINTER")
#define VSMC_RUNTIME_ASSERT(cond, msg)
Definition: assert.hpp:59

Definition at line 42 of file program_option.hpp.