NodeInfo - Stores information about nodes in a remote object hierarchy.
More...
#include <giomm/dbusintrospection.h>
NodeInfo - Stores information about nodes in a remote object hierarchy.
- Since glibmm 2.28:
Gio::DBus::NodeInfo::NodeInfo |
( |
| ) |
|
|
delete |
Gio::DBus::NodeInfo::NodeInfo |
( |
const NodeInfo& |
| ) |
|
|
delete |
Parses xml_data and returns a DBusNodeInfo representing the data.
The introspection XML must contain exactly one top-level <node> element.
Note that this routine is using a [GMarkup][glib-Simple-XML-Subset-Parser.description]-based parser that only accepts a subset of valid XML documents.
- Since glibmm 2.26:
- Parameters
-
xml_data | Valid D-Bus introspection XML. |
- Returns
- A DBusNodeInfo structure or
nullptr
if error is set. Free with g_dbus_node_info_unref().
- Exceptions
-
GDBusNodeInfo* Gio::DBus::NodeInfo::gobj |
( |
| ) |
|
Provides access to the underlying C instance.
const GDBusNodeInfo* Gio::DBus::NodeInfo::gobj |
( |
| ) |
const |
Provides access to the underlying C instance.
GDBusNodeInfo* Gio::DBus::NodeInfo::gobj_copy |
( |
| ) |
const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Looks up information about an interface.
The cost of this function is O(n) in number of interfaces.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus interface name. |
- Returns
- A Gio::DBus::InterfaceInfo or
nullptr
if not found. Do not free, it is owned by info.
Looks up information about an interface.
The cost of this function is O(n) in number of interfaces.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus interface name. |
- Returns
- A Gio::DBus::InterfaceInfo or
nullptr
if not found. Do not free, it is owned by info.
Looks up information about the first interface.
Looks up information about the first interface.
void Gio::DBus::NodeInfo::operator delete |
( |
void * |
, |
|
|
std::size_t |
|
|
) |
| |
|
protected |
void Gio::DBus::NodeInfo::reference |
( |
| ) |
const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
void Gio::DBus::NodeInfo::unreference |
( |
| ) |
const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.