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)


Detailed Description

Hal implementation.

Definition at line 48 of file Hal.cc.


Constructor & Destructor Documentation

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

Ctor.

Definition at line 72 of file Hal.cc.

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

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

Dtor.

Definition at line 105 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 64 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 120 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 126 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 197 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 230 of file Hal.cc.


Member Data Documentation

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

pointer to dbus connection

Definition at line 53 of file Hal.cc.

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

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

pointer to complete hal context

Definition at line 58 of file Hal.cc.

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


The documentation for this struct was generated from the following file:
Generated on Thu Jul 6 00:07:35 2006 for zypp by  doxygen 1.4.6