82 bool has_key(
const std::string& key)
const
103 template<
typename T,
typename K>
106 std::map<variant,variant> tmp;
107 for(
const auto&
p : input_map) {
117 std::map<variant,variant> tmp;
118 for(
const auto& elem : input_set) {
128 std::vector<variant> tmp;
129 for(
const auto& elem : input_vector) {
130 tmp.emplace_back(elem);
138 inputs.emplace_back(key, access_type);
143 PLAIN_LOG <<
"ERROR: cannot set key '" << key <<
"' on object";
148 if(type_ < callable->
type_) {
156 return this < callable ? -1 : (
this == callable ? 0 : 1);
163 throw type_error(
"Tried to serialize type which cannot be serialized");
261 values_[key] = std::move(value);
virtual variant execute_self(variant ctxt)=0
variant get_member(const std::string &name) const
bool is_null() const
Functions to test the type of the internal value.
Standard logging facilities (interface).
std::vector< formula_input > formula_input_vector
std::shared_ptr< map_formula_callable > map_formula_callable_ptr
std::shared_ptr< const formula_callable > const_formula_callable_ptr
std::shared_ptr< formula_callable > formula_callable_ptr
std::shared_ptr< const map_formula_callable > const_map_formula_callable_ptr