TLM-2.0  2.0.4
Accellera TLM-2.0 proof-of-concept library
tlm_version.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tlm
 

Macros

#define TLM_VERSION_MAJOR   2
 version major level ( numeric ) More...
 
#define TLM_VERSION_MINOR   0
 version minor level ( numeric ) More...
 
#define TLM_VERSION_PATCH   4
 version patch level ( numeric ) More...
 
#define TLM_VERSION_ORIGINATOR   "Accellera"
 TLM creator string. More...
 
#define TLM_VERSION_SEPARATOR   "."
 version string separator More...
 
#define TLM_IS_PRERELEASE   0
 pre-release flag ( 1 / 0 ) More...
 
#define TLM_VERSION_PRERELEASE   ""
 pre-release version string More...
 
#define TLM_VERSION_RELEASE_YEAR   "2017"
 release year ( YYYY ) More...
 
#define TLM_VERSION_RELEASE_MONTH   "10"
 release month ( MM ) More...
 
#define TLM_VERSION_RELEASE_DAY   "12"
 release day ( DD ) More...
 
#define TLM_COPYRIGHT
 
#define TLM_VERSION_RELEASE_DATE
 
#define TLM_VERSION_STR(x)   TLM_VERSION_STR_HELPER(x)
 
#define TLM_VERSION_STR_HELPER(x)   #x
 
#define TLM_VERSION_STRING_MAJOR   TLM_VERSION_STR(TLM_VERSION_MAJOR)
 
#define TLM_VERSION_STRING_MINOR   TLM_VERSION_STR(TLM_VERSION_MINOR)
 
#define TLM_VERSION_STRING_PATCH   TLM_VERSION_STR(TLM_VERSION_PATCH)
 
#define TLM_VERSION_STRING_MMP
 
#define TLM_VERSION_STRING_PRE_START   "_"
 
#define TLM_VERSION_STRING_PRE_END   "-"
 
#define TLM_VERSION_STRING_PRERELEASE   ""
 
#define TLM_VERSION_STRING_RELEASE_DATE   TLM_VERSION_RELEASE_DATE
 
#define TLM_VERSION_STRING
 
#define TLM_VERSION_STRING_2
 
#define TLM_VERSION   TLM_VERSION_STRING
 

Functions

const unsigned int tlm::tlm_version_major (TLM_VERSION_MAJOR)
 
const unsigned int tlm::tlm_version_minor (TLM_VERSION_MINOR)
 
const unsigned int tlm::tlm_version_patch (TLM_VERSION_PATCH)
 
const bool tlm::tlm_is_prerelease (TLM_IS_PRERELEASE)
 
const std::string tlm::tlm_version_string (TLM_VERSION_STRING)
 
const std::string tlm::tlm_version_originator (TLM_VERSION_ORIGINATOR)
 
const std::string tlm::tlm_version_prerelease (TLM_VERSION_PRERELEASE)
 
const std::string tlm::tlm_version_release_date (TLM_VERSION_STRING_RELEASE_DATE)
 
const std::string tlm::tlm_copyright_string (TLM_COPYRIGHT)
 
const std::string tlm::tlm_version_string_2 (TLM_VERSION_STRING_2)
 
const char * tlm::tlm_release (void)
 
const char * tlm::tlm_version (void)
 
const char * tlm::tlm_copyright (void)
 

Macro Definition Documentation

◆ TLM_COPYRIGHT

#define TLM_COPYRIGHT
Value:
"Copyright (c) 1996-" TLM_VERSION_RELEASE_YEAR " by all Contributors\n" \
"ALL RIGHTS RESERVED"
#define TLM_VERSION_RELEASE_YEAR
release year ( YYYY )
Definition: tlm_version.h:80

Definition at line 84 of file tlm_version.h.

◆ TLM_IS_PRERELEASE

#define TLM_IS_PRERELEASE   0

pre-release flag ( 1 / 0 )

Definition at line 72 of file tlm_version.h.

◆ TLM_VERSION

#define TLM_VERSION   TLM_VERSION_STRING

Definition at line 137 of file tlm_version.h.

◆ TLM_VERSION_MAJOR

#define TLM_VERSION_MAJOR   2

version major level ( numeric )

Definition at line 66 of file tlm_version.h.

◆ TLM_VERSION_MINOR

#define TLM_VERSION_MINOR   0

version minor level ( numeric )

Definition at line 67 of file tlm_version.h.

◆ TLM_VERSION_ORIGINATOR

