types.h File Reference

#include <stdint.h>
#include <string>
#include <vector>
#include <map>
#include "api.h"
#include "util.h"
#include "message.h"
#include "error.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DBus::Path
struct  DBus::Signature
struct  DBus::Invalid
class  DBus::Variant
struct  DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >
struct  DBus::type< T >
struct  DBus::type< Variant >
struct  DBus::type< uint8_t >
struct  DBus::type< bool >
struct  DBus::type< int16_t >
struct  DBus::type< uint16_t >
struct  DBus::type< int32_t >
struct  DBus::type< uint32_t >
struct  DBus::type< int64_t >
struct  DBus::type< uint64_t >
struct  DBus::type< double >
struct  DBus::type< std::string >
struct  DBus::type< Path >
struct  DBus::type< Signature >
struct  DBus::type< Invalid >
struct  DBus::type< std::vector< E > >
struct  DBus::type< std::map< K, V > >
struct  DBus::type< Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > >

Namespaces

namespace  DBus

Functions

template<typename K , typename V >
bool DBus::dict_has_key (const std::map< K, V > &map, const K &key)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const DBus::Invalid &)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const uint8_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const bool &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const int16_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const uint16_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const int32_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const uint32_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const int64_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const uint64_t &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const double &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const std::string &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const DBus::Path &val)
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const DBus::Signature &val)
template<typename E >
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const std::vector< E > &val)
template<>
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const std::vector< uint8_t > &val)
template<typename K , typename V >
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const std::map< K, V > &val)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 >
DBus::MessageIteroperator<< (DBus::MessageIter &iter, const DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > &val)
DXXAPI DBus::MessageIteroperator<< (DBus::MessageIter &iter, const DBus::Variant &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, DBus::Invalid &)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, uint8_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, bool &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, int16_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, uint16_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, int32_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, uint32_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, int64_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, uint64_t &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, double &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, std::string &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, DBus::Path &val)
DBus::MessageIteroperator>> (DBus::MessageIter &iter, DBus::Signature &val)
template<typename E >
DBus::MessageIteroperator>> (DBus::MessageIter &iter, std::vector< E > &val)
template<>
DBus::MessageIteroperator>> (DBus::MessageIter &iter, std::vector< uint8_t > &val)
template<typename K , typename V >
DBus::MessageIteroperator>> (DBus::MessageIter &iter, std::map< K, V > &val)
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 >
DBus::MessageIteroperator>> (DBus::MessageIter &iter, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > &val)
DXXAPI DBus::MessageIteroperator>> (DBus::MessageIter &iter, DBus::Variant &val)

Function Documentation

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 >
DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > &  val 
) [inline]

Definition at line 461 of file types.h.

References DBus::MessageIter::close_container().

template<typename K , typename V >
DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const std::map< K, V > &  val 
) [inline]
template<>
DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const std::vector< uint8_t > &  val 
) [inline]

Definition at line 415 of file types.h.

References DBus::MessageIter::append_array().

template<typename E >
DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const std::vector< E > &  val 
) [inline]

Definition at line 399 of file types.h.

References DBus::MessageIter::close_container(), and DBus::type< T >::sig().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const DBus::Signature val 
) [inline]

Definition at line 392 of file types.h.

References DBus::MessageIter::append_signature().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const DBus::Path val 
) [inline]

Definition at line 386 of file types.h.

References DBus::MessageIter::append_path().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const std::string &  val 
) [inline]

Definition at line 380 of file types.h.

References DBus::MessageIter::append_string().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const double &  val 
) [inline]

Definition at line 374 of file types.h.

References DBus::MessageIter::append_double().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const uint64_t &  val 
) [inline]

Definition at line 368 of file types.h.

References DBus::MessageIter::append_uint64().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const int64_t &  val 
) [inline]

Definition at line 362 of file types.h.

References DBus::MessageIter::append_int64().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const uint32_t &  val 
) [inline]

Definition at line 356 of file types.h.

References DBus::MessageIter::append_uint32().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const int32_t &  val 
) [inline]

Definition at line 350 of file types.h.

References DBus::MessageIter::append_int32().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const uint16_t &  val 
) [inline]

Definition at line 344 of file types.h.

References DBus::MessageIter::append_uint16().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const int16_t &  val 
) [inline]

Definition at line 338 of file types.h.

References DBus::MessageIter::append_int16().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const bool &  val 
) [inline]

Definition at line 332 of file types.h.

References DBus::MessageIter::append_bool().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const uint8_t &  val 
) [inline]

Definition at line 326 of file types.h.

References DBus::MessageIter::append_byte().

DBus::MessageIter& operator<< ( DBus::MessageIter iter,
const DBus::Invalid  
) [inline]

Definition at line 321 of file types.h.

template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 , typename T10 , typename T11 , typename T12 , typename T13 , typename T14 , typename T15 , typename T16 >
DBus::MessageIter& operator>> ( DBus::MessageIter iter,
DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 > &  val 
) [inline]

Definition at line 635 of file types.h.

References DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_1, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_10, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_11, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_12, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_13, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_14, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_15, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_16, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_2, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_3, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_4, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_5, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_6, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_7, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_8, DBus::Struct< T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 >::_9, and DBus::MessageIter::recurse().

template<typename K , typename V >
DBus::MessageIter& operator>> ( DBus::MessageIter iter,
std::map< K, V > &  val 
) [inline]
template<>
DBus::MessageIter& operator>> ( DBus::MessageIter iter,
std::vector< uint8_t > &  val 
) [inline]
template<typename E >
DBus::MessageIter& operator>> ( DBus::MessageIter iter,
std::vector< E > &  val 
) [inline]
DBus::MessageIter& operator>> ( DBus::MessageIter iter,
DBus::Signature val 
) [inline]

Definition at line 548 of file types.h.

References DBus::MessageIter::get_signature().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
DBus::Path val 
) [inline]

Definition at line 542 of file types.h.

References DBus::MessageIter::get_path().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
std::string &  val 
) [inline]

Definition at line 536 of file types.h.

References DBus::MessageIter::get_string().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
double &  val 
) [inline]

Definition at line 530 of file types.h.

References DBus::MessageIter::get_double().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
uint64_t &  val 
) [inline]

Definition at line 524 of file types.h.

References DBus::MessageIter::get_uint64().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
int64_t &  val 
) [inline]

Definition at line 518 of file types.h.

References DBus::MessageIter::get_int64().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
uint32_t &  val 
) [inline]

Definition at line 512 of file types.h.

References DBus::MessageIter::get_uint32().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
int32_t &  val 
) [inline]

Definition at line 506 of file types.h.

References DBus::MessageIter::get_int32().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
uint16_t &  val 
) [inline]

Definition at line 500 of file types.h.

References DBus::MessageIter::get_uint16().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
int16_t &  val 
) [inline]

Definition at line 494 of file types.h.

References DBus::MessageIter::get_int16().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
bool &  val 
) [inline]

Definition at line 488 of file types.h.

References DBus::MessageIter::get_bool().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
uint8_t &  val 
) [inline]

Definition at line 482 of file types.h.

References DBus::MessageIter::get_byte().

DBus::MessageIter& operator>> ( DBus::MessageIter iter,
DBus::Invalid  
) [inline]

Definition at line 477 of file types.h.