paludis Version 3.0.2
The one true package mangler
generator-fwd.hh
Go to the documentation of this file.
1/* vim: set sw=4 sts=4 et foldmethod=syntax : */
2
3/*
4 * Copyright (c) 2008, 2009, 2010 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_GENERATOR_FWD_HH
21#define PALUDIS_GUARD_PALUDIS_GENERATOR_FWD_HH 1
22
24#include <iosfwd>
25
26/** \file
27 * Forward declarations for paludis/generator.hh .
28 *
29 * \ingroup g_selections
30 */
31
32namespace paludis
33{
34 class Generator;
35
36 namespace generator
37 {
38 class All;
39 class Matches;
40 class Package;
41 class FromRepository;
42 class InRepository;
43 class Category;
44 class Intersection;
45 class Union;
46 class Nothing;
47 template <typename> class SomeIDsMightSupportAction;
48 }
49
50 /**
51 * Two Generator instances can be and-ed together, to obtain only PackageID
52 * instances that satisfy the constraints of Generator instances.
53 *
54 * \ingroup g_selections
55 */
57 PALUDIS_ATTRIBUTE((warn_unused_result)) PALUDIS_VISIBLE;
58
59 /**
60 * Two Generator instances can be added, to obtain PackageID instances that
61 * satisfy the constraints of either Generator instance.
62 *
63 * \ingroup g_selections
64 */
66 PALUDIS_ATTRIBUTE((warn_unused_result)) PALUDIS_VISIBLE;
67
68 /**
69 * A FilteredGenerator can be represented as a string. Generally this is
70 * used only for stringifying a Selection.
71 *
72 * \ingroup g_selections
73 */
74 std::ostream & operator<< (std::ostream &, const Generator &)
76}
77
78#endif
Definition generator.hh:59
Definition generator.hh:147
Definition generator.hh:218
Definition generator.hh:192
Definition generator.hh:205
Definition generator.hh:233
Definition generator.hh:160
Definition generator.hh:279
Definition generator.hh:179
Definition generator.hh:248
std::ostream & operator<<(std::ostream &, const AdditionalPackageDepSpecRequirement &) PALUDIS_VISIBLE
Generator operator+(const Generator &, const Generator &) PALUDIS_ATTRIBUTE((warn_unused_result)) PALUDIS_VISIBLE
Generator operator&(const Generator &, const Generator &) PALUDIS_ATTRIBUTE((warn_unused_result)) PALUDIS_VISIBLE
#define PALUDIS_ATTRIBUTE(x)
Definition attributes.hh:53
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24