Lines Matching full:version
3 * Licensed under the Apache License, Version 2.0 (the "License");
124 class Version {
126 Version(int major, int minor, int build) : major_(major), minor_(minor), build_(build) {} in Version() function
127 Version() = default;
128 ~Version() = default;
130 bool Parse(const std::string &version);
132 bool operator<(const Version &version) const
134 if (major_ > version.major_) {
138 if (major_ == version.major_ && minor_ > version.minor_) {
142 if (major_ == version.major_ && minor_ == version.minor_ && build_ >= version.build_) {
160 static const Version VERSION(2, 0, 0);