Stores information about an annotation.
More...
#include <giomm/dbusintrospection.h>
Stores information about an annotation.
- Since glibmm 2.28:
◆ AnnotationInfo() [1/2]
Gio::DBus::AnnotationInfo::AnnotationInfo |
( |
| ) |
|
|
delete |
◆ AnnotationInfo() [2/2]
◆ gobj() [1/2]
Provides access to the underlying C instance.
◆ gobj() [2/2]
Provides access to the underlying C instance.
◆ gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ info_lookup()
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.
◆ operator delete()
void Gio::DBus::AnnotationInfo::operator delete |
( |
void * |
, |
|
|
std::size_t |
|
|
) |
| |
|
protected |
◆ operator=()
◆ reference()
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.
◆ unreference()
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.
◆ wrap()
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.