Copyright © Audi Electronics Venture GmbH. More...
Go to the source code of this file.
Macros | |
#define | A_UTILS_GLOBAL /* */ /* g_... */ |
prefix for global variables / objects | |
#define | A_UTILS_MEMBER /* */ /* m_... */ |
prefix for members variables / objects | |
#define | A_UTILS_LOCAL auto /* l_... */ |
prefix for local variables / objects | |
#define | A_UTILS_STATIC static /* s_... */ |
prefix for static variables / objects | |
#define | A_UTILS_EXTERN extern /* g_... */ |
prefix for extern variables / objects | |
#define | A_UTILS_REGIST register /* r_... */ |
prefix for register variables / objects | |
#define | IN /* in */ |
definition for an incoming paramater | |
#define | OUT /* out */ |
definition for an outcoming paramater | |
#define | INOUT /* in,out */ |
definition for an in and outcoming paramater | |
#define | OPTIONAL /* optional */ |
definition for an optional paramater | |
#define | UNUSED /* unused */ |
definition for an in and outcoming paramater to functions | |
#define | tFalse false |
Value for tBool. | |
#define | tTrue true |
Value for tBool. | |
#define | INVALID_SIZE 0xFFFFFFFF |
default value for invalid size | |
#define | INVALID_POS 0xFFFFFFFF |
default value for invalid positions | |
#define | INVALID_HANDLE 0xFFFFFFFF |
default value for invalid handles | |
#define | BIT0 0x0001 |
Define for the value of bit 0. | |
#define | BIT1 0x0002 |
Define for the value of bit 1. | |
#define | BIT2 0x0004 |
Define for the value of bit 2. | |
#define | BIT3 0x0008 |
Define for the value of bit 3. | |
#define | BIT4 0x0010 |
Define for the value of bit 4. | |
#define | BIT5 0x0020 |
Define for the value of bit 5. | |
#define | BIT6 0x0040 |
Define for the value of bit 6. | |
#define | BIT7 0x0080 |
Define for the value of bit 7. | |
#define | BIT8 0x0100 |
Define for the value of bit 8. | |
#define | BIT9 0x0200 |
Define for the value of bit 9. | |
#define | BIT10 0x0400 |
Define for the value of bit 10. | |
#define | BIT11 0x0800 |
Define for the value of bit 11. | |
#define | BIT12 0x1000 |
Define for the value of bit 12. | |
#define | BIT13 0x2000 |
Define for the value of bit 13. | |
#define | BIT14 0x4000 |
Define for the value of bit 14. | |
#define | BIT15 0x8000 |
Define for the value of bit 15. | |
#define | BIT16 0x00010000 |
Define for the value of bit 16. | |
#define | BIT17 0x00020000 |
Define for the value of bit 17. | |
#define | BIT18 0x00040000 |
Define for the value of bit 18. | |
#define | BIT19 0x00080000 |
Define for the value of bit 19. | |
#define | BIT20 0x00100000 |
Define for the value of bit 20. | |
#define | BIT21 0x00200000 |
Define for the value of bit 21. | |
#define | BIT22 0x00400000 |
Define for the value of bit 22. | |
#define | BIT23 0x00800000 |
Define for the value of bit 23. | |
#define | BIT24 0x01000000 |
Define for the value of bit 24. | |
#define | BIT25 0x02000000 |
Define for the value of bit 25. | |
#define | BIT26 0x04000000 |
Define for the value of bit 26. | |
#define | BIT27 0x08000000 |
Define for the value of bit 27. | |
#define | BIT28 0x10000000 |
Define for the value of bit 28. | |
#define | BIT29 0x20000000 |
Define for the value of bit 29. | |
#define | BIT30 0x40000000 |
Define for the value of bit 30. | |
#define | BIT31 0x80000000 |
Define for the value of bit 31. | |
#define | fHIGHBYTE(x) |
#define | fLOWBYTE(x) |
#define | fHIGHWORD(x) |
#define | fLOWWORD(x) |
#define | PLATFORM_NOT_SUPPORTED 0x00 |
defines a common value for unsupportes platform | |
#define | PLATFORM_LITTLE_ENDIAN_8 0x01 |
defines the little endianess value, that will be retrieved by | |
#define | PLATFORM_BIG_ENDIAN_8 0x02 |
defines the big endianess value, that will be retrieved by | |
#define | PLATFORM_BYTEORDER __get_platform_byteorder() |
defines a link to __get_platform_byteorder. | |
#define | PLATFORM_COMPILER_MSVC7_RELEASE 1300 |
defines the MS VC++ Compiler 7 release value (VS 2003) | |
#define | PLATFORM_COMPILER_MSVC7_DEBUG 11300 |
defines the MS VC++ Compiler 7 debug value (VS 2003) | |
#define | PLATFORM_COMPILER_MSVC8_RELEASE 1400 |
defines the MS VC++ Compiler 8 release value (VS 2005) | |
#define | PLATFORM_COMPILER_MSVC8_DEBUG 11400 |
defines the MS VC++ Compiler 8 debug value (VS 2005) | |
#define | PLATFORM_COMPILER_MSVC9_RELEASE 1500 |
defines the MS VC++ Compiler 9 release value (VS 2008) | |
#define | PLATFORM_COMPILER_MSVC9_DEBUG 11500 |
defines the MS VC++ Compiler 9 debug value (VS 2008) | |
#define | PLATFORM_COMPILER_MSVC10_RELEASE 1600 |
defines the MS VC++ Compiler 10 release value (VS 2010) | |
#define | PLATFORM_COMPILER_MSVC10_DEBUG 11600 |
defines the MS VC++ Compiler 10 debug value (VS 2010) | |
#define | PLATFORM_COMPILER_MSVC11_RELEASE 1700 |
defines the MS VC++ Compiler 11 release value (VS 2012) | |
#define | PLATFORM_COMPILER_MSVC11_DEBUG 11700 |
defines the MS VC++ Compiler 11 debug value (VS 2012) | |
#define | PLATFORM_COMPILER_MSVC12_RELEASE 1800 |
defines the MS VC++ Compiler 12 release value (VS 2013) | |
#define | PLATFORM_COMPILER_MSVC12_DEBUG 11800 |
defines the MS VC++ Compiler 12 debug value (VS 2013) | |
#define | PLATFORM_COMPILER_MSVC14_RELEASE 1900 |
defines the MS VC++ Compiler 14 release value (VS 2015) | |
#define | PLATFORM_COMPILER_MSVC14_DEBUG 11900 |
defines the MS VC++ Compiler 14 debug value (VS 2015) | |
#define | WINDOWS_SYSTEM_MAJOR_VERSION_VISTA 6 |
Major Version for Vista. | |
#define | WINDOWS_SYSTEM_MINOR_VERSION_VISTA 0 |
Minor Version for Vista. | |
#define | WINDOWS_SYSTEM_MAJOR_VERSION_XP 5 |
Major Version for WinXP. | |
#define | WINDOWS_SYSTEM_MINOR_VERSION_XP 1 |
Minor Version for WinXP. | |
#define | WINDOWS_SYSTEM_MAJOR_VERSION_2000 5 |
Major Version for WinXP System. | |
#define | WINDOWS_SYSTEM_MINOR_VERSION_2000 0 |
Minor Version for WinXP System. | |
#define | PLATFORM_COMPILER_CURRENT 0 |
On Windows this define will be set to the current compiler version of MS VC++. | |
#define | _stricmp strcasecmp |
maps the _stricmp to the unix strcasecmp | |
#define | _strnicmp strncasecmp |
maps the _strnicmp to the unix strncasecmp | |
#define | A_UTILS_DEPRECATED(_func_) |
Mark a function or variable as deprecated. | |
#define | A_UTILS_CLASS_DEPRECATED_BEGIN |
Helper macro for A_UTILS_DEPRECATED. | |
#define | A_UTILS_CLASS_DEPRECATED_END __attribute__ ((deprecated)) |
Helper macro for A_UTILS_DEPRECATED. | |
#define | A_UTILS_DEPRECATED_MESSAGE(_depr_message_) |
Mark a function or variable as deprecated. | |
Functions | |
static unsigned char | __get_platform_byteorder () |
This function retrieves the platform dependent byte order. | |
#define _stricmp strcasecmp |
maps the _stricmp to the unix strcasecmp
Definition at line 222 of file constants.h.
#define _strnicmp strncasecmp |
maps the _strnicmp to the unix strncasecmp
Definition at line 224 of file constants.h.
#define A_UTILS_CLASS_DEPRECATED_BEGIN |
Helper macro for A_UTILS_DEPRECATED.
Definition at line 268 of file constants.h.
#define A_UTILS_CLASS_DEPRECATED_END __attribute__ ((deprecated)) |
Helper macro for A_UTILS_DEPRECATED.
Definition at line 269 of file constants.h.
#define A_UTILS_DEPRECATED | ( | _func_ | ) |
Mark a function or variable as deprecated.
To mark the function
as deprecated declare
[in] | _func_ | The function or variable |
Definition at line 267 of file constants.h.
#define A_UTILS_DEPRECATED_MESSAGE | ( | _depr_message_ | ) |
Mark a function or variable as deprecated.
To mark the function
as deprecated declare
[in] | _depr_message_ | The message |
Definition at line 275 of file constants.h.
#define A_UTILS_EXTERN extern /* g_... */ |
prefix for extern variables / objects
Definition at line 24 of file constants.h.
#define A_UTILS_GLOBAL /* */ /* g_... */ |
prefix for global variables / objects
Definition at line 16 of file constants.h.
#define A_UTILS_LOCAL auto /* l_... */ |
prefix for local variables / objects
Definition at line 20 of file constants.h.
#define A_UTILS_MEMBER /* */ /* m_... */ |
prefix for members variables / objects
Definition at line 18 of file constants.h.
#define A_UTILS_REGIST register /* r_... */ |
prefix for register variables / objects
Definition at line 26 of file constants.h.
#define A_UTILS_STATIC static /* s_... */ |
prefix for static variables / objects
Definition at line 22 of file constants.h.
#define BIT0 0x0001 |
Define for the value of bit 0.
Definition at line 75 of file constants.h.
#define BIT1 0x0002 |
Define for the value of bit 1.
Definition at line 76 of file constants.h.
#define BIT10 0x0400 |
Define for the value of bit 10.
Definition at line 85 of file constants.h.
#define BIT11 0x0800 |
Define for the value of bit 11.
Definition at line 86 of file constants.h.
#define BIT12 0x1000 |
Define for the value of bit 12.
Definition at line 87 of file constants.h.
#define BIT13 0x2000 |
Define for the value of bit 13.
Definition at line 88 of file constants.h.
#define BIT14 0x4000 |
Define for the value of bit 14.
Definition at line 89 of file constants.h.
#define BIT15 0x8000 |
Define for the value of bit 15.
Definition at line 90 of file constants.h.
#define BIT16 0x00010000 |
Define for the value of bit 16.
Definition at line 91 of file constants.h.
#define BIT17 0x00020000 |
Define for the value of bit 17.
Definition at line 92 of file constants.h.
#define BIT18 0x00040000 |
Define for the value of bit 18.
Definition at line 93 of file constants.h.
#define BIT19 0x00080000 |
Define for the value of bit 19.
Definition at line 94 of file constants.h.
#define BIT2 0x0004 |
Define for the value of bit 2.
Definition at line 77 of file constants.h.
#define BIT20 0x00100000 |
Define for the value of bit 20.
Definition at line 95 of file constants.h.
#define BIT21 0x00200000 |
Define for the value of bit 21.
Definition at line 96 of file constants.h.
#define BIT22 0x00400000 |
Define for the value of bit 22.
Definition at line 97 of file constants.h.
#define BIT23 0x00800000 |
Define for the value of bit 23.
Definition at line 98 of file constants.h.
#define BIT24 0x01000000 |
Define for the value of bit 24.
Definition at line 99 of file constants.h.
#define BIT25 0x02000000 |
Define for the value of bit 25.
Definition at line 100 of file constants.h.
#define BIT26 0x04000000 |
Define for the value of bit 26.
Definition at line 101 of file constants.h.
#define BIT27 0x08000000 |
Define for the value of bit 27.
Definition at line 102 of file constants.h.
#define BIT28 0x10000000 |
Define for the value of bit 28.
Definition at line 103 of file constants.h.
#define BIT29 0x20000000 |
Define for the value of bit 29.
Definition at line 104 of file constants.h.
#define BIT3 0x0008 |
Define for the value of bit 3.
Definition at line 78 of file constants.h.
#define BIT30 0x40000000 |
Define for the value of bit 30.
Definition at line 105 of file constants.h.
#define BIT31 0x80000000 |
Define for the value of bit 31.
Definition at line 106 of file constants.h.
#define BIT4 0x0010 |
Define for the value of bit 4.
Definition at line 79 of file constants.h.
#define BIT5 0x0020 |
Define for the value of bit 5.
Definition at line 80 of file constants.h.
#define BIT6 0x0040 |
Define for the value of bit 6.
Definition at line 81 of file constants.h.
#define BIT7 0x0080 |
Define for the value of bit 7.
Definition at line 82 of file constants.h.
#define BIT8 0x0100 |
Define for the value of bit 8.
Definition at line 83 of file constants.h.
#define BIT9 0x0200 |
Define for the value of bit 9.
Definition at line 84 of file constants.h.
#define fHIGHBYTE | ( | x | ) |
Definition at line 108 of file constants.h.
#define fHIGHWORD | ( | x | ) |
Definition at line 111 of file constants.h.
#define fLOWBYTE | ( | x | ) |
Definition at line 109 of file constants.h.
#define fLOWWORD | ( | x | ) |
Definition at line 112 of file constants.h.
#define IN /* in */ |
definition for an incoming paramater
Definition at line 33 of file constants.h.
#define INOUT /* in,out */ |
definition for an in and outcoming paramater
Definition at line 43 of file constants.h.
#define INVALID_HANDLE 0xFFFFFFFF |
default value for invalid handles
Definition at line 69 of file constants.h.
#define INVALID_POS 0xFFFFFFFF |
default value for invalid positions
Definition at line 67 of file constants.h.
#define INVALID_SIZE 0xFFFFFFFF |
default value for invalid size
Definition at line 65 of file constants.h.
#define OPTIONAL /* optional */ |
definition for an optional paramater
Definition at line 48 of file constants.h.
#define OUT /* out */ |
definition for an outcoming paramater
Definition at line 38 of file constants.h.
#define PLATFORM_BIG_ENDIAN_8 0x02 |
defines the big endianess value, that will be retrieved by
Definition at line 121 of file constants.h.
Referenced by __get_platform_byteorder(), ConverterBase< T >::ReadSignal(), and ConverterBase< T >::WriteSignal().
#define PLATFORM_BYTEORDER __get_platform_byteorder() |
defines a link to __get_platform_byteorder.
Definition at line 124 of file constants.h.
Referenced by stream_type_plain< T >::stream_type_plain(), cBitSerializer::Read(), ConverterBase< T >::ReadSignal(), stream_meta_type_image::SetProperties(), stream_meta_type_plain::SetProperties(), stream_meta_type_string::SetProperties(), cBitSerializer::Write(), and ConverterBase< T >::WriteSignal().
#define PLATFORM_COMPILER_CURRENT 0 |
On Windows this define will be set to the current compiler version of MS VC++.
On Linux-Gcc it is set to 0.
Definition at line 217 of file constants.h.
#define PLATFORM_COMPILER_MSVC10_DEBUG 11600 |
defines the MS VC++ Compiler 10 debug value (VS 2010)
Definition at line 167 of file constants.h.
#define PLATFORM_COMPILER_MSVC10_RELEASE 1600 |
defines the MS VC++ Compiler 10 release value (VS 2010)
Definition at line 165 of file constants.h.
#define PLATFORM_COMPILER_MSVC11_DEBUG 11700 |
defines the MS VC++ Compiler 11 debug value (VS 2012)
Definition at line 172 of file constants.h.
#define PLATFORM_COMPILER_MSVC11_RELEASE 1700 |
defines the MS VC++ Compiler 11 release value (VS 2012)
Definition at line 170 of file constants.h.
#define PLATFORM_COMPILER_MSVC12_DEBUG 11800 |
defines the MS VC++ Compiler 12 debug value (VS 2013)
Definition at line 177 of file constants.h.
#define PLATFORM_COMPILER_MSVC12_RELEASE 1800 |
defines the MS VC++ Compiler 12 release value (VS 2013)
Definition at line 175 of file constants.h.
#define PLATFORM_COMPILER_MSVC14_DEBUG 11900 |
defines the MS VC++ Compiler 14 debug value (VS 2015)
Definition at line 182 of file constants.h.
#define PLATFORM_COMPILER_MSVC14_RELEASE 1900 |
defines the MS VC++ Compiler 14 release value (VS 2015)
Definition at line 180 of file constants.h.
#define PLATFORM_COMPILER_MSVC7_DEBUG 11300 |
defines the MS VC++ Compiler 7 debug value (VS 2003)
Definition at line 152 of file constants.h.
#define PLATFORM_COMPILER_MSVC7_RELEASE 1300 |
defines the MS VC++ Compiler 7 release value (VS 2003)
Definition at line 150 of file constants.h.
#define PLATFORM_COMPILER_MSVC8_DEBUG 11400 |
defines the MS VC++ Compiler 8 debug value (VS 2005)
Definition at line 157 of file constants.h.
#define PLATFORM_COMPILER_MSVC8_RELEASE 1400 |
defines the MS VC++ Compiler 8 release value (VS 2005)
Definition at line 155 of file constants.h.
#define PLATFORM_COMPILER_MSVC9_DEBUG 11500 |
defines the MS VC++ Compiler 9 debug value (VS 2008)
Definition at line 162 of file constants.h.
#define PLATFORM_COMPILER_MSVC9_RELEASE 1500 |
defines the MS VC++ Compiler 9 release value (VS 2008)
Definition at line 160 of file constants.h.
#define PLATFORM_LITTLE_ENDIAN_8 0x01 |
defines the little endianess value, that will be retrieved by
Definition at line 118 of file constants.h.
Referenced by stream_type_plain< T >::stream_type_plain(), __get_platform_byteorder(), stream_meta_type_plain::IsCompatible(), stream_meta_type_string::IsCompatible(), ConverterBase< T >::ReadSignal(), and stream_meta_type_plain::SetProperties().
#define PLATFORM_NOT_SUPPORTED 0x00 |
defines a common value for unsupportes platform
Definition at line 115 of file constants.h.
Referenced by __get_platform_byteorder().
#define tFalse false |
Value for tBool.
Definition at line 60 of file constants.h.
Referenced by cMemoryPtr::cMemoryPtr(), cMemoryPtr::cMemoryPtr(), cMemoryPtr::cMemoryPtr(), string_base< cStackString >::EndsWith(), string_base< cStackString >::Escape(), cSystem::Execute(), string_base< cStackString >::Find(), string_base< cStackString >::Find(), string_list_base< cString >::fnSortLexically(), cMemoryPtr::Free(), cDOM::FromString(), cDOMElement::GetAttributeBool(), cRegularExpressionResolver::GetRegExFromString(), cFile::InternalFree(), cFile::InternalMalloc(), string_base< cStackString >::IsEqual(), string_base< cStackString >::IsEqualNoCase(), string_base< cStackString >::IsNotEqual(), string_base< cStackString >::IsNotEqualNoCase(), string_base< cStackString >::LeftTrim(), cDOM::Load(), string_base< cStackString >::NumTrim(), cSystem::OpenDocument(), cSystem::OpenFolder(), cExceptionHandler::RegisterExceptionHandler(), cDOM::Save(), cParserHelper::SeekChars(), cParserHelper::SeekString(), cIndexedFileWriter::SetAdditionalStreamInfo(), string_list_base< cString >::Sort(), cFileRingBuffer< ADDITIONAL_DATA, ALIGNMENT >::StartAppending(), cStringPiece::StartsWith(), string_base< cStackString >::StartsWith(), and cIndexedFileWriter::WriteToCache().
#define tTrue true |
Value for tBool.
Definition at line 62 of file constants.h.
Referenced by cFileRingBuffer< ADDITIONAL_DATA, ALIGNMENT >::cFileRingBuffer(), cRegularExpression::cRegularExpression(), cRegularExpressionResolver::cRegularExpressionResolver(), lock_free_queue< T >::lock_free_queue(), lock_free_stack< T >::lock_free_stack(), cMemoryPtr::Attach(), cDatagramSocket::EnableBroadcasts(), string_base< cStackString >::Escape(), string_list_base< cString >::fnSortLexically(), cRegularExpressionResolver::GetFileFolderPathList(), cRegularExpressionResolver::GetFolderMatch(), cRegularExpressionResolver::GetFolderPathList(), cParserHelper::GetNextWord(), string_base< cStackString >::IsEqual(), string_base< cStackString >::IsEqualNoCase(), string_base< cStackString >::IsNotEqual(), string_base< cStackString >::IsNotEqualNoCase(), string_list_base< cString >::Join(), string_base< cStackString >::LeftTrim(), cIniFile::Load(), string_base< cStackString >::NumTrim(), cAsyncMemoryBlock::ReadLock(), string_base< cStackString >::Replace(), string_base< cStackString >::Replace(), cRegularExpression::Set(), cRegularExpression::Set(), and cAsyncMemoryBlock::WriteLock().
#define UNUSED /* unused */ |
definition for an in and outcoming paramater to functions
Definition at line 53 of file constants.h.
#define WINDOWS_SYSTEM_MAJOR_VERSION_2000 5 |
Major Version for WinXP System.
Definition at line 197 of file constants.h.
#define WINDOWS_SYSTEM_MAJOR_VERSION_VISTA 6 |
Major Version for Vista.
Definition at line 187 of file constants.h.
#define WINDOWS_SYSTEM_MAJOR_VERSION_XP 5 |
Major Version for WinXP.
Definition at line 192 of file constants.h.
#define WINDOWS_SYSTEM_MINOR_VERSION_2000 0 |
Minor Version for WinXP System.
Definition at line 199 of file constants.h.
#define WINDOWS_SYSTEM_MINOR_VERSION_VISTA 0 |
Minor Version for Vista.
Definition at line 189 of file constants.h.
#define WINDOWS_SYSTEM_MINOR_VERSION_XP 1 |
Minor Version for WinXP.
Definition at line 194 of file constants.h.
|
inlinestatic |
This function retrieves the platform dependent byte order.
Definition at line 130 of file constants.h.
References PLATFORM_BIG_ENDIAN_8, PLATFORM_LITTLE_ENDIAN_8, and PLATFORM_NOT_SUPPORTED.