|
|
ytNode * | ytNode_new () |
| |
|
void | ytNode_delete (ytNode *this) |
| | Deletes the ytNode instance.
|
| |
| ytNode * | ytNode_newName (const char *name) |
| |
| ytObject * | ytNode_obj (ytNode *this) |
| | Returns the pointer to this instance as ytObject.
|
| |
| ytNode * | ytNode_from (ytObject *obj) |
| | Returns the pointer to the ytNode instance from ytObject.
|
| |
| ytNode * | ytNode_clone (const ytNode *this) |
| | Generates a clone of this ytNode instance.
|
| |
| void | ytNode_setName (ytNode *this, const char *name) |
| | Sets the name of this node.
|
| |
| const char * | ytNode_getName (const ytNode *this) |
| | Returns the name of this node.
|
| |
|
void | ytNode_setProperty (ytNode *this, const char *key, ytObject *value) |
| | Adds a property key-value pair.
|
| |
|
void | ytNode_setPropertyInt (ytNode *this, const char *key, int value) |
| | Adds an integer value property.
|
| |
|
void | ytNode_setPropertyDouble (ytNode *this, const char *key, double value) |
| | Adds a double precision real value property.
|
| |
|
void | ytNode_setPropertyString (ytNode *this, const char *key, const char *value) |
| | Adds a string value property.
|
| |
|
ytObject * | ytNode_getProperty (const ytNode *this, const char *key) |
| | Gets a property associated with the given key.
|
| |
|
ytObject * | ytNode_getPropertyAt (ytNode *this, size_t i) |
| | Returns a property value at the specified position.
|
| |
|
int | ytNode_getPropertyInt (ytNode *this, const char *key, int defValue) |
| | Returns the integer property value.
|
| |
|
const char * | ytNode_getPropertyString (const ytNode *this, const char *key) |
| | Returns the string property value.
|
| |
|
size_t | ytNode_numProperties (const ytNode *this) |
| | Returns the number of properties set in this node.
|
| |
| ytStrArray * | ytNode_getPropertyKeys (ytNode *this, ytStrArray *ar) |
| | Returns all the property keys.
|
| |
| const char * | ytNode_getPropertyKey (const ytNode *this, size_t i) |
| | Returns the property key at the specified position.
|
| |
|
size_t | ytNode_size (const ytNode *this) |
| | Returns the serialized size of the instance.
|
| |
|
ytByte * | ytNode_serialize (const ytNode *this, ytByte **pptr) |
| | Serializes the ytNode instance.
|
| |
| void | ytNode_MPI_Bcast (ytNode **node, int root, MPI_Comm comm) |
| | Broadcasts the ytNode instance with MPI.
|
| |