PropWare
3.0.0.229
C++ objects and CMake build system for Parallax Propeller
|
Public Member Functions | |
void | init () |
template<typename TVisitor > | |
TVisitor::result_type | accept (TVisitor &visitor) const |
template<typename T > | |
T | asIntegral () const |
template<typename T > | |
T | asFloat () const |
const char * | asString () const |
bool | asBoolean () const |
CollectionData * | asArray () |
const CollectionData * | asArray () const |
CollectionData * | asObject () |
const CollectionData * | asObject () const |
bool | copyFrom (const VariantData &src, MemoryPool *pool) |
bool | isArray () const |
bool | isBoolean () const |
bool | isCollection () const |
template<typename T > | |
bool | isInteger () const |
bool | isFloat () const |
bool | isString () const |
bool | isObject () const |
bool | isNull () const |
bool | isEnclosed () const |
void | remove (size_t index) |
template<typename TAdaptedString > | |
void | remove (TAdaptedString key) |
void | setBoolean (bool value) |
void | setFloat (Float value) |
void | setLinkedRaw (SerializedValue< const char * > value) |
template<typename T > | |
bool | setOwnedRaw (SerializedValue< T > value, MemoryPool *pool) |
template<typename T > | |
enable_if< is_unsigned< T >::value >::type | setInteger (T value) |
template<typename T > | |
enable_if< is_signed< T >::value >::type | setInteger (T value) |
template<typename T > | |
void | setSignedInteger (T value) |
void | setUnsignedInteger (UInt value) |
void | setPositiveInteger (UInt value) |
void | setNegativeInteger (UInt value) |
void | setNull () |
void | setStringPointer (const char *s, storage_policies::store_by_copy) |
void | setStringPointer (const char *s, storage_policies::store_by_address) |
template<typename TAdaptedString > | |
bool | setString (TAdaptedString value, MemoryPool *pool) |
template<typename TAdaptedString > | |
bool | setString (TAdaptedString value, MemoryPool *pool, storage_policies::decide_at_runtime) |
template<typename TAdaptedString > | |
bool | setString (TAdaptedString value, MemoryPool *, storage_policies::store_by_address) |
template<typename TAdaptedString > | |
bool | setString (TAdaptedString value, MemoryPool *pool, storage_policies::store_by_copy) |
CollectionData & | toArray () |
CollectionData & | toObject () |
size_t | memoryUsage () const |
size_t | nesting () const |
size_t | size () const |
VariantData * | addElement (MemoryPool *pool) |
VariantData * | getElement (size_t index) const |
VariantData * | getOrAddElement (size_t index, MemoryPool *pool) |
template<typename TAdaptedString > | |
VariantData * | getMember (TAdaptedString key) const |
template<typename TAdaptedString > | |
VariantData * | getOrAddMember (TAdaptedString key, MemoryPool *pool) |
void | movePointers (ptrdiff_t stringDistance, ptrdiff_t variantDistance) |
uint8_t | type () const |
Definition at line 25 of file VariantData.hpp.