Avro C++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | List of all members
avro::GenericMap Class Reference

The generic container for Avro maps. More...

#include <GenericDatum.hh>

Inheritance diagram for avro::GenericMap:
avro::GenericContainer

Public Types

typedef std::vector< std::pair
< std::string, GenericDatum > > 
Value
 The contents type for the map.
 

Public Member Functions

 GenericMap (const NodePtr &schema)
 Constructs a generic map corresponding to the given schema schema, which should be of Avro type map.
 
const Valuevalue () const
 Returns the contents of this map.
 
Valuevalue ()
 Returns the reference to the contents of this map.
 
- Public Member Functions inherited from avro::GenericContainer
const NodePtr & schema () const
 Returns the schema for this object.
 

Additional Inherited Members

- Protected Member Functions inherited from avro::GenericContainer
 GenericContainer (Type type, const NodePtr &s)
 Constructs a container corresponding to the given schema.
 

Detailed Description

The generic container for Avro maps.


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