libzypp
17.14.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RepoindexFileReader.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef zypp_source_yum_RepoindexFileReader_H
13
#define zypp_source_yum_RepoindexFileReader_H
14
15
#include "
zypp/base/PtrTypes.h
"
16
#include "
zypp/base/NonCopyable.h
"
17
#include "
zypp/base/Function.h
"
18
#include "
zypp/base/InputStream.h
"
19
#include "
zypp/Pathname.h
"
20
#include "
zypp/Date.h
"
21
22
namespace
zypp
23
{
24
class
RepoInfo;
25
26
namespace
parser
27
{
28
44
class
RepoindexFileReader
:
private
base::NonCopyable
45
{
46
public
:
52
typedef
function< bool( const RepoInfo & )>
ProcessResource
;
53
62
RepoindexFileReader
(
const
zypp::Pathname & repoindexFile,
63
const
ProcessResource
& callback);
64
73
RepoindexFileReader
(
const
InputStream
&is,
74
const
ProcessResource
& callback );
75
79
~RepoindexFileReader
();
80
82
Date::Duration
ttl
()
const
;
83
84
private
:
85
class
Impl
;
86
RW_pointer<Impl,rw_pointer::Scoped<Impl>
>
_pimpl
;
87
};
88
89
90
}
// ns parser
91
}
// ns zypp
92
93
#endif
/*zypp_source_yum_RepoindexFileReader_H*/
94
95
// vim: set ts=2 sts=2 sw=2 et ai:
zypp
parser
RepoindexFileReader.h
Generated by
1.8.2