00001 /*---------------------------------------------------------------------\ 00002 | ____ _ __ __ ___ | 00003 | |__ / \ / / . \ . \ | 00004 | / / \ V /| _/ _/ | 00005 | / /__ | | | | | | | 00006 | /_____||_| |_| |_| | 00007 | | 00008 \---------------------------------------------------------------------*/ 00016 #include "zypp/ui/PatchContentsImpl.h" 00017 00018 namespace zypp 00019 { 00020 namespace ui 00021 { 00022 PatchContents::PatchContents( Patch::constPtr patch ) 00023 : _pimpl( new PatchContents::Impl( patch ) ) 00024 { 00025 // NOP 00026 } 00027 00028 PatchContents::const_iterator PatchContents::begin() const 00029 { 00030 return _pimpl->begin(); 00031 } 00032 00033 PatchContents::const_iterator PatchContents::end() const 00034 { 00035 return _pimpl->end(); 00036 } 00037 00038 bool PatchContents::empty() const 00039 { 00040 return _pimpl->empty(); 00041 } 00042 00043 PatchContents::size_type PatchContents::size() const 00044 { 00045 return _pimpl->size(); 00046 } 00047 00048 } // namespace ui 00049 } // namespace zypp