Zserio C++ runtime library  1.0.2
Built for Zserio 2.14.1
TypeInfoUtil.h
Go to the documentation of this file.
1 #ifndef ZSERIO_TYPE_INFO_UTIL_INC_H
2 #define ZSERIO_TYPE_INFO_UTIL_INC_H
3 
4 #include "zserio/ITypeInfo.h"
5 
6 namespace zserio
7 {
8 
13 {
21  static bool isCompound(SchemaType schemaType);
22 
30  static bool isCompound(CppType cppType);
31 
39  static bool hasChoice(SchemaType schemaType);
40 
48  static bool hasChoice(CppType cppType);
49 
57  static bool isFixedSize(SchemaType schemaType);
58 
66  static bool isFixedSize(CppType cppType);
67 
75  static bool isIntegral(SchemaType schemaType);
76 
84  static bool isIntegral(CppType cppType);
85 
93  static bool isSigned(SchemaType schemaType);
94 
102  static bool isSigned(CppType cppType);
103 
111  static bool isFloatingPoint(SchemaType schemaType);
112 
120  static bool isFloatingPoint(CppType cppType);
121 };
122 
123 } // namespace zserio
124 
125 #endif // ZSERIO_TYPE_INFO_UTIL_INC_H
SchemaType
Definition: ITypeInfo.h:41
static bool hasChoice(SchemaType schemaType)
static bool isIntegral(SchemaType schemaType)
static bool isCompound(SchemaType schemaType)
Definition: TypeInfoUtil.cpp:6
static bool isSigned(SchemaType schemaType)
static bool isFloatingPoint(SchemaType schemaType)
static bool isFixedSize(SchemaType schemaType)