Flutter Engine
The Flutter Engine
|
#include <SkJSON.h>
Public Member Functions | |
NumberValue (int32_t) | |
NumberValue (float) | |
double | operator* () 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 = Type::kNumber |
Additional Inherited Members | |
Public Types inherited from skjson::Value | |
enum class | Type { kNull , kBool , kNumber , kString , kArray , kObject } |
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 |
|
explicit |
Definition at line 73 of file SkJSON.cpp.
|
explicit |
Definition at line 79 of file SkJSON.cpp.
|
inline |
|
inlinestaticconstexpr |