5 #ifndef __pinocchio_utils_version_hpp__
6 #define __pinocchio_utils_version_hpp__
8 #include "pinocchio/config.hpp"
21 inline std::string
printVersion(
const std::string & delimiter =
".")
23 std::ostringstream oss;
24 oss << PINOCCHIO_MAJOR_VERSION << delimiter << PINOCCHIO_MINOR_VERSION << delimiter
25 << PINOCCHIO_PATCH_VERSION;
41 unsigned int major_version,
unsigned int minor_version,
unsigned int patch_version)
43 return PINOCCHIO_MAJOR_VERSION > major_version
44 || (PINOCCHIO_MAJOR_VERSION >= major_version && (PINOCCHIO_MINOR_VERSION > minor_version || (PINOCCHIO_MINOR_VERSION >= minor_version && PINOCCHIO_PATCH_VERSION >= patch_version)));
48 #endif // __pinocchio_utils_version_hpp__