libzypp: zypp/solver/detail/Types.h Source File

libzypp 17.38.10

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 <list>
25#include <zypp-core/base/PtrTypes.h>
26
28namespace zypp
29{
31 namespace solver
32 {
34 namespace detail
35 {
36 // A few type names exposed in the public API
37 //
38 class Resolver;
39 using ResolverInternal = Resolver;
40
41 struct ItemCapKind;
42 using ItemCapKindList = std::list<ItemCapKind>;
43
44 DEFINE_PTR_TYPE(SolverQueueItem);
45 using SolverQueueItemList = std::list<SolverQueueItem_Ptr>;
46
47 DEFINE_PTR_TYPE(SolutionAction);
48 using SolutionActionList = std::list<SolutionAction_Ptr>;
49
50 } // namespace detail
52 } // namespace solver
54} // namespace zypp
56#endif // ZYPP_SOLVER_DETAIL_TYPES_H
PtrTypes.h
DEFINE_PTR_TYPE
#define DEFINE_PTR_TYPE(NAME)
Forward declaration of Ptr types.
Definition PtrTypes.h:639
SolverQueueItem
zypp::Resolver
Dependency resolver interface.
Definition Resolver.h:45
zypp::solver::detail
Definition PoolImpl.h:110
zypp::solver::detail::SolverQueueItemList
std::list< SolverQueueItem_Ptr > SolverQueueItemList
Definition Types.h:45
zypp::solver::detail::ItemCapKindList
std::list< ItemCapKind > ItemCapKindList
Definition Types.h:42
zypp::solver::detail::SolutionActionList
std::list< SolutionAction_Ptr > SolutionActionList
Definition Types.h:48
zypp::solver::detail::ResolverInternal
Resolver ResolverInternal
Preferred name in API.
Definition Types.h:39
zypp::solver
Definition PoolImpl.h:109
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2