object_expression.hpp File Reference

Contains functions to create variables. More...

#include "matador/object/export.hpp"
#include "matador/object/object_ptr.hpp"
#include <string>

Classes

class  matador::variable< R >
 Holds the functor to a method. More...
 

Namespaces

namespace  matador
 The Open Object Store namespace.
 

Functions

template<class R , class O >
variable< R > matador::make_var (R(O::*mem_func)() const)
 Create a variable with depth zero.
 
template<class R , class O , class O1 >
variable< R > matador::make_var (O1(O::*mem_func)() const, R(O1::object_type::*mem_func_1)() const)
 Create a variable with depth one.
 
template<class R , class O , class O1 , class O2 >
variable< R > matador::make_var (O1(O::*mem_func)() const, O2(O1::object_type::*mem_func_1)() const, R(O2::object_type::*mem_func_2)() const)
 Create a variable with depth two.
 
template<class R , class O , class O1 , class O2 , class O3 >
variable< R > matador::make_var (O1(O::*mem_func)() const, O2(O1::object_type::*mem_func_1)() const, O3(O2::object_type::*mem_func_2)() const, R(O3::object_type::*mem_func_3)() const)
 Create a variable with depth two.
 

Detailed Description

Contains functions to create variables.

This file contains some functions creating variables. These functions wrap the constructor of the variable class and ease the creation of variables of cascading method calls.