1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
18 #include "zypp/Arch.h"
20 ///////////////////////////////////////////////////////////////////
22 { /////////////////////////////////////////////////////////////////
24 ///////////////////////////////////////////////////////////////////
28 /** Helper storing Name, Edition and Arch. */
29 struct NVRA : public NVR
37 NVRA( const std::string & name_r,
38 const Edition & edition_r = Edition(),
39 const Arch & arch_r = Arch() )
40 : NVR( name_r, edition_r )
46 NVRA( const NVR & nvr_r,
47 const Arch & arch_r = Arch() )
52 /** Ctor from Resolvable::constPtr */
54 NVRA( ResTraits<Resolvable>::constPtrType res_r );
59 ///////////////////////////////////////////////////////////////////
61 /** \relates NVRA Stream output */
62 std::ostream & operator<<( std::ostream & str, const NVRA & obj );
64 /////////////////////////////////////////////////////////////////
66 ///////////////////////////////////////////////////////////////////