paludis Version 3.0.2
The one true package mangler
version_requirements.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, 2010, 2011 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_HH
21#define PALUDIS_GUARD_PALUDIS_VERSION_REQUIREMENTS_HH 1
22
26#include <paludis/util/named_value.hh>
28#include <paludis/util/wrapped_forward_iterator.hh>
29#include <paludis/util/wrapped_output_iterator.hh>
30
31/** \file
32 * Declarations for version requirements classes.
33 *
34 * \ingroup g_dep_spec
35 *
36 * \section Examples
37 *
38 * - \ref example_dep_spec.cc "example_dep_spec.cc" (for specifications)
39 */
40
41namespace paludis
42{
43 namespace n
44 {
45 typedef Name<struct name_version_operator> version_operator;
46 typedef Name<struct name_version_spec> version_spec;
47 }
48
49 /**
50 * A requirement for a version, consisting of a VersionOperator and an associated
51 * VersionSpec.
52 *
53 * \ingroup g_dep_spec
54 * \see PackageDepSpec
55 * \see VersionSpec
56 * \see VersionOperator
57 * \see VersionRequirements
58 * \nosubgrouping
59 */
65
69}
70
71#endif
Definition named_value.hh:51
Definition sequence.hh:51
Definition wrapped_forward_iterator.hh:42
Definition wrapped_output_iterator.hh:38
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24
Definition version_requirements.hh:61