Avro C++
Public Member Functions | List of all members
avro::NodeEnum Class Reference
Inheritance diagram for avro::NodeEnum:
avro::NodeImpl< NameConcept, LeavesConcept, LeafNamesConcept, SizeConcept > avro::Node

Public Member Functions

 NodeEnum (const HasName &name, const LeafNames &symbols)
 
SchemaResolution resolve (const Node &reader) const
 
void printJson (std::ostream &os, int depth) const
 
bool isValid () const
 
void printDefaultToJson (const GenericDatum &g, std::ostream &os, int depth) const
 
- Public Member Functions inherited from avro::Node
 Node (Type type)
 
Type type () const
 
LogicalType logicalType () const
 
void setLogicalType (LogicalType logicalType)
 
void lock ()
 
bool locked () const
 
void setName (const Name &name)
 
void setDoc (const std::string &doc)
 
void addLeaf (const NodePtr &newLeaf)
 
virtual const GenericDatumdefaultValueAt (int index)
 
void addName (const std::string &name)
 
void setFixedSize (int size)
 

Additional Inherited Members

- Protected Member Functions inherited from avro::NodeImpl< NameConcept, LeavesConcept, LeafNamesConcept, SizeConcept >
 NodeImpl (Type type)
 
 NodeImpl (Type type, const NameConcept &name, const LeavesConcept &leaves, const LeafNamesConcept &leafNames, const SizeConcept &size)
 
 NodeImpl (Type type, const NameConcept &name, const concepts::SingleAttribute< std::string > &doc, const LeavesConcept &leaves, const LeafNamesConcept &leafNames, const SizeConcept &size)
 
void swap (NodeImpl &impl)
 
bool hasName () const
 
void doSetName (const Name &name)
 
const Namename () const
 
void doSetDoc (const std::string &doc)
 
const std::string & getDoc () const
 
void doAddLeaf (const NodePtr &newLeaf)
 
size_t leaves () const
 
const NodePtr & leafAt (int index) const
 
void doAddName (const std::string &name)
 
size_t names () const
 
const std::string & nameAt (int index) const
 
bool nameIndex (const std::string &name, size_t &index) const
 
void doSetFixedSize (int size)
 
int fixedSize () const
 
void printBasicInfo (std::ostream &os) const
 
void setLeafToSymbolic (int index, const NodePtr &node)
 
SchemaResolution furtherResolution (const Node &reader) const
 
- Protected Member Functions inherited from avro::Node
void checkLock () const
 
virtual void checkName (const Name &name) const
 
- Protected Attributes inherited from avro::NodeImpl< NameConcept, LeavesConcept, LeafNamesConcept, SizeConcept >
NameConcept nameAttribute_
 
concepts::SingleAttribute< std::string > docAttribute_
 
LeavesConcept leafAttributes_
 Doc used to compare schemas.
 
LeafNamesConcept leafNameAttributes_
 
SizeConcept sizeAttribute_
 
concepts::NameIndexConcept< LeafNamesConcept > nameIndex_
 

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