FileCap.cc

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #include "zypp/capability/FileCap.h"
00013 
00014 using namespace std;
00015 
00017 namespace zypp
00018 { 
00019 
00020   namespace capability
00021   { 
00022 
00023     const CapabilityImpl::Kind & FileCap::kind() const
00024     { return CapTraits<Self>::kind; }
00025 
00026     CapMatch FileCap::matches( const constPtr & rhs ) const
00027     {
00028       return (    sameKindAndRefers( rhs )
00029                && _fname == asKind<Self>(rhs)->_fname );
00030     }
00031 
00032     std::string FileCap::encode() const
00033     { return _fname; }
00034 
00036   } // namespace capability
00039 } // namespace zypp

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