glibmm 2.29.13
|
Stores information about an annotation. More...
#include <giomm/dbusintrospection.h>
Public Member Functions | |
void | reference () const |
Increment the reference count for this object. | |
void | unreference () const |
Decrement the reference count for this object. | |
GDBusAnnotationInfo* | gobj () |
Provides access to the underlying C instance. | |
const GDBusAnnotationInfo* | gobj () const |
Provides access to the underlying C instance. | |
GDBusAnnotationInfo* | gobj_copy () const |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Static Public Member Functions | |
static Glib::ustring | info_lookup (const Glib::ArrayHandle< Glib::RefPtr< AnnotationInfo > >& annotations, const Glib::ustring& name) |
Looks up the value of an annotation. | |
Protected Member Functions | |
AnnotationInfo () | |
void | operator delete (void*, size_t) |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr < Gio::DBus::AnnotationInfo > | wrap (GDBusAnnotationInfo* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Stores information about an annotation.
Gio::DBus::AnnotationInfo::AnnotationInfo | ( | ) | [protected] |
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.
static Glib::ustring Gio::DBus::AnnotationInfo::info_lookup | ( | const Glib::ArrayHandle< Glib::RefPtr< AnnotationInfo > >& | annotations, |
const Glib::ustring& | name | ||
) | [static] |
Looks up the value of an annotation.
This cost of this function is O(n) in number of annotations.
annotations | A 0 -terminated array of annotations or 0 . |
name | The name of the annotation to look up. |
0
if not found. Do not free, it is owned by annotations. void Gio::DBus::AnnotationInfo::operator delete | ( | void * | , |
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.
Glib::RefPtr< Gio::DBus::AnnotationInfo > wrap | ( | GDBusAnnotationInfo * | object, |
bool | take_copy = false |
||
) | [related] |
A Glib::wrap() method for this object.
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. |