|
LLVM
10.0.0
|
A DocNode that is an array. More...
#include "llvm/BinaryFormat/MsgPackDocument.h"
Public Member Functions | |
| ArrayDocNode () | |
| ArrayDocNode (DocNode &N) | |
| size_t | size () const |
| bool | empty () const |
| ArrayTy::iterator | begin () |
| ArrayTy::iterator | end () |
| void | push_back (DocNode N) |
| DocNode & | operator[] (size_t Index) |
| Element access. This extends the array if necessary. More... | |
Public Member Functions inherited from llvm::msgpack::DocNode | |
| DocNode () | |
| bool | isMap () const |
| bool | isArray () const |
| bool | isScalar () const |
| bool | isString () const |
| bool | isEmpty () const |
| Type | getKind () const |
| Document * | getDocument () const |
| int64_t & | getInt () |
| uint64_t & | getUInt () |
| bool & | getBool () |
| double & | getFloat () |
| int64_t | getInt () const |
| uint64_t | getUInt () const |
| bool | getBool () const |
| double | getFloat () const |
| StringRef | getString () const |
| ArrayDocNode & | getArray (bool Convert=false) |
| Get an ArrayDocNode for an array node. More... | |
| MapDocNode & | getMap (bool Convert=false) |
| Get a MapDocNode for a map node. More... | |
| std::string | toString () const |
| Convert this node to a string, assuming it is scalar. More... | |
| StringRef | fromString (StringRef S, StringRef Tag="") |
| Convert the StringRef and use it to set this DocNode (assuming scalar). More... | |
Additional Inherited Members | |
Public Types inherited from llvm::msgpack::DocNode | |
| typedef std::map< DocNode, DocNode > | MapTy |
| typedef std::vector< DocNode > | ArrayTy |
Protected Attributes inherited from llvm::msgpack::DocNode | |
| union { | |
| int64_t Int | |
| uint64_t UInt | |
| bool Bool | |
| double Float | |
| StringRef Raw | |
| ArrayTy * Array | |
| MapTy * Map | |
| }; | |
A DocNode that is an array.
Definition at line 217 of file MsgPackDocument.h.
|
inline |
Definition at line 219 of file MsgPackDocument.h.
|
inline |
Definition at line 220 of file MsgPackDocument.h.
References llvm::msgpack::Array, and assert().
|
inline |
Definition at line 225 of file MsgPackDocument.h.
References llvm::msgpack::Array.
|
inline |
Definition at line 224 of file MsgPackDocument.h.
References llvm::size().
|
inline |
Definition at line 226 of file MsgPackDocument.h.
References llvm::msgpack::Array.
| DocNode & ArrayDocNode::operator[] | ( | size_t | Index | ) |
Element access. This extends the array if necessary.
Array element access. This extends the array if necessary.
Definition at line 53 of file MsgPackDocument.cpp.
References llvm::msgpack::DocNode::Array, llvm::msgpack::DocNode::getDocument(), and llvm::size().
|
inline |
Definition at line 227 of file MsgPackDocument.h.
References llvm::msgpack::Array, assert(), and llvm::msgpack::DocNode::getDocument().
Referenced by llvm::AMDGPU::HSAMD::MetadataStreamerV2::emitKernel().
|
inline |
Definition at line 223 of file MsgPackDocument.h.
References llvm::msgpack::Array.
Referenced by llvm::yaml::SequenceTraits< ArrayDocNode >::size().
1.8.13