|
LLVM
10.0.0
|
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 75 of file MsgPackReader.h.
|
inline |
Definition at line 94 of file MsgPackReader.h.
| union { ... } |
| bool llvm::msgpack::Object::Bool |
Value for Type::Boolean.
Definition at line 83 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read().
| ExtensionType llvm::msgpack::Object::Extension |
Value for Type::Extension.
Definition at line 91 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::readExt().
| double llvm::msgpack::Object::Float |
Value for Type::Float.
Definition at line 85 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read().
| int64_t llvm::msgpack::Object::Int |
Definition at line 79 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Reader::readInt().
| Type llvm::msgpack::Object::Kind |
Definition at line 76 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 89 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 87 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::readExt().
| uint64_t llvm::msgpack::Object::UInt |
Value for Type::Uint.
Definition at line 81 of file MsgPackReader.h.
Referenced by llvm::msgpack::Reader::read(), and llvm::msgpack::Reader::readUInt().
1.8.13