19 #ifndef avro_Types_hh__
20 #define avro_Types_hh__
99 AVRO_DECL std::ostream &operator<< (std::ostream &os,
avro::Type type);
109 std::ostream& operator<< (std::ostream &os,
const Null &null);
bool isAvroTypeOrPseudoType(Type t)
Returns true if and only if the given type is within the valid range of enumeration.
Definition: Types.hh:87
Type
The "type" for the schema.
Definition: Types.hh:31
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:31
bool isAvroType(Type t)
Returns true if and only if the given type is a valid avro type.
Definition: Types.hh:79
define a type to identify Null in template functions
Definition: Types.hh:102
bool isPrimitive(Type t)
Returns true if and only if the given type is a primitive.
Definition: Types.hh:63
AVRO_DECL const std::string & toString(Type type)
Converts the given type into a string.
bool isCompound(Type t)
Returns true if and only if the given type is a non primitive valid type.
Definition: Types.hh:72