paludis  Version 2.6.0
version_spec-se.hh
1 /* vim: set ro : */
2 
3 /* ******************************************************** */
4 /* THIS IS A GENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY */
5 /* ******************************************************** */
6 
7  /**
8  * An option for parsing a VersionSpec.
9  *
10  * \ingroup g_dep_spec
11  * \since 0.38
12  * \see VersionSpecOptions
13  */
15 {
16  vso_flexible_dashes, ///< Allow - and _ to be interchanged
17  vso_flexible_dots, ///< Allow - where . is allowed
18  vso_ignore_case, ///< Allow uppercase letters
19  vso_letters_anywhere, ///< Allow 1a2.3 etc
20  vso_dotted_suffixes, ///< Allow 1_alpha2.3
21  vso_ignore_leading_v, ///< Allow v1 etc
22  vso_allow_leading_dot, ///< Allow .1.2.3 etc
23  last_vso ///< Number of keys in paludis::VersionSpecOption
24 };
25 
26 /**
27  * Write a VersionSpecOption to a stream.
28  */
29 std::ostream &
30 operator<< (std::ostream &, const VersionSpecOption &) PALUDIS_VISIBLE;
31 
32 /**
33  * Read a VersionSpecOption from a stream.
34  */
35 std::istream &
36 operator>> (std::istream &, VersionSpecOption &) PALUDIS_VISIBLE;
37 
38  /**
39  * The type of a VersionSpec component.
40  *
41  * \ingroup g_dep_spec
42  * \since 0.32
43  */
45 {
46  vsct_ignore, ///< An ignorable part (e.g. v in v1.23)
47  vsct_alpha, ///< An alpha part
48  vsct_beta, ///< A beta part
49  vsct_pre, ///< A pre part
50  vsct_rc, ///< An rc part
51  vsct_empty, ///< Used for ordering, not present in real versions.
52  vsct_revision, ///< A revision part
53  vsct_patch, ///< A patch part
54  vsct_trypart, ///< A try part
55  vsct_letter, ///< A letter (e.g. x in 1.2x)
56  vsct_floatlike, ///< A number to be compared using float-like rules
57  vsct_number, ///< A number (e.g. 1 or 2 in 1.2_pre3)
58  vsct_scm, ///< An scm part
59  last_vsct ///< Number of keys in paludis::VersionSpecComponentType
60 };
61 
62 /**
63  * Write a VersionSpecComponentType to a stream.
64  */
65 std::ostream &
67 
A number (e.g. 1 or 2 in 1.2_pre3)
Definition: version_spec-se.hh:57
Allow 1a2.3 etc.
Definition: version_spec-se.hh:19
Allow - and _ to be interchanged.
Definition: version_spec-se.hh:16
VersionSpecComponentType
Definition: version_spec-se.hh:44
Allow .1.2.3 etc.
Definition: version_spec-se.hh:22
STL namespace.
A number to be compared using float-like rules.
Definition: version_spec-se.hh:56
Allow uppercase letters.
Definition: version_spec-se.hh:18
Allow - where . is allowed.
Definition: version_spec-se.hh:17
VersionSpecOption
Definition: version_spec-se.hh:14
Allow 1_alpha2.3.
Definition: version_spec-se.hh:20
An rc part.
Definition: version_spec-se.hh:50
A beta part.
Definition: version_spec-se.hh:48
std::ostream & operator<<(std::ostream &, const WantPhase &) PALUDIS_VISIBLE
Allow v1 etc.
Definition: version_spec-se.hh:21
A try part.
Definition: version_spec-se.hh:54
A pre part.
Definition: version_spec-se.hh:49
A letter (e.g. x in 1.2x)
Definition: version_spec-se.hh:55
A patch part.
Definition: version_spec-se.hh:53
An alpha part.
Definition: version_spec-se.hh:47
Used for ordering, not present in real versions.
Definition: version_spec-se.hh:51
Number of keys in paludis::VersionSpecOption.
Definition: version_spec-se.hh:23
An ignorable part (e.g. v in v1.23)
Definition: version_spec-se.hh:46
A revision part.
Definition: version_spec-se.hh:52
Number of keys in paludis::VersionSpecComponentType.
Definition: version_spec-se.hh:59
#define PALUDIS_VISIBLE
Definition: attributes.hh:59
An scm part.
Definition: version_spec-se.hh:58