17#ifndef DBUSCXX_TYPES_H
18#define DBUSCXX_TYPES_H
22typedef std::map<DBus::Path,std::map<std::string,std::map<std::string,DBus::Variant>>>
ObjectManagerObjects;
27 return static_cast<int>( t );
31 return static_cast<int>( t );
152template <
typename... args>
164template <
typename ...T>
A FileDescriptor holds a UNIX file descriptor that can be passed between processes.
Definition: filedescriptor.h:21
Represents a DBus Path.
Definition: path.h:21
Represents a DBus signature.
Definition: signature.h:78
Contains useful data about the type in order for code generation to happen in an easy manner.
Definition: types.h:176
DataType m_type
Definition: types.h:220
int32_t alignment() const
Return the alignment of the type.
Definition: types.cpp:181
TypeInfo(DataType d)
The type to get info for.
Definition: types.cpp:15
bool is_container() const
True if the element type is a container.
Definition: types.cpp:168
std::string cppType() const
Returns the C++ type of this DataType.
Definition: types.cpp:72
bool isTemplated() const
Returns true if this type is templated.
Definition: types.cpp:17
std::vector< std::string > includeFilesForType() const
Returns the needed includes in order to use this type.
Definition: types.cpp:31
char to_dbus_char() const
Turn this type into a DBus char.
Definition: types.cpp:215
bool is_basic() const
True if the element type is a basic type.
Definition: types.cpp:132
bool is_fixed() const
True if the element type is a fixed type.
Definition: types.cpp:152
A Variant is a type-safe union for DBus operations.
Definition: variant.h:42
Global DBus namespace, where everything happens.
Definition: callmessage.cpp:18
int typeToDBusContainerType(ContainerType t)
Definition: types.h:30
ContainerType
Definition: enums.h:73
DataType checked_type_cast(int n)
Definition: types.h:168
std::shared_ptr< DBus::Connection > operator<<(std::shared_ptr< DBus::Connection > ptr, std::shared_ptr< DBus::Message > msg)
Definition: connection.h:449
bool is_ending_container(char c)
Definition: types.h:116
DataType type(const uint8_t &)
Definition: types.h:139
std::map< DBus::Path, std::map< std::string, std::map< std::string, DBus::Variant > > > ObjectManagerObjects
Definition: types.h:22
ContainerType char_to_ending_container(char c)
Definition: types.h:127
DataType char_to_dbus_type(char c)
Definition: types.h:34
DataType
Definition: enums.h:52
int typeToDBusType(DataType t)
Definition: types.h:26
ContainerType char_to_container_type(char c)
Definition: types.h:96