Used to append a single, complete value to a Variant. More...
#include <variantappenditerator.h>
Private Member Functions | |
VariantAppendIterator (Variant *variant, ContainerType t) | |
bool | open_container (ContainerType t, const std::string &contained_signature) |
bool | close_container () |
VariantAppendIterator * | sub_iterator () |
Private Attributes | |
std::shared_ptr< priv_data > | m_priv |
Used to append a single, complete value to a Variant.
This is essentially a variant-specific version of MessageAppendIterator
|
private |
References DBus::default_endianess(), and m_priv.
Referenced by open_container().
VariantAppendIterator::VariantAppendIterator | ( | Variant * | variant | ) |
References DBus::default_endianess(), DBus::Variant::m_marshaled, and m_priv.
VariantAppendIterator::~VariantAppendIterator | ( | ) |
References m_priv.
|
private |
References DBus::ARRAY, DBus::DICT_ENTRY, m_priv, DBus::Validator::maximum_array_size(), DBus::None, DBus::STRUCT, and DBus::VARIANT.
Referenced by open_container(), and operator<<().
|
private |
References DBus::TypeInfo::alignment(), DBus::ARRAY, DBus::Signature::begin(), close_container(), m_priv, DBus::signature(), DBus::SignatureIterator::type(), and VariantAppendIterator().
Referenced by operator<<().
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const bool & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const char * | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const double & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const int16_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const int32_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const int64_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const Path & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const Signature & | v | ) |
References m_priv.
|
inline |
References DBus::ARRAY, close_container(), DBus::DICT_ENTRY, open_container(), DBus::signature_dict_data(), and sub_iterator().
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const std::string & | v | ) |
References m_priv.
|
inline |
References close_container(), open_container(), DBus::signature(), DBus::STRUCT, and sub_iterator().
|
inline |
References DBus::ARRAY, close_container(), open_container(), DBus::signature(), and sub_iterator().
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const uint16_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const uint32_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const uint64_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const uint8_t & | v | ) |
References m_priv.
VariantAppendIterator & VariantAppendIterator::operator<< | ( | const Variant & | v | ) |
References DBus::ARRAY, DBus::Signature::begin(), close_container(), DBus::Variant::data_alignment(), DBus::DICT_ENTRY, DBus::Signature::end(), DBus::Variant::m_currentType, m_priv, DBus::Variant::m_signature, DBus::Variant::marshaled(), DBus::SignatureIterator::recurse(), and DBus::Variant::type().
|
private |
References m_priv.
Referenced by operator<<().
|
private |
Referenced by close_container(), open_container(), operator<<(), sub_iterator(), VariantAppendIterator(), and ~VariantAppendIterator().