00001
00002
00003
00004
00005
00006
00007
00008
00012 #ifndef ZYPP_CAPABILITY_NULLCAP_H
00013 #define ZYPP_CAPABILITY_NULLCAP_H
00014
00015 #include "zypp/capability/CapabilityImpl.h"
00016
00018 namespace zypp
00019 {
00020
00021 namespace capability
00022 {
00023
00025
00026
00027
00033 class NullCap : public CapabilityImpl
00034 {
00035 public:
00037 static CapabilityImpl_Ptr instance();
00038
00039 private:
00043 NullCap();
00044
00045 public:
00046 typedef NullCap Self;
00047
00049 virtual const Kind & kind() const;
00050
00052 virtual bool relevant() const;
00053
00055 virtual CapMatch matches( const constPtr & rhs ) const;
00056
00058 virtual std::string encode() const;
00059
00060 private:
00062 static CapabilityImpl_Ptr _instance;
00063 };
00065
00067 }
00070 }
00072 #endif // ZYPP_CAPABILITY_NULLCAP_H