libzypp
11.13.5
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
21
namespace
zypp
22
{
23
class
RepoInfo;
24
25
namespace
parser
26
{
27
43
class
RepoindexFileReader
:
private
base::NonCopyable
44
{
45
public
:
51
typedef
function
< bool(
52
const
RepoInfo
& )>
53
ProcessResource
;
54
63
RepoindexFileReader
(
const
zypp::Pathname & repoindexFile,
64
const
ProcessResource
& callback);
65
74
RepoindexFileReader
(
const
InputStream
&is,
75
const
ProcessResource
& callback );
76
80
~RepoindexFileReader
();
81
82
private
:
83
class
Impl
;
84
RW_pointer<Impl,rw_pointer::Scoped<Impl>
>
_pimpl
;
85
};
86
87
88
}
// ns parser
89
}
// ns zypp
90
91
#endif
/*zypp_source_yum_RepoindexFileReader_H*/
92
93
// vim: set ts=2 sts=2 sw=2 et ai:
zypp
parser
RepoindexFileReader.h
Generated by
1.8.1