vSMC
vSMC: 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
 Program option base class. More...
 
class  vsmc::ProgramOptionDefault< T >
 Option with a default value. More...
 
class  vsmc::ProgramOptionHelp
 Option --help More...
 
class  vsmc::ProgramOptionMap
 A map of ProgramOption. More...
 
class  vsmc::ProgramOptionScalar< T >
 Option with a single value. More...
 
class  vsmc::ProgramOptionVector< T >
 Option with multiple values. More...
 

Namespaces

 vsmc
 

Macros

#define VSMC_RUNTIME_ASSERT_UTILITY_PROGRAM_OPTION_NULLPTR(ptr, func)
 

Functions

void vsmc::program_option_warning (const std::string &oname, const std::string &msg, bool silent, std::ostream &os)
 Program option warning messages. More...
 

Macro Definition Documentation

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

Definition at line 37 of file program_option.hpp.