Ubuntu TV Media Scanner
A centralized index for removable media content.
|
This calls describes the signatures of D-Bus interface members. More...
#include <mediascanner/dbustypes.h>
Public Member Functions | |
Signature (const std::string &signature) | |
Implicit constructor that converts a C++ string. More... | |
Signature (const GVariantType *type) | |
Implicit constructor that converts a GVariantType. More... | |
operator const char * () const | |
operator const GVariantType * () const | |
const std::string & | str () const |
Static Public Member Functions | |
static Signature | array (const Signature &element_type) |
static Signature | dictionary (const Signature &key_type, const Signature &value_type) |
static Signature | tuple (const Signature &element) |
Public Attributes | |
std::string | signature_ |
This calls describes the signatures of D-Bus interface members.
It is useful to avoid type-cast issues between C++ types such as std::string and C types such as GVariantType.
mediascanner::dbus::Signature::Signature | ( | const std::string & | signature) |
Implicit constructor that converts a C++ string.
signature | The string representation of the signature. |
mediascanner::dbus::Signature::Signature | ( | const GVariantType * | type) |
Implicit constructor that converts a GVariantType.
signature | The GVariantType representation of the signature. |
|
static |
mediascanner::dbus::Signature::operator const char * | ( | ) | const |
mediascanner::dbus::Signature::operator const GVariantType * | ( | ) | const |
const std::string& mediascanner::dbus::Signature::str | ( | ) | const |
std::string mediascanner::dbus::Signature::signature_ |