Avro schemas can include types that were previously defined with names in the same avro schema. More...
#include <SymbolMap.hh>
Public Member Functions | |
bool | registerSymbol (const NodePtr &node) |
bool | hasSymbol (const std::string &name) const |
NodePtr | locateSymbol (const std::string &name) const |
Avro schemas can include types that were previously defined with names in the same avro schema.
In order to identify new types, they are stored in a map so that the actual type may be identified by name. This class implements the symbolic name to node mapping.