glibmm 2.80.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | Related Symbols | List of all members
Gio::DBus::AnnotationInfo Class Referencefinal

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.
 
GDBusAnnotationInfogobj ()
 Provides access to the underlying C instance.
 
const GDBusAnnotationInfogobj () const
 Provides access to the underlying C instance.
 
GDBusAnnotationInfogobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
 
 AnnotationInfo ()=delete
 
 AnnotationInfo (const AnnotationInfo &)=delete
 
AnnotationInfooperator= (const AnnotationInfo &)=delete
 

Static Public Member Functions

static Glib::ustring info_lookup (const std::vector< Glib::RefPtr< AnnotationInfo > > &annotations, const Glib::ustring & name)
 Looks up the value of an annotation.
 

Protected Member Functions

void operator delete (void *, std::size_t)
 

Related Symbols

(Note that these are not member symbols.)

Glib::RefPtr< Gio::DBus::AnnotationInfowrap (GDBusAnnotationInfo *object, bool take_copy=false)
 A Glib::wrap() method for this object.
 

Detailed Description

Stores information about an annotation.

Since glibmm 2.28:

Constructor & Destructor Documentation

◆ AnnotationInfo() [1/2]

Gio::DBus::AnnotationInfo::AnnotationInfo ( )
delete

◆ AnnotationInfo() [2/2]

Gio::DBus::AnnotationInfo::AnnotationInfo ( const AnnotationInfo )
delete

Member Function Documentation

◆ gobj() [1/2]

GDBusAnnotationInfo * Gio::DBus::AnnotationInfo::gobj ( )

Provides access to the underlying C instance.

◆ gobj() [2/2]

const GDBusAnnotationInfo * Gio::DBus::AnnotationInfo::gobj ( ) const

Provides access to the underlying C instance.

◆ gobj_copy()

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.

◆ info_lookup()

static Glib::ustring Gio::DBus::AnnotationInfo::info_lookup ( const std::vector< Glib::RefPtr< AnnotationInfo > > &  annotations,
const Glib::ustring name 
)
static

Looks up the value of an annotation.

The cost of this function is O(n) in number of annotations.

Since glibmm 2.26:
Parameters
annotationsA nullptr-terminated array of annotations or nullptr.
nameThe 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=()

AnnotationInfo & Gio::DBus::AnnotationInfo::operator= ( const AnnotationInfo )
delete

◆ 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.

Friends And Related Symbol Documentation

◆ wrap()

Glib::RefPtr< Gio::DBus::AnnotationInfo > wrap ( GDBusAnnotationInfo object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse 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.