Flutter Engine
The Flutter Engine
|
#include <SkJSON.h>
Public Member Functions | |
ObjectValue (const Member *src, size_t size, SkArenaAlloc &alloc) | |
const Value & | operator[] (const char *key) const |
Value & | writable (const char *key, SkArenaAlloc &) const |
Public Member Functions inherited from skjson::VectorValue< Member, Value::Type::kObject > | |
size_t | size () const |
const Member * | begin () const |
const Member * | end () const |
const Member & | operator[] (size_t i) const |
Public Member Functions inherited from skjson::Value | |
Type | getType () const |
template<typename T > | |
bool | is () const |
template<typename T > | |
const T & | as () const |
template<typename T > | |
operator const T * () const | |
SkString | toString () const |
const Value & | operator[] (const char *key) const |
Additional Inherited Members | |
Public Types inherited from skjson::VectorValue< Member, Value::Type::kObject > | |
using | ValueT = Member |
Public Types inherited from skjson::Value | |
enum class | Type { kNull , kBool , kNumber , kString , kArray , kObject } |
Static Public Attributes inherited from skjson::VectorValue< Member, Value::Type::kObject > | |
static constexpr Type | kType |
Protected Types inherited from skjson::Value | |
enum class | Tag : uint8_t { kShortString = 0b00000000 , kNull = 0b00000001 , kBool = 0b00000010 , kInt = 0b00000011 , kFloat = 0b00000100 , kString = 0b00000101 , kArray = 0b00000110 , kObject = 0b00000111 } |
Protected Member Functions inherited from skjson::Value | |
void | init_tagged (Tag) |
void | init_tagged_pointer (Tag, void *) |
Tag | getTag () const |
template<typename T > | |
const T * | cast () const |
template<typename T > | |
T * | cast () |
template<typename T > | |
const T * | ptr () const |
Static Protected Attributes inherited from skjson::Value | |
static constexpr uint8_t | kTagMask = 0b00000111 |
skjson::ObjectValue::ObjectValue | ( | const Member * | src, |
size_t | size, | ||
SkArenaAlloc & | alloc | ||
) |
Definition at line 208 of file SkJSON.cpp.
|
inline |
Definition at line 341 of file SkJSON.h.
Value & skjson::ObjectValue::writable | ( | const char * | key, |
SkArenaAlloc & | alloc | ||
) | const |
Definition at line 244 of file SkJSON.cpp.