LLVM: llvm::msgpack::Object Struct Reference (original) (raw)
MessagePack object, represented as a tagged union of C++ types. More...
#include "[llvm/BinaryFormat/MsgPackReader.h](MsgPackReader%5F8h%5Fsource.html)"
| Public Member Functions |
|---|
| 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... | |
| }; |
Detailed Description
MessagePack object, represented as a tagged union of C++ types.
All types except [Type::Nil](namespacellvm%5F1%5F1msgpack.html#afdae9da66bac09f4b2bfc0fd9f0559e6a4da8b7eb2c3f2007cf8238334401ef51) (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.
Constructor & Destructor Documentation
| llvm::msgpack::Object::Object ( ) | inline |
|---|
Member Data Documentation
◆ [union]
◆ Bool
bool llvm::msgpack::Object::Bool
◆ Extension
◆ Float
double llvm::msgpack::Object::Float
◆ Int
int64_t llvm::msgpack::Object::Int
◆ Kind
Type llvm::msgpack::Object::Kind
◆ Length
size_t llvm::msgpack::Object::Length
◆ Raw
◆ UInt
The documentation for this struct was generated from the following file:
- include/llvm/BinaryFormat/MsgPackReader.h