zeep::http::el::object — This zeep::http::el::object class is a bridge to the `el` expression language.
// In header: </home/maarten/projects/libzeep/zeep/http/webapp/el.hpp> class object { public: // types typedef basic_iterator< object > iterator; typedef basic_iterator< const object > const_iterator; // member classes/structs/unions template<typename ObjectType> class basic_iterator { public: // types typedef std::iterator< std::forward_iterator_tag, ObjectType > base_type; typedef base_type::reference reference; typedef base_type::pointer pointer; // construct/copy/destruct basic_iterator(); basic_iterator(const basic_iterator &); basic_iterator(unspecified); basic_iterator(unspecified, int); basic_iterator(unspecified); basic_iterator(unspecified, int); basic_iterator& operator=(const basic_iterator &); ~basic_iterator(); // public member functions reference operator*() const; pointer operator->() const; basic_iterator & operator++(); basic_iterator operator++(int); bool operator==(const basic_iterator &) const; bool operator!=(const basic_iterator &) const; }; // object can have one of these basic types: enum object_type { null_type, array_type, struct_type, number_type, string_type }; // construct/copy/destruct object(); object(const object &); explicit object(unspecified); explicit object(const std::vector< object > &); explicit object(const std::vector< std::string > &); explicit object(bool); explicit object(int8); explicit object(uint8); explicit object(int16); explicit object(uint16); explicit object(int32); explicit object(uint32); explicit object(int64); explicit object(uint64); explicit object(float); explicit object(double); explicit object(const char *); explicit object(const std::string &); object& operator=(const object &); object& operator=(const std::vector< object > &); object& operator=(const std::vector< std::string > &); object& operator=(bool); object& operator=(int8); object& operator=(uint8); object& operator=(int16); object& operator=(uint16); object& operator=(int32); object& operator=(uint32); object& operator=(int64); object& operator=(uint64); object& operator=(float); object& operator=(double); object& operator=(const char *); object& operator=(const std::string &); ~object(); // public member functions object_type type() const; template<typename T> T as() const; const object operator[](const std::string &) const; const object operator[](const char *) const; const object operator[](const object &) const; object & operator[](const std::string &); object & operator[](const char *); object & operator[](const object &); size_t count() const; bool empty() const; bool operator<(const object &) const; bool operator==(const object &) const; iterator begin(); iterator end(); const_iterator begin() const; const_iterator end() const; std::string toJSON() const; };
object
public
construct/copy/destructobject();
object(const object & o);
explicit object(unspecified impl);
explicit object(const std::vector< object > & v);create an array object
explicit object(const std::vector< std::string > & v);
explicit object(bool v);construct an object directly from some basic types
explicit object(int8 v);
explicit object(uint8 v);
explicit object(int16 v);
explicit object(uint16 v);
explicit object(int32 v);
explicit object(uint32 v);
explicit object(int64 v);
explicit object(uint64 v);
explicit object(float v);
explicit object(double v);
explicit object(const char * v);
explicit object(const std::string & v);
object& operator=(const object & o);
object& operator=(const std::vector< object > & v);assign an array object
object& operator=(const std::vector< std::string > & v);
object& operator=(bool v);and assign some basic types
object& operator=(int8 v);
object& operator=(uint8 v);
object& operator=(int16 v);
object& operator=(uint16 v);
object& operator=(int32 v);
object& operator=(uint32 v);
object& operator=(int64 v);
object& operator=(uint64 v);
object& operator=(float v);
object& operator=(double v);
object& operator=(const char * v);
object& operator=(const std::string & v);
~object();
object
public member functionsobject_type type() const;
template<typename T> T as() const;
const object operator[](const std::string & name) const;
const object operator[](const char * name) const;
const object operator[](const object & index) const;
object & operator[](const std::string & name);
object & operator[](const char * name);
object & operator[](const object & index);
size_t count() const;
bool empty() const;
bool operator<(const object & rhs) const;
bool operator==(const object & rhs) const;
iterator begin();
iterator end();
const_iterator begin() const;
const_iterator end() const;
std::string toJSON() const;