paludis  Version 2.6.0
package_dep_spec_properties.hh
1 /* vim: set sw=4 sts=4 et foldmethod=syntax : */
2 
3 /*
4  * Copyright (c) 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_PACKAGE_DEP_SPEC_PROPERTIES_HH
21 #define PALUDIS_GUARD_PALUDIS_PACKAGE_DEP_SPEC_PROPERTIES_HH 1
22 
23 #include <paludis/package_dep_spec_properties-fwd.hh>
24 #include <paludis/util/named_value.hh>
25 #include <paludis/util/tribool.hh>
26 
27 namespace paludis
28 {
29  namespace n
30  {
31  typedef Name<struct name_has_additional_requirements> has_additional_requirements;
32  typedef Name<struct name_has_category_name_part> has_category_name_part;
33  typedef Name<struct name_has_from_repository> has_from_repository;
34  typedef Name<struct name_has_in_repository> has_in_repository;
35  typedef Name<struct name_has_installable_to_path> has_installable_to_path;
36  typedef Name<struct name_has_installable_to_repository> has_installable_to_repository;
37  typedef Name<struct name_has_installed_at_path> has_installed_at_path;
38  typedef Name<struct name_has_package> has_package;
39  typedef Name<struct name_has_package_name_part> has_package_name_part;
40  typedef Name<struct name_has_slot_requirement> has_slot_requirement;
41  typedef Name<struct name_has_tag> has_tag;
42  typedef Name<struct name_has_version_requirements> has_version_requirements;
43  }
44 
45  /**
46  * Parameters for package_dep_spec_has_properties.
47  *
48  * \since 0.34.1
49  * \ingroup g_dep_spec
50  */
52  {
53  NamedValue<n::has_additional_requirements, Tribool> has_additional_requirements;
58  NamedValue<n::has_installable_to_repository, Tribool> has_installable_to_repository;
64  NamedValue<n::has_version_requirements, Tribool> has_version_requirements;
65  };
66 }
67 
68 #endif
Definition: about_metadata-fwd.hh:23
Definition: package_dep_spec_properties.hh:51
Definition: named_value-fwd.hh:26