libzypp 17.37.10

ProblemTypes.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_PROBLEMTYPES_H
22#define ZYPP_PROBLEMTYPES_H
23
24#include <iosfwd>
25#include <string>
26#include <list>
27#include <set>
28#include <map>
29
30#include <zypp/base/ReferenceCounted.h>
31#include <zypp/base/NonCopyable.h>
32#include <zypp/base/PtrTypes.h>
33#include <zypp/base/Functional.h>
34
35#include <zypp/solver/detail/Types.h> // SolutionAction type
36
38 namespace zypp
39{
40 DEFINE_PTR_TYPE(Resolver);
41
42 DEFINE_PTR_TYPE(ProblemSolution);
43 using ProblemSolutionList = std::list<ProblemSolution_Ptr>;
44
45 DEFINE_PTR_TYPE(ResolverProblem);
46 using ResolverProblemList = std::list<ResolverProblem_Ptr>;
47
48} // namespace zypp
50#endif // ZYPP_SOLVER_DETAIL_TYPES_H
Functional.h
zypp::ProblemSolution
Class representing one possible solution to a problem found during resolving.
Definition ProblemSolution.h:41
zypp::ResolverProblem
Describe a solver problem and offer solutions.
Definition ResolverProblem.h:27
zypp::Resolver
Dependency resolver interface.
Definition Resolver.h:45
Types.h
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::ProblemSolutionList
std::list< ProblemSolution_Ptr > ProblemSolutionList
Definition ProblemTypes.h:43
zypp::ResolverProblemList
std::list< ResolverProblem_Ptr > ResolverProblemList
Definition ProblemTypes.h:46
DEFINE_PTR_TYPE
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.
Definition PtrTypes.h:639
NonCopyable.h
PtrTypes.h
ReferenceCounted.h