LLVM  9.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
llvm::msgpack::ArrayNode Class Reference

#include "llvm/BinaryFormat/MsgPackTypes.h"

Inheritance diagram for llvm::msgpack::ArrayNode:
Inheritance graph
Collaboration diagram for llvm::msgpack::ArrayNode:
Collaboration graph

Public Member Functions

 ArrayNode ()
void write (Writer &MPWriter) override
 Write to a MessagePack writer MPWriter. More...
- Public Member Functions inherited from llvm::msgpack::Node
NodeKind getKind () const
 Node (NodeKind Kind)
 Construct a Node. Used by derived classes to track kind information. More...
virtual ~Node ()=default

Static Public Member Functions

static bool classof (const Node *N)
- Static Public Member Functions inherited from llvm::msgpack::Node
static Expected< OptNodePtrread (Reader &MPReader)
 Read from a MessagePack reader MPReader, returning an error if one is encountered, or None if MPReader is at the end of stream, or some Node pointer if some type is read. More...

Additional Inherited Members

- Public Types inherited from llvm::msgpack::Node
enum  NodeKind { NK_Scalar, NK_Array, NK_Map }

Detailed Description

Definition at line 245 of file MsgPackTypes.h.

Constructor & Destructor Documentation

◆ ArrayNode()

llvm::msgpack::ArrayNode::ArrayNode ( )

Definition at line 249 of file MsgPackTypes.h.

Member Function Documentation

◆ classof()

static bool llvm::msgpack::ArrayNode::classof ( const Node N)

◆ write()

void llvm::msgpack::ArrayNode::write ( Writer MPWriter)

Write to a MessagePack writer MPWriter.

Implements llvm::msgpack::Node.

Definition at line 252 of file MsgPackTypes.h.

References N, llvm::size(), and llvm::msgpack::Writer::writeArraySize().

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