Lumino.Math
D:/Proj/Lumino.Math/include/Lumino/Math/Version.h
00001 
00002 #ifndef LUMINO_MATH_VERSION_H
00003 #define LUMINO_MATH_VERSION_H
00004 
00005 #include "Common.h"
00006 
00007 #define LUMINO_MATH_VERSION_MAJOR   1           ///< メジャーバージョン
00008 #define LUMINO_MATH_VERSION_MINOR   0           ///< マイナーバージョン
00009 #define LUMINO_MATH_VERSION_PATCH   0           ///< パッチ番号
00010 #define LUMINO_MATH_VERSION_STRING  "1.0.0"     ///< バージョン文字列
00011 
00012 namespace Lumino
00013 {
00014 namespace Version
00015 {
00016 
00023 class LUMINO_EXPORT Math
00024 {
00025 public:
00026 
00030     static int GetMajor();
00031 
00035     static int GetMinor();
00036 
00040     static int GetPatch();
00041 
00045     static const char* GetVersionString();
00046 
00051     static bool IsAtLeast(int major = LUMINO_MATH_VERSION_MAJOR, int minor = LUMINO_MATH_VERSION_MINOR, int patch = LUMINO_MATH_VERSION_PATCH);
00052 };
00053 
00054 } // namespace Version
00055 } // namespace Lumino
00056 
00057 #endif // LUMINO_MATH_VERSION_H
 All Classes Functions Variables Friends