Public Member Functions

avro::GenericDatum Class Reference

List of all members.

Public Member Functions

Type type () const
template<typename T >
const T & value () const
template<typename T >
T & value ()
 GenericDatum ()
 Makes a new AVRO_NULL datum.
 GenericDatum (bool v)
 Makes a new AVRO_BOOL datum whose value is of type bool.
 GenericDatum (int32_t v)
 Makes a new AVRO_INT datum whose value is of type int32_t.
 GenericDatum (int64_t v)
 Makes a new AVRO_LONG datum whose value is of type int64_t.
 GenericDatum (float v)
 Makes a new AVRO_FLOAT datum whose value is of type float.
 GenericDatum (double v)
 Makes a new AVRO_DOUBLE datum whose value is of type double.
 GenericDatum (const std::string &v)
 Makes a new AVRO_STRING datum whose value is of type std::string.
 GenericDatum (const std::vector< uint8_t > &v)
 Makes a new AVRO_BYTES datum whose value is of type std::vector<uint8_t>.
 GenericDatum (const NodePtr &schema)

Constructor & Destructor Documentation

avro::GenericDatum::GenericDatum ( const std::vector< uint8_t > &  v  )  [inline]

Makes a new AVRO_BYTES datum whose value is of type std::vector<uint8_t>.


The documentation for this class was generated from the following file: