19 #ifndef avro_Types_hh__
20 #define avro_Types_hh__
93 AVRO_DECL
const std::string &
toString(
Type type) noexcept;
98 AVRO_DECL std::ostream &operator<<(std::ostream &os,
avro::Type type);
108 std::ostream &operator<<(std::ostream &os,
const Null &
null);
@ AVRO_NULL
Definition: Types.hh:40
@ AVRO_LONG
Definition: Types.hh:36
@ AVRO_ENUM
Definition: Types.hh:43
const AVRO_DECL std::string & toString(Type type) noexcept
Converts the given type into a string.
@ AVRO_FLOAT
Definition: Types.hh:37
constexpr bool isPrimitive(Type t) noexcept
Returns true if and only if the given type is a primitive.
Definition: Types.hh:62
@ AVRO_BOOL
Definition: Types.hh:39
@ AVRO_STRING
Definition: Types.hh:33
@ AVRO_NUM_TYPES
Definition: Types.hh:49
@ AVRO_BYTES
Definition: Types.hh:34
constexpr bool isAvroType(Type t) noexcept
Returns true if and only if the given type is a valid avro type.
Definition: Types.hh:78
@ AVRO_INT
Definition: Types.hh:35
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:30
@ AVRO_ARRAY
Definition: Types.hh:44
@ AVRO_DOUBLE
Definition: Types.hh:38
constexpr bool isCompound(Type t) noexcept
Returns true if and only if the given type is a non primitive valid type.
Definition: Types.hh:71
@ AVRO_FIXED
Definition: Types.hh:47
define a type to represent Avro Null in template functions
Definition: Types.hh:101
@ AVRO_RECORD
Definition: Types.hh:42
@ AVRO_SYMBOLIC
Definition: Types.hh:53
@ AVRO_UNKNOWN
Definition: Types.hh:54
Type
The "type" for the schema.
Definition: Types.hh:31
@ AVRO_UNION
Definition: Types.hh:46
constexpr bool isAvroTypeOrPseudoType(Type t) noexcept
Returns true if and only if the given type is within the valid range of enumeration.
Definition: Types.hh:86
@ AVRO_MAP
Definition: Types.hh:45