|
LLVM 22.0.0git
|
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 82 of file MsgPackReader.h.
|
inline |
Definition at line 101 of file MsgPackReader.h.
| union { ... } llvm::msgpack::Object |
| bool llvm::msgpack::Object::Bool |
Value for Type::Boolean.
Definition at line 90 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Document::readFromBlob().
| ExtensionType llvm::msgpack::Object::Extension |
Value for Type::Extension.
Definition at line 98 of file MsgPackReader.h.
| double llvm::msgpack::Object::Float |
Value for Type::Float.
Definition at line 92 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Document::readFromBlob().
| int64_t llvm::msgpack::Object::Int |
Definition at line 86 of file MsgPackReader.h.
Referenced by Object(), llvm::msgpack::Reader::read(), and llvm::msgpack::Document::readFromBlob().
| Type llvm::msgpack::Object::Kind |
Definition at line 83 of file MsgPackReader.h.
Referenced by Object(), llvm::msgpack::Reader::read(), and llvm::msgpack::Document::readFromBlob().
| size_t llvm::msgpack::Object::Length |
Value for Type::Array and Type::Map.
Definition at line 96 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Document::readFromBlob().
| StringRef llvm::msgpack::Object::Raw |
Value for Type::String and Type::Binary.
Definition at line 94 of file MsgPackReader.h.
Referenced by llvm::msgpack::Document::readFromBlob().
| uint64_t llvm::msgpack::Object::UInt |
Value for Type::Uint.
Definition at line 88 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Document::readFromBlob().