paludis  Version 2.6.0
package_id-fwd.hh
Go to the documentation of this file.
1 /* vim: set sw=4 sts=4 et foldmethod=syntax : */
2 
3 /*
4  * Copyright (c) 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_PACKAGE_ID_FWD_HH
21 #define PALUDIS_GUARD_PALUDIS_PACKAGE_ID_FWD_HH 1
22 
23 #include <iosfwd>
25 #include <paludis/util/set-fwd.hh>
27 #include <memory>
28 
29 /** \file
30  * Forward declarations for paludis/package_id.hh .
31  *
32  * \ingroup g_package_id
33  */
34 
35 namespace paludis
36 {
37  class PackageID;
40 
41  /**
42  * A PackageIDSequence holds a collection of PackageID instances that may
43  * or may not have been ordered in a meaningful way.
44  *
45  * \ingroup g_package_id
46  * \since 0.26
47  */
49 
50  /**
51  * A PackageIDSet holds a collection of PackageID instances that have no
52  * meaningful ordering.
53  *
54  * \ingroup g_package_id
55  * \since 0.26
56  */
58 
59 #include <paludis/package_id-se.hh>
60 
61  /**
62  * A PackageID can be written to a stream.
63  *
64  * \ingroup g_package_id
65  * \since 0.26
66  */
67  std::ostream & operator<< (std::ostream &, const PackageID &) PALUDIS_VISIBLE;
68 }
69 
70 #endif
Definition: package_id.hh:413
Definition: about_metadata-fwd.hh:23
Definition: package_id.hh:95
Definition: sequence-fwd.hh:32
Sequence< std::shared_ptr< const PackageID > > PackageIDSequence
Definition: package_id-fwd.hh:39
std::ostream & operator<<(std::ostream &, const WantPhase &) PALUDIS_VISIBLE
Definition: set-fwd.hh:35
Set< std::shared_ptr< const PackageID >, PackageIDSetComparator > PackageIDSet
Definition: package_id-fwd.hh:57
Definition: package_id.hh:433
#define PALUDIS_VISIBLE
Definition: attributes.hh:59