LLVM  9.0.0svn
Namespaces | Classes | Typedefs | Enumerations | Variables
llvm::msgpack Namespace Reference

Namespaces

 FirstByte
 The first byte identifiers of MessagePack object formats.
 
 FixBits
 Most significant bits used to identify "Fix" variants in MessagePack.
 
 FixBitsMask
 Mask of bits used to identify "Fix" variants in MessagePack.
 
 FixLen
 The exact size encodable in "Fix" variants of formats.
 
 FixMax
 The maximum value or size encodable in "Fix" variants of formats.
 
 FixMin
 The minimum value or size encodable in "Fix" variants of formats.
 

Classes

class  ArrayNode
 
struct  ExtensionType
 Extension types are composed of a user-defined type ID and an uninterpreted sequence of bytes. More...
 
class  MapNode
 
class  Node
 Abstract base-class which can be any MessagePack type. More...
 
struct  Object
 MessagePack object, represented as a tagged union of C++ types. More...
 
class  Reader
 Reads MessagePack objects from memory, one at a time. More...
 
class  ScalarNode
 A MessagePack scalar. More...
 
class  Writer
 Writes MessagePack objects to an output stream, one at a time. More...
 

Typedefs

using NodePtr = std::shared_ptr< Node >
 Short-hand for a Node pointer. More...
 
using OptNodePtr = Optional< NodePtr >
 Short-hand for an Optional Node pointer. More...
 

Enumerations

enum  Type : uint8_t {
  Type::Int, Type::UInt, Type::Nil, Type::Boolean,
  Type::Float, Type::String, Type::Binary, Type::Array,
  Type::Map, Type::Extension
}
 MessagePack types as defined in the standard, with the exception of Integer being divided into a signed Int and unsigned UInt variant in order to map directly to C++ types. More...
 

Variables

constexpr support::endianness Endianness = support::big
 The endianness of all multi-byte encoded values in MessagePack. More...
 

Typedef Documentation

◆ NodePtr

using llvm::msgpack::NodePtr = typedef std::shared_ptr<Node>

Short-hand for a Node pointer.

Definition at line 32 of file MsgPackTypes.h.

◆ OptNodePtr

Short-hand for an Optional Node pointer.

Definition at line 35 of file MsgPackTypes.h.

Enumeration Type Documentation

◆ Type

enum llvm::msgpack::Type : uint8_t
strong

MessagePack types as defined in the standard, with the exception of Integer being divided into a signed Int and unsigned UInt variant in order to map directly to C++ types.

The types map onto corresponding union members of the Object struct.

Enumerator
Int 
UInt 
Nil 
Boolean 
Float 
String 
Binary 
Array 
Map 
Extension 

Definition at line 48 of file MsgPackReader.h.

Variable Documentation

◆ Endianness

constexpr support::endianness llvm::msgpack::Endianness = support::big