icedb  version 0.5.1
Snow particle scattering database API
Classes | Namespaces | Macros | Functions
options.cpp File Reference
#include <boost/lexical_cast.hpp>
#include <map>
#include <complex>
#include "../icedb/defs.h"
#include "../private/options.hpp"
#include "../icedb/logging.hpp"
#include "../icedb/error.hpp"
Include dependency graph for options.cpp:

Go to the source code of this file.

Classes

class  icedb::registry::options_inner
 

Namespaces

 icedb
 
 icedb::registry
 

Macros

#define DOTYPES(f)
 
#define IMPL_OPTS_SETVAL(T)   template options_ptr options::setVal<T>(const std::string&, const T&);
 
#define IMPL_OPTS_ADD(T)   template options_ptr options::add<T>(const std::string&, const T&);
 
#define IMPL_OPTS_GETVAL_A(T)   template T options::getVal<T>(const std::string&) const;
 
#define IMPL_OPTS_GETVAL_B(T)   template T options::getVal<T>(const std::string&, const T&) const;
 
#define IMPL_OPTS(T)   IMPL_OPTS_SETVAL(T); IMPL_OPTS_GETVAL_A(T);IMPL_OPTS_GETVAL_B(T);IMPL_OPTS_ADD(T);
 

Functions

 icedb::registry::DOTYPES (IMPL_OPTS)
 

Macro Definition Documentation

◆ DOTYPES

#define DOTYPES (   f)
Value:
f(int); f(float); f(double); f(long); f(long long); \
f(unsigned int); f(unsigned long); f(unsigned long long); f(std::string); f(bool); f(std::complex<double>);

Definition at line 67 of file options.cpp.

◆ IMPL_OPTS

#define IMPL_OPTS (   T)    IMPL_OPTS_SETVAL(T); IMPL_OPTS_GETVAL_A(T);IMPL_OPTS_GETVAL_B(T);IMPL_OPTS_ADD(T);

Definition at line 74 of file options.cpp.

◆ IMPL_OPTS_ADD

#define IMPL_OPTS_ADD (   T)    template options_ptr options::add<T>(const std::string&, const T&);

Definition at line 71 of file options.cpp.

◆ IMPL_OPTS_GETVAL_A

#define IMPL_OPTS_GETVAL_A (   T)    template T options::getVal<T>(const std::string&) const;

Definition at line 72 of file options.cpp.

◆ IMPL_OPTS_GETVAL_B

#define IMPL_OPTS_GETVAL_B (   T)    template T options::getVal<T>(const std::string&, const T&) const;

Definition at line 73 of file options.cpp.

◆ IMPL_OPTS_SETVAL

#define IMPL_OPTS_SETVAL (   T)    template options_ptr options::setVal<T>(const std::string&, const T&);

Definition at line 70 of file options.cpp.