TAO 4.0.1
|
Macros | |
#define | TAO_IDL_IDL_VERSION 0xffffffff |
#define | TAO_IDL_HAS_ANNOTATIONS TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_EMPTY_ANNOTATION_PARAMS TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_ANONYMOUS_TYPES TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_EXPLICIT_INTS TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_OCTET_AND_WCHAR_UNION_DISCS TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_STRUCT_INHERITANCE 0 |
#define | TAO_IDL_HAS_EMPTY_STRUCTS TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_MAP TAO_IDL_IDL_VERSION >= 0x40000 |
#define | TAO_IDL_HAS_BITSET 0 |
#define | TAO_IDL_HAS_BITMASK 0 |
Get information about what IDL features the IDL compiler has, similarly to the "version" standard header in C++.
In C++ it can be used like this if you want to be compatible with older versions of TAO:
#include "tao/orbconf.h" #if defined TAO_HAS_IDL_FEATURES && TAO_HAS_IDL_FEATURES // Use this macro if you are using something that's not the max possible // version.
#endif
In IDL it can be used like this if you want to be compatible with older versions of TAO:
#if defined __TAO_IDL_FEATURES
#endif
Note that support for annotations and anonymous types in IDL4 predate this file, so they are a potential special case depending on what ACE/TAO is being used.
#define TAO_IDL_HAS_ANNOTATIONS TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_ANONYMOUS_TYPES TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_BITMASK 0 |
#define TAO_IDL_HAS_BITSET 0 |
#define TAO_IDL_HAS_EMPTY_ANNOTATION_PARAMS TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_EMPTY_STRUCTS TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_EXPLICIT_INTS TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_MAP TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_OCTET_AND_WCHAR_UNION_DISCS TAO_IDL_IDL_VERSION >= 0x40000 |
#define TAO_IDL_HAS_STRUCT_INHERITANCE 0 |
#define TAO_IDL_IDL_VERSION 0xffffffff |