|
API Documentation
|
|
|
@ NOT_VALUE_TYPE
A node which is an object or an array will have no value attached. In such case, this value is return...
@ FLOAT_TYPE
A node holding a float.
unsigned int getValueAsUint() const
Node * getArrayElement(unsigned int index) const
Node * getMemberValue(unsigned int index) const
void setAsFloat(float value)
@ DOUBLE_TYPE
A node holding a double.
void setAsBool(bool value)
@ ULONG_TYPE
A node holding an unsigned long (8 bytes).
float getValueAsFloat() const
@ OBJECT_NATURE
Represents a node holding references to other nodes, via the named member accessors.
void setAsUint(unsigned int value)
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
@ EMPTY_NATURE
Represents an empty node.
bool isValueTypeNumber() const
unsigned int getMemberCount() const
bool getValueAsBool() const
double getValueAsDouble() const
void * getUserData() const
@ UINT_TYPE
A node holding an unsigned integer.
void setAsLong(long long value)
void setAsString(nkMemory::StringView value)
nkMemory::StringView getMemberKey(unsigned int index) const
NODE_VALUE_TYPE
Describes the kind of value a node holds.
Definition: Node.h:12
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
long long getValueAsLong() const
NODE_NATURE getNodeNature() const
@ ARRAY_NATURE
Represents a node holding references to other nodes, via the indexed array accessors.
bool hasChild(nkMemory::StringView key, NODE_VALUE_TYPE valueType)
nkMemory::StringView getValueAsString() const
unsigned long long getValueAsUlong() const
void setAsDouble(double value)
@ INT_TYPE
A node holding an integer.
NODE_NATURE
Describes the nature of a node.
Definition: Node.h:28
NODE_VALUE_TYPE getNodeValueType() const
Node * addMember(nkMemory::StringView key)
@ LONG_TYPE
A node holding a long (8 bytes).
void deleteMember(nkMemory::StringView key)
@ VALUE_NATURE
Represents a leaf node, holding a final value being either a bool, string, int, uint,...
int getValueAsInt() const
@ STRING_TYPE
A node holding a string.
void setAsUlong(unsigned long long value)
void setUserData(void *value)
unsigned int getArraySize() const
@ BOOL_TYPE
A node holding a boolean.
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7