public final class TypeInfoUtil
extends java.lang.Object
Constructor and Description |
---|
TypeInfoUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
hasChoice(SchemaType schemaType)
Checks if zserio type is a choice or union type.
|
static boolean |
isCompound(SchemaType schemaType)
Checks if zserio type is a compound type.
|
static boolean |
isFixedSize(SchemaType schemaType)
Checks if zserio type is a fixed sized type.
|
static boolean |
isFloatingPoint(SchemaType schemaType)
Checks if zserio type is a floating point type.
|
static boolean |
isIntegral(SchemaType schemaType)
Checks if zserio type is a integral type.
|
static boolean |
isSigned(SchemaType schemaType)
Checks if zserio type is a signed type.
|
public static boolean isCompound(SchemaType schemaType)
schemaType
- Schema type to check.public static boolean hasChoice(SchemaType schemaType)
schemaType
- Schema type to check.public static boolean isFixedSize(SchemaType schemaType)
schemaType
- Schema type to check.public static boolean isIntegral(SchemaType schemaType)
schemaType
- Schema type to check.public static boolean isSigned(SchemaType schemaType)
schemaType
- Schema type to check.public static boolean isFloatingPoint(SchemaType schemaType)
schemaType
- Schema type to check.Last updated 2024-12-05 10:34:50