libzypp  17.35.14
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 
17 #include <zypp/Globals.h>
18 
20 namespace zypp
21 {
22 
25  {
35  };
38 
44  bool deserialize( const std::string & str_r, DownloadMode & result_r );
45 
50  inline DownloadMode deserializeDownloadMode( const std::string & str_r )
51  {
53  deserialize( str_r, ret );
54  return ret;
55  }
56 
58  std::ostream & operator<<( std::ostream & str, DownloadMode obj ) ZYPP_API;
59 
61 } // namespace zypp
63 #endif // ZYPP_DOWNLOADMODE_H
Alternating download and install.
Definition: DownloadMode.h:34
First download all packages to the local cache.
Definition: DownloadMode.h:29
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
Definition: SerialNumber.cc:52
Similar to DownloadInAdvance, but try to split the transaction into heaps, where at the end of each h...
Definition: DownloadMode.h:31
Just download all packages to the local cache.
Definition: DownloadMode.h:27
libzypp will decide what to do.
Definition: DownloadMode.h:26
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition: ResTraits.h:93
bool deserialize(const std::string &str_r, DownloadMode &result_r)
Definition: DownloadMode.cc:23
Easy-to use interface to the ZYPP dependency resolver.
Definition: Application.cc:19
DownloadMode
Supported commit download policies.
Definition: DownloadMode.h:24