paludis  Version 2.6.0
choice-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, 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_CHOICE_FWD_HH
21 #define PALUDIS_GUARD_PALUDIS_CHOICE_FWD_HH 1
22 
24 #include <paludis/util/wrapped_value-fwd.hh>
25 #include <iosfwd>
26 
27 /** \file
28  * Forward declarations for paludis/choice.hh .
29  *
30  * \ingroup g_choices
31  * \since 0.32
32  */
33 
34 namespace paludis
35 {
36  class Choices;
37 
38  class Choice;
39  class ChoiceValue;
40 
41  struct ChoiceParams;
42 
43  struct ChoicePrefixNameTag;
44  struct ChoiceNameWithPrefixTag;
45  struct UnprefixedChoiceNameTag;
46 
47  template <> struct WrappedValueTraits<ChoicePrefixNameTag>;
48  template <> struct WrappedValueTraits<ChoiceNameWithPrefixTag>;
49  template <> struct WrappedValueTraits<UnprefixedChoiceNameTag>;
50 
51  /**
52  * A prefix for a choice name ('' for USE, 'linguas' for LINGUAS etc).
53  *
54  * \ingroup g_choices
55  * \since 0.32
56  */
58 
59  /**
60  * A choice name, including prefix and delim ('nls' for USE, 'linguas_en' for LINGUAS etc).
61  *
62  * \ingroup g_choices
63  * \since 0.32
64  */
66 
67  /**
68  * A choice name, without prefix or delim ('nls' for USE, 'en' for LINGUAS etc).
69  *
70  * \ingroup g_choices
71  * \since 0.32
72  */
74 
75 #include <paludis/choice-se.hh>
76 }
77 
78 #endif
WrappedValue< UnprefixedChoiceNameTag > UnprefixedChoiceName
Definition: choice-fwd.hh:73
Definition: about_metadata-fwd.hh:23
Definition: choice.hh:233
Definition: wrapped_value-fwd.hh:32
WrappedValue< ChoicePrefixNameTag > ChoicePrefixName
Definition: choice-fwd.hh:57
Definition: wrapped_value-fwd.hh:29
WrappedValue< ChoiceNameWithPrefixTag > ChoiceNameWithPrefix
Definition: choice-fwd.hh:65
Definition: choice.hh:212
Definition: choice.hh:151
Definition: choice.hh:333