paludis  Version 2.6.0
dep_spec_annotations-se.hh
1 /* vim: set ro : */
2 
3 /* ******************************************************** */
4 /* THIS IS A GENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY */
5 /* ******************************************************** */
6 
7  /**
8  * Role for a DepSpecAnnotation.
9  *
10  * \ingroup g_dep_spec
11  * \since 0.58
12  */
14 {
15  dsar_none, ///< No particular role
16  dsar_general_description, ///< A description
17  dsar_general_url, ///< A url
18  dsar_general_note, ///< A note
19  dsar_general_lang, ///< A language
20  dsar_general_date, ///< A date
21  dsar_general_author, ///< An author
22  dsar_general_token, ///< A token
23  dsar_general_defined_in, ///< Defined in
24  dsar_no_self_match, ///< Spec doesn't match the containing package (checked by match_package)
25  dsar_blocker_manual, ///< Blocker, resolve manually
26  dsar_blocker_uninstall_blocked_after, ///< Blocker, uninstall blocked after
27  dsar_blocker_uninstall_blocked_before, ///< Blocker, uninstall blocked before
28  dsar_blocker_upgrade_blocked_before, ///< Blocker, upgrade blocked before
29  dsar_blocker_weak, ///< Blocker, weak (generally implicit)
30  dsar_blocker_strong, ///< Blocker, strong (generally implicit)
31  dsar_myoptions_requires, ///< MYOPTIONS, requires
32  dsar_myoptions_n_at_least_one, ///< MYOPTIONS, at least one
33  dsar_myoptions_n_at_most_one, ///< MYOPTIONS, at most one
34  dsar_myoptions_n_exactly_one, ///< MYOPTIONS, exactly one
35  dsar_myoptions_presumed, ///< MYOPTIONS, presumed
36  dsar_suggestions_group_name, ///< Group name for suggestions
37  dsar_system_implicit, ///< For system, whether a spec is an implicit dependency
38  dsar_licence_last_checked, ///< Last checked, for licences
39  last_dsar ///< Number of keys in paludis::DepSpecAnnotationRole
40 };
41 
42 /**
43  * Write a DepSpecAnnotationRole to a stream.
44  */
45 std::ostream &
46 operator<< (std::ostream &, const DepSpecAnnotationRole &) PALUDIS_VISIBLE;
47 
48 /**
49  * Read a DepSpecAnnotationRole from a stream.
50  */
51 std::istream &
52 operator>> (std::istream &, DepSpecAnnotationRole &) PALUDIS_VISIBLE;
53 
54  /**
55  * What kind of annotation a DepSpecAnnotation is.
56  *
57  * Note that dsas_expandable annotations should generally be ignored
58  * for logic purposes, and that dsas_expanded should generally be
59  * ignored for display purposes.
60  *
61  * \ingroup g_dep_spec
62  * \since 0.59
63  */
65 {
66  dsak_literal, ///< Specified literally
67  dsak_synthetic, ///< Synthetic (e.g. for 0ish blockers)
68  dsak_expanded, ///< Expanded from a *key
69  dsak_expandable, ///< This is a *key
70  last_dsak ///< Number of keys in paludis::DepSpecAnnotationKind
71 };
72 
73 /**
74  * Write a DepSpecAnnotationKind to a stream.
75  */
76 std::ostream &
77 operator<< (std::ostream &, const DepSpecAnnotationKind &) PALUDIS_VISIBLE;
78 
79 /**
80  * Read a DepSpecAnnotationKind from a stream.
81  */
82 std::istream &
83 operator>> (std::istream &, DepSpecAnnotationKind &) PALUDIS_VISIBLE;
84 
Expanded from a *key.
Definition: dep_spec_annotations-se.hh:68
A description.
Definition: dep_spec_annotations-se.hh:16
Blocker, uninstall blocked after.
Definition: dep_spec_annotations-se.hh:26
MYOPTIONS, exactly one.
Definition: dep_spec_annotations-se.hh:34
Blocker, strong (generally implicit)
Definition: dep_spec_annotations-se.hh:30
Specified literally.
Definition: dep_spec_annotations-se.hh:66
A date.
Definition: dep_spec_annotations-se.hh:20
Number of keys in paludis::DepSpecAnnotationKind.
Definition: dep_spec_annotations-se.hh:70
STL namespace.
This is a *key.
Definition: dep_spec_annotations-se.hh:69
A token.
Definition: dep_spec_annotations-se.hh:22
Blocker, resolve manually.
Definition: dep_spec_annotations-se.hh:25
Spec doesn&#39;t match the containing package (checked by match_package)
Definition: dep_spec_annotations-se.hh:24
DepSpecAnnotationKind
Definition: dep_spec_annotations-se.hh:64
DepSpecAnnotationRole
Definition: dep_spec_annotations-se.hh:13
A url.
Definition: dep_spec_annotations-se.hh:17
An author.
Definition: dep_spec_annotations-se.hh:21
A language.
Definition: dep_spec_annotations-se.hh:19
Blocker, upgrade blocked before.
Definition: dep_spec_annotations-se.hh:28
For system, whether a spec is an implicit dependency.
Definition: dep_spec_annotations-se.hh:37
Number of keys in paludis::DepSpecAnnotationRole.
Definition: dep_spec_annotations-se.hh:39
Synthetic (e.g. for 0ish blockers)
Definition: dep_spec_annotations-se.hh:67
Defined in.
Definition: dep_spec_annotations-se.hh:23
Group name for suggestions.
Definition: dep_spec_annotations-se.hh:36
std::ostream & operator<<(std::ostream &, const WantPhase &) PALUDIS_VISIBLE
MYOPTIONS, at least one.
Definition: dep_spec_annotations-se.hh:32
MYOPTIONS, at most one.
Definition: dep_spec_annotations-se.hh:33
A note.
Definition: dep_spec_annotations-se.hh:18
Blocker, weak (generally implicit)
Definition: dep_spec_annotations-se.hh:29
Last checked, for licences.
Definition: dep_spec_annotations-se.hh:38
MYOPTIONS, presumed.
Definition: dep_spec_annotations-se.hh:35
MYOPTIONS, requires.
Definition: dep_spec_annotations-se.hh:31
No particular role.
Definition: dep_spec_annotations-se.hh:15
Blocker, uninstall blocked before.
Definition: dep_spec_annotations-se.hh:27
#define PALUDIS_VISIBLE
Definition: attributes.hh:59