Stores information about an annotation.
More...
#include <giomm/dbusintrospection.h>
Stores information about an annotation.
- Since glibmm 2.28:
Gio::DBus::AnnotationInfo::AnnotationInfo |
( |
| ) |
|
|
delete |
GDBusAnnotationInfo* Gio::DBus::AnnotationInfo::gobj |
( |
| ) |
|
Provides access to the underlying C instance.
const GDBusAnnotationInfo* Gio::DBus::AnnotationInfo::gobj |
( |
| ) |
const |
Provides access to the underlying C instance.
GDBusAnnotationInfo* Gio::DBus::AnnotationInfo::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 the value of an annotation.
The cost of this function is O(n) in number of annotations.
- Since glibmm 2.26:
- Parameters
-
annotations | A nullptr -terminated array of annotations or nullptr . |
name | The name of the annotation to look up. |
- Returns
- The value or
nullptr
if not found. Do not free, it is owned by annotations.
void Gio::DBus::AnnotationInfo::operator delete |
( |
void * |
, |
|
|
std::size_t |
|
|
) |
| |
|
protected |
void Gio::DBus::AnnotationInfo::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::AnnotationInfo::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.