paludis  Version 2.6.0
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 
35 namespace paludis
36 {
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 &
67  operator<< (std::ostream &, const VersionRequirementsMode &) PALUDIS_VISIBLE;
68 
69 }
70 
71 #endif
Definition: about_metadata-fwd.hh:23
< Must match all
Definition: version_requirements-fwd.hh:58
Definition: sequence-fwd.hh:32
std::ostream & operator<<(std::ostream &, const WantPhase &) PALUDIS_VISIBLE
VersionRequirementsMode
Definition: version_requirements-fwd.hh:54
Definition: version_requirements.hh:60
< Must match one
Definition: version_requirements-fwd.hh:57
Sequence< VersionRequirement > VersionRequirements
Definition: version_requirements-fwd.hh:37
#define PALUDIS_VISIBLE
Definition: attributes.hh:59