13 #ifndef DBUSCXX_SIGNATUREITERATOR_H
14 #define DBUSCXX_SIGNATUREITERATOR_H
51 operator bool()
const;
A SignatureIterator allows you to iterate over a given DBus signature, and to extract useful informat...
Definition: signatureiterator.h:33
bool is_container() const
True if the iterator points to a container.
Definition: signatureiterator.cpp:114
bool operator==(const SignatureIterator &other)
Definition: signatureiterator.cpp:87
bool is_dict() const
True if the iterator points to a dictionary.
Definition: signatureiterator.cpp:123
bool next()
Moves the iterator to the next field and invalidates it if it moves beyond the last field.
Definition: signatureiterator.cpp:61
std::string signature() const
Returns the current signature of the iterator.
Definition: signatureiterator.cpp:137
SignatureIterator()
Definition: signatureiterator.cpp:34
bool is_array() const
True if the iterator points to an array.
Definition: signatureiterator.cpp:119
SignatureIterator & operator=(const SignatureIterator &other)
Definition: signatureiterator.cpp:201
SignatureIterator & operator++()
Definition: signatureiterator.cpp:75
DBUS_CXX_PROPAGATE_CONST(std::unique_ptr< priv_data >) m_priv
void invalidate()
Invalidates the iterator.
Definition: signatureiterator.cpp:49
~SignatureIterator()
Definition: signatureiterator.cpp:47
bool is_fixed() const
True if the element type is a fixed type.
Definition: signatureiterator.cpp:109
SignatureIterator recurse()
If the iterator points to a container recurses into the container returning a sub-iterator.
Definition: signatureiterator.cpp:127
DataType type() const
Returns the argument type that the iterator points to.
Definition: signatureiterator.cpp:91
bool is_valid() const
True if this is a valid iterator.
Definition: signatureiterator.cpp:53
bool has_next() const
See if this iterator can advance.
Definition: signatureiterator.cpp:211
DataType element_type() const
Returns the element type of the array that the iterator points to.
Definition: signatureiterator.cpp:97
std::string iterate_over_subsig(std::shared_ptr< priv::SignatureNode > start) const
Definition: signatureiterator.cpp:170
bool is_basic() const
True if the element type is a basic type.
Definition: signatureiterator.cpp:104
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
DataType
Definition: enums.h:52