zypp::target::hal::Hal::Impl Struct Reference

Hal implementation. More...

List of all members.

Public Member Functions

void report_error (const std::string &reason, DBusError &error) const
 report HAL error and reset the error condition
 Impl ()
 Ctor.
 ~Impl ()
 Dtor.
bool query (const std::string &cap_r) const
 query for HAL capability present
bool query (const std::string &cap_r, Rel op_r, const std::string &val_r) const
 query for HAL capability having a specific value

Static Public Member Functions

static shared_ptr< Implnullimpl ()
 Offer default Impl.

Public Attributes

DBusConnection * _connection
 pointer to dbus connection
LibHalContext * _context
 pointer to complete hal context

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const Hal::Impl &obj)
 Stream output And maybe std::ostream & operator<< Hal::Impl below too.


Detailed Description

Hal implementation.

Definition at line 49 of file Hal.cc.


Constructor & Destructor Documentation

zypp::target::hal::Hal::Impl::Impl (  )  [inline]

Ctor.

Definition at line 73 of file Hal.cc.

References _connection, _context, error, and report_error().

zypp::target::hal::Hal::Impl::~Impl (  )  [inline]

Dtor.

Definition at line 107 of file Hal.cc.

References _connection, and _context.


Member Function Documentation

void zypp::target::hal::Hal::Impl::report_error ( const std::string &  reason,
DBusError &  error 
) const [inline]

report HAL error and reset the error condition

Definition at line 65 of file Hal.cc.

References ERR.

Referenced by Impl(), and query().

bool zypp::target::hal::Hal::Impl::query ( const std::string &  cap_r  )  const [inline]

query for HAL capability present

Definition at line 122 of file Hal.cc.

References zypp::Rel::ANY.

bool zypp::target::hal::Hal::Impl::query ( const std::string &  cap_r,
Rel  op_r,
const std::string &  val_r 
) const [inline]

query for HAL capability having a specific value

Definition at line 128 of file Hal.cc.

References _context, zypp::Rel::ANY_e, zypp::Rel::EQ_e, error, zypp::Rel::GE_e, zypp::Rel::GT_e, INT, zypp::Rel::LE_e, zypp::Rel::LT_e, zypp::Rel::NE_e, zypp::Rel::NONE_e, and report_error().

static shared_ptr<Impl> zypp::target::hal::Hal::Impl::nullimpl (  )  [inline, static]

Offer default Impl.

Definition at line 199 of file Hal.cc.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const Hal::Impl obj 
) [related]

Stream output And maybe std::ostream & operator<< Hal::Impl below too.

return libhal version or something like that.

Definition at line 232 of file Hal.cc.


Member Data Documentation

DBusConnection* zypp::target::hal::Hal::Impl::_connection

pointer to dbus connection

Definition at line 54 of file Hal.cc.

Referenced by Impl(), and ~Impl().

LibHalContext* zypp::target::hal::Hal::Impl::_context

pointer to complete hal context

Definition at line 59 of file Hal.cc.

Referenced by Impl(), query(), and ~Impl().


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:28 2007 for libzypp by  doxygen 1.5.3