|
Nyx Node
|

Classes | |
| struct | nyx_number_t |
| Struct describing a JSON number object. More... | |
Functions | |
| nyx_number_t * | nyx_number_t::nyx_number_new (void) |
| Allocates a new JSON number object. | |
| double | nyx_number_t::nyx_number_get (const nyx_number_t *object) |
| Gets the value of the provided JSON number object. | |
| bool | nyx_number_t::nyx_number_set (nyx_number_t *object, double value) |
| Sets the value of the provided JSON number object. | |
| str_t | nyx_number_t::nyx_number_to_string (const nyx_number_t *object) |
| Returns a string representing the provided JSON number object. | |
| __NYX_INLINE__ nyx_number_t * | nyx_number_t::nyx_number_from (double value) |
| Returns a JSON number object holding the value of the provided argument. | |
JSON Number Object.
| struct nyx_number_t |
Struct describing a JSON number object.
Definition at line 725 of file nyx_node.h.

Public Member Functions | |
| nyx_number_t * | nyx_number_new (void) |
| Allocates a new JSON number object. | |
| double | nyx_number_get (const nyx_number_t *object) |
| Gets the value of the provided JSON number object. | |
| bool | nyx_number_set (nyx_number_t *object, double value) |
| Sets the value of the provided JSON number object. | |
| str_t | nyx_number_to_string (const nyx_number_t *object) |
| Returns a string representing the provided JSON number object. | |
| __NYX_INLINE__ nyx_number_t * | nyx_number_from (double value) |
| Returns a JSON number object holding the value of the provided argument. | |
Public Attributes | |
| nyx_object_t | base |
| Common object header for JSON objects. | |
| double | value |
| Number payload. | |
| nyx_number_t * nyx_number_new | ( | void | ) |
Allocates a new JSON number object.
Definition at line 12 of file json_number.c.
| double nyx_number_get | ( | const nyx_number_t * | object | ) |
Gets the value of the provided JSON number object.
| object | JSON number object. |
Definition at line 40 of file json_number.c.
| bool nyx_number_set | ( | nyx_number_t * | object, |
| double | value ) |
Sets the value of the provided JSON number object.
| object | JSON number object. |
| value | Value for the provided JSON number object. |
Definition at line 47 of file json_number.c.
| str_t nyx_number_to_string | ( | const nyx_number_t * | object | ) |
Returns a string representing the provided JSON number object.
| object | JSON number object. |
Definition at line 58 of file json_number.c.
| __NYX_INLINE__ nyx_number_t * nyx_number_from | ( | double | value | ) |
Returns a JSON number object holding the value of the provided argument.
| value | Value for the new JSON number object. |
Definition at line 796 of file nyx_node.h.