-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVersion.hpp
More file actions
82 lines (81 loc) · 2.53 KB
/
Version.hpp
File metadata and controls
82 lines (81 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# ifndef __QSSL_VERSION
/**
* @brief Release Name of QSSL, Current Release : Nove
* @note Nova of QSSL, Beginning of Illumination to the Computer Age Where Digital and Celestial Realms Converge
* @note QSSL-Nova is the First Release of QSS Library that Contains these Contents :
* @note 1. Celestial Objects
* @note 2. Astronomical Conversions
* @note 3. Large Numbers Operations
* @note 4. Celestial Trigonometry
* @note 5. Coordinate Systems
*/
# define __QSSL_RELEASE_NAME "QSSL-Nova"
/**
* @brief Major Version of QSSL Library
* @note Major Version Represents Significant Update of
* Library, It Usually Introduces Major Features,
* Changes or Improvements.
*/
# define __QSSL_MAJOR_VERSION 0
/**
* @brief Minor Version of QSSL Library
* @note Minor Version Represents Less Extensive Updates
* Compared to Major Version But Still Brings Notable
* Additions, Optimizations and Bug Fixes
*/
# define __QSSL_MINOR_VERSION 1
/**
* @brief Patch Version of QSSL Library
* @note Patch Version Represents Fixed Issues or
* Smaller Updates of Library
*/
# define __QSSL_PATCH_VERSION 0
/**
* @brief Helper for Converting into String
*/
# define __QSSL_CONV_TO_STRING_HELPER(_INPUT) #_INPUT
/**
* @brief Method to Convert into String
*/
# define __QSSL_CONV_TO_STRING(_INPUT) \
__QSSL_CONV_TO_STRING_HELPER(_INPUT)
/**
* @brief QSSL String Version
*/
# define __QSSL_VERSION_STR \
__QSSL_CONV_TO_STRING(__QSSL_MAJOR_VERSION) "." \
__QSSL_CONV_TO_STRING(__QSSL_MINOR_VERSION) "." \
__QSSL_CONV_TO_STRING(__QSSL_PATCH_VERSION)
/**
* @brief QSSL Concatenated Version
*/
# define __QSSL_VERSION_CONCAT \
__QSSL_MAJOR_VERSION ## . ## \
__QSSL_MINOR_VERSION ## . ## \
__QSSL_PATCH_VERSION
/**
* @file Version.hpp
* @author Ramtin Kosari
* @brief QSSL Open Source Astronomy and Astrophysics
* Library's Version
* @date 2023-07-05
*/
# define __QSSL_VERSION __QSSL_VERSION_STR
/**
* @brief Enummeration of String Version Usage Indexes
*/
enum Version {
/**
* @brief Major Version Index
*/
_VER_MAJOR = 0,
/**
* @brief Minor Version Index
*/
_VER_MINOR = 2,
/**
* @brief Patch Version Index
*/
_VER_PATCH = 4
};
# endif // QSSL_VERSION