#define TLM_VERSION_ORIGINATOR   "Accellera"

TLM creator string.

Definition at line 69 of file tlm_version.h.

◆ TLM_VERSION_PATCH

#define TLM_VERSION_PATCH   4

version patch level ( numeric )

Definition at line 68 of file tlm_version.h.

◆ TLM_VERSION_PRERELEASE

#define TLM_VERSION_PRERELEASE   ""

pre-release version string

Definition at line 77 of file tlm_version.h.

◆ TLM_VERSION_RELEASE_DATE

#define TLM_VERSION_RELEASE_DATE
Value:
TLM_VERSION_RELEASE_YEAR \
TLM_VERSION_RELEASE_MONTH \
TLM_VERSION_RELEASE_DAY

Definition at line 92 of file tlm_version.h.

◆ TLM_VERSION_RELEASE_DAY

#define TLM_VERSION_RELEASE_DAY   "12"

release day ( DD )

Definition at line 82 of file tlm_version.h.

◆ TLM_VERSION_RELEASE_MONTH

#define TLM_VERSION_RELEASE_MONTH   "10"

release month ( MM )

Definition at line 81 of file tlm_version.h.

◆ TLM_VERSION_RELEASE_YEAR

#define TLM_VERSION_RELEASE_YEAR   "2017"

release year ( YYYY )

Definition at line 80 of file tlm_version.h.

◆ TLM_VERSION_SEPARATOR

#define TLM_VERSION_SEPARATOR   "."

version string separator

Definition at line 70 of file tlm_version.h.

◆ TLM_VERSION_STR

#define TLM_VERSION_STR (   x)    TLM_VERSION_STR_HELPER(x)

Definition at line 96 of file tlm_version.h.

◆ TLM_VERSION_STR_HELPER

#define TLM_VERSION_STR_HELPER (   x)    #x

Definition at line 97 of file tlm_version.h.

◆ TLM_VERSION_STRING

#define TLM_VERSION_STRING
Value:
TLM_VERSION_STRING_MMP \
TLM_VERSION_STRING_PRE_START \
TLM_VERSION_STRING_PRERELEASE \
TLM_VERSION_STRING_PRE_END \
TLM_VERSION_ORIGINATOR

Definition at line 122 of file tlm_version.h.

◆ TLM_VERSION_STRING_2

#define TLM_VERSION_STRING_2
Value:
"TLM " \
TLM_VERSION_STRING_MMP \
" --- " \
TLM_VERSION_RELEASE_YEAR \
"-" \
TLM_VERSION_RELEASE_MONTH \
"-" \
TLM_VERSION_RELEASE_DAY

Definition at line 128 of file tlm_version.h.

◆ TLM_VERSION_STRING_MAJOR

#define TLM_VERSION_STRING_MAJOR   TLM_VERSION_STR(TLM_VERSION_MAJOR)

Definition at line 99 of file tlm_version.h.

◆ TLM_VERSION_STRING_MINOR

#define TLM_VERSION_STRING_MINOR   TLM_VERSION_STR(TLM_VERSION_MINOR)

Definition at line 100 of file tlm_version.h.

◆ TLM_VERSION_STRING_MMP

#define TLM_VERSION_STRING_MMP
Value:
TLM_VERSION_STRING_MAJOR TLM_VERSION_SEPARATOR \
TLM_VERSION_STRING_MINOR TLM_VERSION_SEPARATOR \
TLM_VERSION_STRING_PATCH
#define TLM_VERSION_STRING_MAJOR
Definition: tlm_version.h:99

Definition at line 103 of file tlm_version.h.

◆ TLM_VERSION_STRING_PATCH

#define TLM_VERSION_STRING_PATCH   TLM_VERSION_STR(TLM_VERSION_PATCH)

Definition at line 101 of file tlm_version.h.

◆ TLM_VERSION_STRING_PRE_END

#define TLM_VERSION_STRING_PRE_END   "-"

Definition at line 108 of file tlm_version.h.

◆ TLM_VERSION_STRING_PRE_START

#define TLM_VERSION_STRING_PRE_START   "_"

Definition at line 107 of file tlm_version.h.

◆ TLM_VERSION_STRING_PRERELEASE

#define TLM_VERSION_STRING_PRERELEASE   ""

Definition at line 117 of file tlm_version.h.

◆ TLM_VERSION_STRING_RELEASE_DATE

#define TLM_VERSION_STRING_RELEASE_DATE   TLM_VERSION_RELEASE_DATE

Definition at line 118 of file tlm_version.h.