zypp::ZYppFactory Class Reference

ZYpp factory class (Singleton). More...

#include <ZYppFactory.h>

List of all members.

Public Member Functions

 ~ZYppFactory ()
 Dtor.
ZYpp::Ptr getZYpp () const
 
Returns:
Pointer to the ZYpp instance.


Static Public Member Functions

static ZYppFactory instance ()
 Singleton ctor.

Private Member Functions

 ZYppFactory ()
 Default ctor.

Friends

std::ostream & operator<< (std::ostream &str, const ZYppFactory &obj)
 Stream output.

Related Functions

(Note that these are not member functions.)

ZYpp::Ptr getZYpp ()
 Convenience to get the Pointer to the ZYpp instance.


Detailed Description

ZYpp factory class (Singleton).

Definition at line 36 of file ZYppFactory.h.


Constructor & Destructor Documentation

zypp::ZYppFactory::~ZYppFactory (  ) 

Dtor.

Definition at line 313 of file ZYppFactory.cc.

zypp::ZYppFactory::ZYppFactory (  )  [private]

Default ctor.

Definition at line 303 of file ZYppFactory.cc.

Referenced by instance().


Member Function Documentation

ZYppFactory zypp::ZYppFactory::instance (  )  [static]

Singleton ctor.

Definition at line 293 of file ZYppFactory.cc.

References ZYppFactory().

Referenced by getZYpp().

ZYpp::Ptr zypp::ZYppFactory::getZYpp (  )  const

Returns:
Pointer to the ZYpp instance.

Exceptions:
EXCEPTION In case we can't acquire a lock.

Definition at line 318 of file ZYppFactory.cc.

References zypp::ZYppGlobalLock::_clean_lock, zypp::zypp_readonly_hack::active, zypp::globalLock, MIL, N_, ZYPP_THROW, and zypp::ZYppGlobalLock::zyppLocked().

Referenced by getZYpp().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const ZYppFactory obj 
) [friend]

Stream output.

Definition at line 351 of file ZYppFactory.cc.

ZYpp::Ptr getZYpp (  )  [related]

Convenience to get the Pointer to the ZYpp instance.

See also:
ZYppFactory::getZYpp

Definition at line 65 of file ZYppFactory.h.

References getZYpp(), and instance().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:17 2007 for libzypp by  doxygen 1.5.3