Public Member Functions | |
iterator () | |
Iterator. | |
iterator (const iterator &) | |
Copy constructor for the iterator. | |
iterator (DBusMessage *msg) | |
Constructs iterator for the message. | |
~iterator () | |
Destructor. | |
iterator & | operator= (const iterator &) |
Creates an iterator equal to the itr iterator. | |
const QVariant & | operator * () const |
Returns the constant QVariant held by the iterator. | |
QVariant & | operator * () |
Returns the QVariant held by the iterator. | |
iterator & | operator++ () |
Moves to the next field and return a reference to itself after incrementing. | |
iterator | operator++ (int) |
Moves to the next field and returns self before incrementing. | |
bool | operator== (const iterator &it) |
Compares this iterator to it iterator. | |
bool | operator!= (const iterator &it) |
Compares two iterators. | |
QVariant | var () const |
Returns a QVariant help by this iterator. | |
Protected Member Functions | |
QVariant | marshallBaseType (DBusMessageIter *i) |
void | fillVar () |
Fills QVariant based on what current DBusMessageIter helds. | |
Protected Attributes | |
IteratorData * | d |
Data Structures | |
struct | IteratorData |
Definition at line 37 of file message.h.
|
Copy constructor for the iterator.
Definition at line 68 of file message.cpp. References d, DBusQt::Message::iterator::IteratorData::end, DBusQt::Message::iterator::IteratorData::iter, and DBusQt::Message::iterator::IteratorData::var. |
|
Constructs iterator for the message.
Definition at line 51 of file message.cpp. References d, dbus_message_iter_init(), DBusQt::Message::iterator::IteratorData::end, fillVar(), DBusQt::Message::iterator::IteratorData::iter, and DBusQt::Message::iterator::IteratorData::mesg. |
|
Returns the QVariant held by the iterator.
Definition at line 116 of file message.cpp. References d, and DBusQt::Message::iterator::IteratorData::var. |
|
Returns the constant QVariant held by the iterator.
Definition at line 106 of file message.cpp. References d, and DBusQt::Message::iterator::IteratorData::var. |
|
Compares two iterators.
Definition at line 178 of file message.cpp. References operator==(). |
|
Moves to the next field and returns self before incrementing.
Definition at line 146 of file message.cpp. References operator++(). |
|
Moves to the next field and return a reference to itself after incrementing.
Definition at line 127 of file message.cpp. References d, dbus_message_iter_next(), DBusQt::Message::iterator::IteratorData::end, fillVar(), DBusQt::Message::iterator::IteratorData::iter, and DBusQt::Message::iterator::IteratorData::var. Referenced by operator++(). |
|
Creates an iterator equal to the
Definition at line 91 of file message.cpp. References d, DBusQt::Message::iterator::IteratorData::end, DBusQt::Message::iterator::IteratorData::iter, and DBusQt::Message::iterator::IteratorData::var. |
|
Compares this iterator to
Definition at line 159 of file message.cpp. References d, DBusQt::Message::iterator::IteratorData::end, and DBusQt::Message::iterator::IteratorData::var. Referenced by operator!=(). |
|
Returns a QVariant help by this iterator.
Definition at line 293 of file message.cpp. References d, and DBusQt::Message::iterator::IteratorData::var. |