CMS 3D CMS Logo

Classes | Functions

edm::releaseversion Namespace Reference

Classes

class  DecomposedReleaseVersion
struct  IsEmpty
struct  IsNotDigit

Functions

bool isEarlierRelease (std::string const &a, std::string const &b)
bool isEarlierRelease (DecomposedReleaseVersion const &a, DecomposedReleaseVersion const &b)
bool isEarlierRelease (std::string const &a, DecomposedReleaseVersion const &b)
bool isEarlierRelease (DecomposedReleaseVersion const &a, std::string const &b)

Function Documentation

bool edm::releaseversion::isEarlierRelease ( std::string const &  a,
std::string const &  b 
)

Definition at line 71 of file ReleaseVersion.cc.

Referenced by edm::RootFile::checkReleaseVersion().

                                                             {
      return(DecomposedReleaseVersion(a) < DecomposedReleaseVersion(b));
    }
bool edm::releaseversion::isEarlierRelease ( DecomposedReleaseVersion const &  a,
DecomposedReleaseVersion const &  b 
)

Definition at line 86 of file ReleaseVersion.cc.

                                                                                           {
      return(a < b);
    }
bool edm::releaseversion::isEarlierRelease ( std::string const &  a,
DecomposedReleaseVersion const &  b 
)

Definition at line 81 of file ReleaseVersion.cc.

                                                                            {
      return(DecomposedReleaseVersion(a) < b);
    }
bool edm::releaseversion::isEarlierRelease ( DecomposedReleaseVersion const &  a,
std::string const &  b 
)

Definition at line 76 of file ReleaseVersion.cc.

                                                                            {
      return(a < DecomposedReleaseVersion(b));
    }