NVRAD.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                          ____ _   __ __ ___                          |
00003 |                         |__  / \ / / . \ . \                         |
00004 |                           / / \ V /|  _/  _/                         |
00005 |                          / /__ | | | | | |                           |
00006 |                         /_____||_| |_| |_|                           |
00007 |                                                                      |
00008 \---------------------------------------------------------------------*/
00012 #ifndef ZYPP_NVRAD_H
00013 #define ZYPP_NVRAD_H
00014 
00015 #include "zypp/NVRA.h"
00016 #include "zypp/Dependencies.h"
00017 
00019 namespace zypp
00020 { 
00021 
00023   //
00024   //    CLASS NAME : NVRAD
00025   //
00031   struct NVRAD : public NVRA, public Dependencies
00032   {
00034     NVRAD()
00035     {}
00036 
00038     explicit
00039     NVRAD( const std::string & name_r,
00040            const Edition & edition_r = Edition(),
00041            const Arch & arch_r = Arch(),
00042            const Dependencies & deps_r = Dependencies() )
00043     : NVRA( name_r, edition_r, arch_r )
00044     , Dependencies( deps_r )
00045     {}
00046 
00048     explicit
00049     NVRAD( const NVRA & nvra_r,
00050            const Dependencies & deps_r = Dependencies() )
00051     : NVRA( nvra_r )
00052     , Dependencies( deps_r )
00053     {}
00054 
00056     explicit
00057     NVRAD( const NVR & nvr_r,
00058            const Arch & arch_r = Arch(),
00059            const Dependencies & deps_r = Dependencies() )
00060     : NVRA( nvr_r, arch_r )
00061     , Dependencies( deps_r )
00062     {}
00063 
00065     explicit
00066     NVRAD( Resolvable::constPtr res_r );
00067   };
00069 
00071   std::ostream & operator<<( std::ostream & str, const NVRAD & obj );
00072   
00074 } // namespace zypp
00076 #endif // ZYPP_NVRAD_H

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