55 #ifndef __SYSTEMC_EXT_TLM_CORE_2_VERSION_HH__ 56 #define __SYSTEMC_EXT_TLM_CORE_2_VERSION_HH__ 61 #define TLM_VERSION_MAJOR 2 62 #define TLM_VERSION_MINOR 0 63 #define TLM_VERSION_PATCH 4 64 #define TLM_VERSION_ORIGINATOR "Accellera" 65 #define TLM_VERSION_SEPARATOR "." 67 #define TLM_IS_PRERELEASE 0 70 # define TLM_VERSION_PRERELEASE "pub_rev" 72 # define TLM_VERSION_PRERELEASE "" 75 #define TLM_VERSION_RELEASE_YEAR "2017" 76 #define TLM_VERSION_RELEASE_MONTH "10" 77 #define TLM_VERSION_RELEASE_DAY "12" 79 #define TLM_COPYRIGHT \ 80 "Copyright (c) 1996-" TLM_VERSION_RELEASE_YEAR " by all Contributors\n" \ 87 #define TLM_VERSION_RELEASE_DATE TLM_VERSION_RELEASE_YEAR \ 88 TLM_VERSION_RELEASE_MONTH \ 89 TLM_VERSION_RELEASE_DAY 91 #define TLM_VERSION_STR(x) TLM_VERSION_STR_HELPER(x) 92 #define TLM_VERSION_STR_HELPER(x) #x 94 #define TLM_VERSION_STRING_MAJOR TLM_VERSION_STR(TLM_VERSION_MAJOR) 95 #define TLM_VERSION_STRING_MINOR TLM_VERSION_STR(TLM_VERSION_MINOR) 96 #define TLM_VERSION_STRING_PATCH TLM_VERSION_STR(TLM_VERSION_PATCH) 98 #define TLM_VERSION_STRING_MMP TLM_VERSION_STRING_MAJOR TLM_VERSION_SEPARATOR \ 99 TLM_VERSION_STRING_MINOR TLM_VERSION_SEPARATOR \ 100 TLM_VERSION_STRING_PATCH 102 #define TLM_VERSION_STRING_PRE_START "_" 103 #define TLM_VERSION_STRING_PRE_END "-" 105 #if (TLM_IS_PRERELEASE == 1) 107 # define TLM_VERSION_STRING_PRERELEASE TLM_VERSION_PRERELEASE 108 # define TLM_VERSION_STRING_RELEASE_DATE "" 112 # define TLM_VERSION_STRING_PRERELEASE "" 113 # define TLM_VERSION_STRING_RELEASE_DATE TLM_VERSION_RELEASE_DATE 117 #define TLM_VERSION_STRING TLM_VERSION_STRING_MMP \ 118 TLM_VERSION_STRING_PRE_START \ 119 TLM_VERSION_STRING_PRERELEASE \ 120 TLM_VERSION_STRING_PRE_END \ 121 TLM_VERSION_ORIGINATOR 123 #define TLM_VERSION_STRING_2 "TLM " \ 124 TLM_VERSION_STRING_MMP \ 126 TLM_VERSION_RELEASE_YEAR \ 128 TLM_VERSION_RELEASE_MONTH \ 130 TLM_VERSION_RELEASE_DAY 132 #define TLM_VERSION TLM_VERSION_STRING #define TLM_VERSION_STRING_RELEASE_DATE
const char * tlm_copyright()
const char * tlm_release()
const std::string tlm_version_originator(TLM_VERSION_ORIGINATOR)
const std::string tlm_version_release_date(TLM_VERSION_STRING_RELEASE_DATE)
const std::string tlm_version_prerelease(TLM_VERSION_PRERELEASE)
#define TLM_VERSION_MAJOR
version major level ( numeric )
#define TLM_VERSION_PRERELEASE
pre-release version string
const std::string tlm_version_string(TLM_VERSION_STRING)
#define TLM_VERSION_PATCH
version patch level ( numeric )
const std::string tlm_copyright_string(TLM_COPYRIGHT)
const char * tlm_version()
#define TLM_VERSION_MINOR
version minor level ( numeric )
#define TLM_VERSION_STRING
#define TLM_VERSION_ORIGINATOR
TLM creator string.
const unsigned int tlm_version_patch(TLM_VERSION_PATCH)
#define TLM_VERSION_STRING_2
const std::string tlm_version_string_2(TLM_VERSION_STRING_2)
#define TLM_IS_PRERELEASE
pre-release flag (1/0)
const unsigned int tlm_version_major(TLM_VERSION_MAJOR)
const bool tlm_is_prerelease(TLM_IS_PRERELEASE)
const unsigned int tlm_version_minor(TLM_VERSION_MINOR)