1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/sat/Pool.h
12 #ifndef ZYPP_SAT_POOL_H
13 #define ZYPP_SAT_POOL_H
17 #include "zypp/base/PtrTypes.h"
18 #include "zypp/base/Iterator.h"
20 #include "zypp/AutoDispose.h"
21 #include "zypp/Pathname.h"
23 #include "zypp/sat/Repo.h"
25 ///////////////////////////////////////////////////////////////////
30 ///////////////////////////////////////////////////////////////////
32 { /////////////////////////////////////////////////////////////////
33 ///////////////////////////////////////////////////////////////////
35 { /////////////////////////////////////////////////////////////////
37 ///////////////////////////////////////////////////////////////////
51 unsigned reposSize() const;
52 RepoIterator reposBegin() const;
53 RepoIterator reposEnd() const;
55 unsigned solvablesSize() const;
56 SolvableIterator solvablesBegin() const;
57 SolvableIterator solvablesEnd() const;
62 Repo addRepoSolv( const Pathname & file_r );
65 /** Explicitly shared sat-pool. */
66 AutoDispose< ::_Pool *> _raii;
67 /** Convenient access. */
70 ///////////////////////////////////////////////////////////////////
72 /** \relates Pool Stream output */
73 std::ostream & operator<<( std::ostream & str, const Pool & obj );
75 /////////////////////////////////////////////////////////////////
77 ///////////////////////////////////////////////////////////////////
78 /////////////////////////////////////////////////////////////////
80 ///////////////////////////////////////////////////////////////////
81 #endif // ZYPP_SAT_POOL_H