libzypp  13.10.6
Types.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* Types.h
3  *
4  * Copyright (C) 2005 SUSE Linux Products GmbH
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License,
8  * version 2, as published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18  * 02111-1307, USA.
19  */
20 
21 #ifndef ZYPP_SOLVER_DETAIL_TYPES_H
22 #define ZYPP_SOLVER_DETAIL_TYPES_H
23 
24 #include <iosfwd>
25 #include <list>
26 #include <set>
27 #include <map>
28 #include <string>
29 
31 #include "zypp/base/NonCopyable.h"
32 #include "zypp/base/PtrTypes.h"
33 #include "zypp/base/Functional.h"
34 
35 #include "zypp/PoolItem.h"
36 
37 #define _DEBUG(x) DBG << x << std::endl;
38 #define _XDEBUG(x) do { if (base::logger::isExcessive()) XXX << x << std::endl;} while (0)
39 //#define _DEBUG(x)
40 
42 namespace zypp
43 {
44  namespace solver
46  {
47  namespace detail
49  {
50 
51 typedef std::list<PoolItem> PoolItemList;
52 typedef std::set<PoolItem> PoolItemSet;
53 
55 
57 typedef std::list<SolutionAction_Ptr> SolutionActionList;
58 typedef std::list<SolutionAction_constPtr> CSolutionActionList;
67 
69  };// namespace detail
72  };// namespace solver
75 };// namespace zypp
77 
78 #endif // ZYPP_SOLVER_DETAIL_TYPES_H
A problem solution action that injects an artificial &quot;provides&quot; to the pool to satisfy open requireme...
Abstract base class for one action of a problem solution.
std::list< PoolItem > PoolItemList
Definition: Types.h:51
std::set< PoolItem > PoolItemSet
Definition: Types.h:52
A mid layer class we should remove.
Definition: Resolver.h:101
DEFINE_PTR_TYPE(HelixResolvable)
std::list< SolutionAction_constPtr > CSolutionActionList
Definition: Types.h:58
std::list< SolutionAction_Ptr > SolutionActionList
Definition: Types.h:57