libzypp
11.13.5
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
DownloadMode.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_DOWNLOADMODE_H
13
#define ZYPP_DOWNLOADMODE_H
14
15
#include <iosfwd>
16
18
namespace
zypp
19
{
20
22
enum
DownloadMode
23
{
24
DownloadDefault
,
25
DownloadOnly
,
26
27
DownloadInAdvance
,
28
29
DownloadInHeaps
,
30
31
32
DownloadAsNeeded
33
34
35
};
36
42
bool
deserialize
(
const
std::string & str_r,
DownloadMode
& result_r );
43
48
inline
DownloadMode
deserializeDownloadMode(
const
std::string & str_r )
49
{
50
DownloadMode
ret(
DownloadDefault
);
51
deserialize
( str_r, ret );
52
return
ret;
53
}
54
56
std::ostream &
operator<<
( std::ostream & str,
DownloadMode
obj );
57
59
}
// namespace zypp
61
#endif // ZYPP_DOWNLOADMODE_H
zypp
DownloadMode.h
Generated by
1.8.1