Flutter Engine
The Flutter Engine
|
#include <SkJSON.h>
Public Types | |
using | ValueT = T |
Public Types inherited from skjson::Value | |
enum class | Type { kNull , kBool , kNumber , kString , kArray , kObject } |
Public Member Functions | |
size_t | size () const |
const T * | begin () const |
const T * | end () const |
const T & | 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 |
Static Public Attributes | |
static constexpr Type | kType = vtype |
Additional Inherited Members | |
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 |
using skjson::VectorValue< T, vtype >::ValueT = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |