Home | History | Annotate | Download | only in base

Lines Matching refs:Version

18 // Version represents a dotted version number, like "1.2.3.4", supporting
20 class BASE_EXPORT Version {
23 // Version object is assign to it.
24 Version();
26 Version(const Version& other);
28 // Initializes from a decimal dotted version number, like "0.1.1".
31 explicit Version(const std::string& version_str);
35 explicit Version(std::vector<uint32_t> components);
37 ~Version();
39 // Returns true if the object contains a valid version number.
42 // Returns true if the version wildcard string is valid. The version wildcard
45 // Version behavior (IsValid) if no wildcard is present.
49 int CompareTo(const Version& other) const;
51 // Given a valid version object, compare if a |wildcard_string| results in a
52 // newer version. This function will default to CompareTo if the string does
57 // Return the string representation of this version.
66 BASE_EXPORT bool operator==(const Version& v1, const Version& v2);
67 BASE_EXPORT bool operator!=(const Version& v1, const Version& v2);
68 BASE_EXPORT bool operator<(const Version& v1, const Version& v2);
69 BASE_EXPORT bool operator<=(const Version& v1, const Version& v2);
70 BASE_EXPORT bool operator>(const Version& v1, const Version& v2);
71 BASE_EXPORT bool operator>=(const Version& v1, const Version& v2);
72 BASE_EXPORT std::ostream& operator<<(std::ostream& stream, const Version& v);