paludis Version 3.0.2
The one true package mangler
version_requirements-fwd.hh
Go to the documentation of this file.
1/* vim: set sw=4 sts=4 et foldmethod=syntax : */
2
3/*
4 * Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
5 *
6 * This file is part of the Paludis package manager. Paludis is free software;
7 * you can redistribute it and/or modify it under the terms of the GNU General
8 * Public License version 2, as published by the Free Software Foundation.
9 *
10 * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13 * details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
17 * Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20#ifndef PALUDIS_GUARD_PALUDIS_VERSION_REQUIREMENTS_FWD_HH
21#define PALUDIS_GUARD_PALUDIS_VERSION_REQUIREMENTS_FWD_HH 1
22
26#include <memory>
27#include <iosfwd>
28
29/** \file
30 * Forward declarations for paludis/version_requirements.hh .
31 *
32 * \ingroup g_dep_spec
33 */
34
35namespace paludis
36{
37 struct VersionRequirement;
38
39 /**
40 * A collection of VersionRequirement instances, usually for a
41 * PackageDepSpec.
42 *
43 * \see PackageDepSpec
44 * \ingroup g_dep_spec
45 */
47
48 /**
49 * Whether our version requirements are an 'and' or an 'or' set.
50 *
51 * \see PackageDepSpec
52 * \ingroup g_dep_spec
53 */
55 {
56 vr_or, ///< Must match one
57 vr_and, ///< Must match all
59 };
60
61 /**
62 * Write a VersionRequirementsMode to a stream.
63 *
64 * \ingroup g_dep_spec
65 */
66 std::ostream &
68
69}
70
71#endif
Definition sequence.hh:51
std::ostream & operator<<(std::ostream &, const AdditionalPackageDepSpecRequirement &) PALUDIS_VISIBLE
VersionRequirementsMode
Definition version_requirements-fwd.hh:55
Sequence< VersionRequirement > VersionRequirements
Definition version_requirements-fwd.hh:46
@ vr_and
< Must match one
Definition version_requirements-fwd.hh:57
@ last_vr
< Must match all
Definition version_requirements-fwd.hh:58
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24
Definition version_requirements.hh:61