#include <variant_value.hpp>
Public Member Functions | |
| variant_map (const std::map< variant, variant > &map) | |
| variant_map (std::map< variant, variant > &&map) | |
| virtual variant | deref_iterator (const utils::any &) const override |
| Required by variant_value_base. More... | |
Public Member Functions inherited from wfl::variant_container< std::map< variant, variant > > | |
| variant_container (const std::map< variant, variant > &c) | |
| variant_container (std::map< variant, variant > &&c) | |
| const std::map< variant, variant > & | get_container () const |
| virtual bool | is_empty () const override |
| Whether the stored value is considered empty or not. More... | |
| virtual std::size_t | num_elements () const override |
| Returns the number of elements in a type. More... | |
| virtual bool | as_bool () const override |
| Returns a bool expression of the variant value. More... | |
| virtual std::string | string_cast () const override |
| Returns the stored variant value in plain string form. More... | |
| virtual std::string | get_serialized_string () const override |
| Returns the stored variant value in formula syntax. More... | |
| virtual std::string | get_debug_string (formula_seen_stack &seen, bool verbose) const override |
| Returns debug info for the variant value. More... | |
| virtual boost::iterator_range< variant_iterator > | make_iterator () const override |
| Creates an iterator pair that can be used for iteration. More... | |
| virtual void | iterator_inc (utils::any &) const override |
| Implements the increment functionality of variant_iterator for a value of this type. More... | |
| virtual void | iterator_dec (utils::any &) const override |
| Implements the decrement functionality of variant_iterator for a value of this type. More... | |
| virtual bool | iterator_equals (const utils::any &first, const utils::any &second) const override |
| Implements the equality functionality of variant_iterator for a value of this type. More... | |
| virtual bool | equals (const variant_value_base &other) const override |
| Inherited from variant_value_base. More... | |
| virtual bool | less_than (const variant_value_base &other) const override |
| Inherited from variant_value_base. More... | |
Public Member Functions inherited from wfl::variant_value_base | |
| virtual formula_variant::type | get_type () const |
| Returns the id of the variant type. More... | |
| virtual | ~variant_value_base () |
Additional Inherited Members | |
Static Public Attributes inherited from wfl::variant_value_base | |
| static constexpr auto | value_type = formula_variant::type::null |
| Each 'final' derived class should define a static type flag. More... | |
Protected Types inherited from wfl::variant_container< std::map< variant, variant > > | |
| using | iterator = typename Container::iterator |
| using | const_iterator = typename Container::const_iterator |
Static Protected Member Functions inherited from wfl::variant_container< std::map< variant, variant > > | |
| static const_iterator & | as_container_iterator (utils::any &iter) |
| Casts opaque iter to a mutable const_iterator reference. More... | |
| static const const_iterator & | as_container_iterator (const utils::any &iter) |
| Casts opaque iter to a constant const_iterator reference. More... | |
Definition at line 485 of file variant_value.hpp.
Definition at line 488 of file variant_value.hpp.
Definition at line 493 of file variant_value.hpp.
|
overridevirtual |
Required by variant_value_base.
Reimplemented from wfl::variant_value_base.
Definition at line 344 of file variant_value.cpp.
References wfl::variant_container< std::map< variant, variant > >::as_container_iterator().