#include <TypeInfoUtil.h>
The type information helper utilities to check zserio schema and C++ types.
Definition at line 12 of file TypeInfoUtil.h.
◆ hasChoice() [1/2]
bool zserio::TypeInfoUtil::hasChoice |
( |
CppType |
cppType | ) |
|
|
static |
Checks if C++ type is a choice or union type.
- Parameters
-
cppType | C++ type to check. |
- Returns
- true if C++ type is a choice or union type, otherwise false.
Definition at line 44 of file TypeInfoUtil.cpp.
◆ hasChoice() [2/2]
bool zserio::TypeInfoUtil::hasChoice |
( |
SchemaType |
schemaType | ) |
|
|
static |
Checks if zserio type is a choice or union type.
- Parameters
-
schemaType | Schema type to check. |
- Returns
- true if zserio type is a choice or union type, otherwise false.
Definition at line 32 of file TypeInfoUtil.cpp.
◆ isCompound() [1/2]
bool zserio::TypeInfoUtil::isCompound |
( |
CppType |
cppType | ) |
|
|
static |
Checks if C++ type is a compound type.
- Parameters
-
cppType | C++ type to check. |
- Returns
- true if C++ type is a compound type, otherwise false.
Definition at line 19 of file TypeInfoUtil.cpp.
◆ isCompound() [2/2]
bool zserio::TypeInfoUtil::isCompound |
( |
SchemaType |
schemaType | ) |
|
|
static |
Checks if zserio type is a compound type.
- Parameters
-
schemaType | Schema type to check. |
- Returns
- true if zserio type is a compound type, otherwise false.
Definition at line 6 of file TypeInfoUtil.cpp.
◆ isFixedSize() [1/2]
bool zserio::TypeInfoUtil::isFixedSize |
( |
CppType |
cppType | ) |
|
|
static |
Checks if C++ type is a fixed sized type.
- Parameters
-
cppType | C++ type to check. |
- Returns
- true if C++ type is a fixed sized type, otherwise false.
Definition at line 80 of file TypeInfoUtil.cpp.
◆ isFixedSize() [2/2]
bool zserio::TypeInfoUtil::isFixedSize |
( |
SchemaType |
schemaType | ) |
|
|
static |
Checks if zserio type is a fixed sized type.
- Parameters
-
schemaType | Schema type to check. |
- Returns
- true if zserio type is a fixed sized type, otherwise false.
Definition at line 56 of file TypeInfoUtil.cpp.
◆ isFloatingPoint() [1/2]
bool zserio::TypeInfoUtil::isFloatingPoint |
( |
CppType |
cppType | ) |
|
|
static |
Checks if C++ type is a floating point type.
- Parameters
-
cppType | C++ type to check. |
- Returns
- true if C++ type is a floating point type, otherwise false.
Definition at line 204 of file TypeInfoUtil.cpp.
◆ isFloatingPoint() [2/2]
bool zserio::TypeInfoUtil::isFloatingPoint |
( |
SchemaType |
schemaType | ) |
|
|
static |
Checks if zserio type is a floating point type.
- Parameters
-
schemaType | Schema type to check. |
- Returns
- true if zserio type is a floating point type, otherwise false.
Definition at line 191 of file TypeInfoUtil.cpp.
◆ isIntegral() [1/2]
bool zserio::TypeInfoUtil::isIntegral |
( |
CppType |
cppType | ) |
|
|
static |
Checks if C++ type is a integral type.
- Parameters
-
cppType | C++ type to check. |
- Returns
- true if C++ type is a integral type, otherwise false.
Definition at line 133 of file TypeInfoUtil.cpp.
◆ isIntegral() [2/2]
bool zserio::TypeInfoUtil::isIntegral |
( |
SchemaType |
schemaType | ) |
|
|
static |
Checks if zserio type is a integral type.
- Parameters
-
schemaType | Schema type to check. |
- Returns
- true if zserio type is a integral type, otherwise false.
Definition at line 101 of file TypeInfoUtil.cpp.
◆ isSigned() [1/2]
bool zserio::TypeInfoUtil::isSigned |
( |
CppType |
cppType | ) |
|
|
static |
Checks if C++ type is a signed type.
- Parameters
-
cppType | C++ type to check. |
- Returns
- true if C++ type is a signed type, otherwise false.
Definition at line 175 of file TypeInfoUtil.cpp.
◆ isSigned() [2/2]
bool zserio::TypeInfoUtil::isSigned |
( |
SchemaType |
schemaType | ) |
|
|
static |
Checks if zserio type is a signed type.
- Parameters
-
schemaType | Schema type to check. |
- Returns
- true if zserio type is a signed type, otherwise false.
Definition at line 152 of file TypeInfoUtil.cpp.
The documentation for this struct was generated from the following files: