Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CDBusError Class Reference

#include <DBusUtil.h>

Public Member Functions

 CDBusError ()
 
 ~CDBusError ()
 
 operator DBusError * ()
 
bool IsSet () const
 
void Reset ()
 
 operator bool ()
 
 operator bool () const
 
std::string Name () const
 
std::string Message () const
 
void Log (std::string const &message="DBus error") const
 
void Log (int level, std::string const &message="DBus error") const
 

Constructor & Destructor Documentation

◆ CDBusError()

CDBusError::CDBusError ( )

◆ ~CDBusError()

CDBusError::~CDBusError ( )

Member Function Documentation

◆ IsSet()

bool CDBusError::IsSet ( ) const

◆ Log() [1/2]

void CDBusError::Log ( int level,
std::string const & message = "DBus error" ) const

◆ Log() [2/2]

void CDBusError::Log ( std::string const & message = "DBus error") const

◆ Message()

std::string CDBusError::Message ( ) const

◆ Name()

std::string CDBusError::Name ( ) const

◆ operator bool() [1/2]

CDBusError::operator bool ( )

◆ operator bool() [2/2]

CDBusError::operator bool ( ) const

◆ operator DBusError *()

CDBusError::operator DBusError * ( )

◆ Reset()

void CDBusError::Reset ( )

Reset this error wrapper

If there was an error, it was handled and this error wrapper should be used again in a new call, it must be reset before that call.


The documentation for this class was generated from the following files: