#include <NullCap.h>
Inheritance diagram for zypp::capability::NullCap:
Public Types | |
typedef NullCap | Self |
Public Member Functions | |
virtual const Kind & | kind () const |
Kind of capabiliy. | |
virtual bool | relevant () const |
Not relevant. | |
virtual CapMatch | matches (const constPtr &rhs) const |
Iirrelevant. | |
virtual std::string | encode () const |
Empty string. | |
Static Public Member Functions | |
static CapabilityImpl_Ptr | instance () |
Get a Ptr to the NULLCap. | |
Private Member Functions | |
NullCap () | |
Private Ctor. | |
Static Private Attributes | |
static CapabilityImpl_Ptr | _instance |
Singleton. |
It's a singleton, so you can't construct one. Call instance to get a CapabilityImpl_Ptr to the NullCap.
Definition at line 33 of file NullCap.h.
|
Reimplemented from zypp::capability::CapabilityImpl. |
|
Private Ctor. Call instance to get a CapabilityImpl_Ptr to the NullCap. Definition at line 27 of file NullCap.cc. |
|
Get a Ptr to the NULLCap.
Definition at line 31 of file NullCap.cc. References _instance. Referenced by zypp::CapFactory::Impl::buildFile(), and zypp::CapFactory::Impl::buildNamed(). |
|
Kind of capabiliy.
Implements zypp::capability::CapabilityImpl. Definition at line 38 of file NullCap.cc. |
|
Not relevant.
Reimplemented from zypp::capability::CapabilityImpl. Definition at line 41 of file NullCap.cc. |
|
Iirrelevant.
Definition at line 44 of file NullCap.cc. References zypp::CapMatch::irrelevant. |
|
Empty string.
Implements zypp::capability::CapabilityImpl. Definition at line 47 of file NullCap.cc. |
|
Singleton.
Definition at line 62 of file NullCap.h. Referenced by instance(). |