CapAndItem.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_CAPANDITEM_H
00013 #define ZYPP_CAPANDITEM_H
00014 
00015 #include "zypp/PoolItem.h"
00016 #include "zypp/Capability.h"
00017 
00019 namespace zypp
00020 { 
00021 
00023     //
00024     //  CLASS NAME : CapAndItem
00025     //
00027     struct CapAndItem
00028     {
00029         friend std::ostream & operator<<( std::ostream & str, const CapAndItem & obj );
00030         public:
00031             Capability cap;
00032             PoolItem item;
00033 
00034             CapAndItem( Capability c, PoolItem i )
00035                 : cap( c )
00036                 , item( i )
00037             { }
00038     };
00039 
00041 } // namespace zypp
00043 #endif // ZYPP_CAPANDITEM_H

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