libzypp  13.10.6
zypp::ZYppFactory Class Reference

ZYpp factory class (Singleton) More...

#include <ZYppFactory.h>

Public Member Functions

 ~ZYppFactory ()
 Dtor. More...
 
ZYpp::Ptr getZYpp () const
 
bool haveZYpp () const
 Whether the ZYpp instance is already created. More...
 

Static Public Member Functions

static ZYppFactory instance ()
 Singleton ctor. More...
 

Private Member Functions

 ZYppFactory ()
 Default ctor. More...
 

Friends

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

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const ZYppFactory &obj)
 
ZYpp::Ptr getZYpp ()
 

Detailed Description

ZYpp factory class (Singleton)

Definition at line 43 of file ZYppFactory.h.

Constructor & Destructor Documentation

zypp::ZYppFactory::~ZYppFactory ( )

Dtor.

Definition at line 341 of file ZYppFactory.cc.

zypp::ZYppFactory::ZYppFactory ( )
private

Default ctor.

Definition at line 331 of file ZYppFactory.cc.

Member Function Documentation

ZYppFactory zypp::ZYppFactory::instance ( )
static

Singleton ctor.

Definition at line 321 of file ZYppFactory.cc.

ZYpp::Ptr zypp::ZYppFactory::getZYpp ( ) const
Returns
Pointer to the ZYpp instance.
Exceptions
EXCEPTIONIn case we can't acquire a lock.

Definition at line 346 of file ZYppFactory.cc.

bool zypp::ZYppFactory::haveZYpp ( ) const

Whether the ZYpp instance is already created.

Definition at line 413 of file ZYppFactory.cc.

Friends And Related Function Documentation

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

Definition at line 421 of file ZYppFactory.cc.

std::ostream & operator<< ( std::ostream &  str,
const ZYppFactory obj 
)
related

Stream output

Definition at line 421 of file ZYppFactory.cc.

ZYpp::Ptr getZYpp ( )
related

Convenience to get the Pointer to the ZYpp instance.

See Also
ZYppFactory::getZYpp

Definition at line 75 of file ZYppFactory.h.


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