LLVM
8.0.1
|
MessagePack object, represented as a tagged union of C++ types. More...
#include "llvm/BinaryFormat/MsgPackReader.h"
Public Member Functions | |
Object () | |
Public Attributes | |
Type | Kind |
union { | |
int64_t Int | |
Value for Type::Int . More... | |
uint64_t UInt | |
Value for Type::Uint . More... | |
bool Bool | |
Value for Type::Boolean . More... | |
double Float | |
Value for Type::Float . More... | |
StringRef Raw | |
Value for Type::String and Type::Binary . More... | |
size_t Length | |
Value for Type::Array and Type::Map . More... | |
ExtensionType Extension | |
Value for Type::Extension . More... | |
}; | |
MessagePack object, represented as a tagged union of C++ types.
All types except Type::Nil
(which has only one value, and so is completely represented by the Kind
itself) map to a exactly one union member.
Definition at line 76 of file MsgPackReader.h.
|
inline |
Definition at line 95 of file MsgPackReader.h.
union { ... } |
bool llvm::msgpack::Object::Bool |
Value for Type::Boolean
.
Definition at line 84 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read().
ExtensionType llvm::msgpack::Object::Extension |
Value for Type::Extension
.
Definition at line 92 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::readExt().
double llvm::msgpack::Object::Float |
Value for Type::Float
.
Definition at line 86 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read().
int64_t llvm::msgpack::Object::Int |
Definition at line 80 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Reader::readInt().
Type llvm::msgpack::Object::Kind |
Definition at line 77 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read().
size_t llvm::msgpack::Object::Length |
Value for Type::Array
and Type::Map
.
Definition at line 90 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Reader::readLength().
StringRef llvm::msgpack::Object::Raw |
Value for Type::String
and Type::Binary
.
Definition at line 88 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::readExt().
uint64_t llvm::msgpack::Object::UInt |
Value for Type::Uint
.
Definition at line 82 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Reader::readUInt().