libzypp  14.48.5
RepoMirrorList.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
9 
10 #ifndef ZYPP_REPO_MIRRORLIST_H_
11 #define ZYPP_REPO_MIRRORLIST_H_
12 
13 #include <vector>
14 #include "zypp/Url.h"
15 #include "zypp/Pathname.h"
16 
17 namespace zypp
18 {
19  namespace repo
20  {
22  {
23  public:
24  RepoMirrorList( const Url & url_r, const Pathname & metadatapath_r = Pathname() );
25 
26  const std::vector<Url> & getUrls() const
27  { return _urls; }
28 
29  std::vector<Url> & getUrls()
30  { return _urls; }
31 
32  private:
33  std::vector<Url> _urls;
34  };
35  } // ns repo
36 } // ns zypp
37 
38 #endif
39 
40 // vim: set ts=2 sts=2 sw=2 et ai:
std::vector< Url > & getUrls()
std::vector< Url > _urls
RepoMirrorList(const Url &url_r, const Pathname &metadatapath_r=Pathname())
const std::vector< Url > & getUrls() const
Url manipulation class.
Definition: Url.h:87