00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00015 #ifndef ZYPP_UI_PATCH_CONTENTS_IMPL_H 00016 #define ZYPP_UI_PATCH_CONTENTS_IMPL_H 00017 00018 #include <vector> 00019 #include "zypp/base/PtrTypes.h" 00020 #include "zypp/ui/PatchContents.h" 00021 00022 namespace zypp 00023 { 00024 namespace ui 00025 { 00026 class PatchContents::Impl 00027 { 00028 public: 00029 00030 Impl( Patch::constPtr patch ); 00031 00032 const_iterator byKindBegin( const ResObject::Kind & kind_r ) const; 00033 const_iterator byKindEnd ( const ResObject::Kind & kind_r ) const; 00034 00035 const_iterator begin() const; 00036 const_iterator end () const; 00037 00038 bool empty() const; 00039 size_type size() const; 00040 00041 private: 00042 Patch::constPtr _patch; 00043 ContentsCollection _contents; 00044 }; 00045 00046 00047 } // namespace ui 00048 } // namespace zypp 00049 00050 #endif // ZYPP_UI_PATCH_CONTENTS_IMPL_H