CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ReleaseVersion.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_ReleaseVersion_h
2 #define FWCore_Utilities_ReleaseVersion_h
3 
4 #include <string>
5 
6 namespace edm {
7  namespace releaseversion {
8 
10  public:
11  explicit DecomposedReleaseVersion(std::string releaseVersion);
12  bool operator<(DecomposedReleaseVersion const& other) const;
13  private:
14  bool irregular_;
15  unsigned int major_;
16  unsigned int minor_;
17 // unsigned int point_;
18 // unsigned int patch_;
19 // unsigned int pre_;
20  };
21 
22  bool isEarlierRelease(std::string const& a, std::string const& b);
23  bool isEarlierRelease(DecomposedReleaseVersion const& a, std::string const& b);
24  bool isEarlierRelease(std::string const& a, DecomposedReleaseVersion const& b);
26  }
27 }
28 #endif
bool isEarlierRelease(std::string const &a, std::string const &b)
bool operator<(DecomposedReleaseVersion const &other) const
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121
DecomposedReleaseVersion(std::string releaseVersion)