ALPS MPS Codes
Reference documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
parameter_proxy.h File Reference
#include <boost/tokenizer.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>

Go to the source code of this file.

Classes

struct  parameters::conversion::get_< T >
 
struct  parameters::conversion::get_< std::string >
 
struct  parameters::conversion::get_< std::vector< T > >
 
class  parameters::proxy
 

Namespaces

 parameters
 
 parameters::conversion
 

Macros

#define FOREACH_PROXY_NUMERIC_TYPE(CALLBACK)
 
#define FOREACH_PROXY_STRING_TYPE(CALLBACK)   CALLBACK(std::string)
 
#define PROXY_BINARY_OP_DECL(U, OP, T)
 
#define PROXY_NUM_OPERATORS_DECL(T)
 
#define PROXY_COMP_OPERATORS_DECL(T)
 

Macro Definition Documentation

#define FOREACH_PROXY_NUMERIC_TYPE (   CALLBACK)
Value:
CALLBACK(double) \
CALLBACK(int) \
CALLBACK(bool) \
CALLBACK(float) \
CALLBACK(long) \
CALLBACK(unsigned) \
CALLBACK(unsigned long long)

Definition at line 85 of file parameter_proxy.h.

#define FOREACH_PROXY_STRING_TYPE (   CALLBACK)    CALLBACK(std::string)

Definition at line 94 of file parameter_proxy.h.

#define PROXY_BINARY_OP_DECL (   U,
  OP,
 
)
Value:
friend \
U operator OP (T lhs, proxy const& rhs) \
{ \
return lhs OP rhs.as<T>(); \
} \
friend \
U operator OP (proxy const& rhs, T lhs) \
{ \
return rhs.as<T>() OP lhs; \
}

Definition at line 152 of file parameter_proxy.h.

#define PROXY_COMP_OPERATORS_DECL (   T)
Value:
#define PROXY_BINARY_OP_DECL(U, OP, T)

Definition at line 174 of file parameter_proxy.h.

#define PROXY_NUM_OPERATORS_DECL (   T)
Value:

Definition at line 164 of file parameter_proxy.h.