NullCap.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
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     //  CLASS NAME : NullCap
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   } // namespace capability
00070 } // namespace zypp
00072 #endif // ZYPP_CAPABILITY_NULLCAP_H

Generated on Thu Jul 6 00:07:20 2006 for zypp by  doxygen 1.4.6