#include "gobj/object.h"
#include "gobj/model.h"
#include "gobj/errors.h"
#include "gobj/lang.h"
#include "gobj/viewer.h"
#include "gobj/ids.h"
#include "gobj/utils.h"
Functions | |
Gj_Object* | Gj_object_new (Gj_Ctx* ctx, Gj_Id* type, char* name) |
Create a new object. More... | |
Gj_Object* | Gj_object_duplicate (Gj_Ctx* ctx, Gj_Object* obj) |
Create a new object as a copy of existing object. More... | |
Gj_Object* | Gj_object_create (Gj_Ctx* ctx, Gj_Stream* stream, Gj_Object* update) |
Create a object form a stream. More... | |
int | Gj_object_delete (Gj_Ctx* ctx, Gj_Object* ptr) |
Delete an object. More... | |
int | Gj_object_deleteLocal (Gj_Ctx* ctx, Gj_Object* ptr) |
Delete an object without following links. More... | |
int | Gj_object_write (Gj_Ctx* ctx, Gj_Object* obj, Gj_Stream* stream) |
Write an object to a stream. More... | |
int | Gj_object_release (Gj_Ctx* ctx, Gj_Object* obj) |
Releases an object. More... | |
void | Gj_object_markTemp (Gj_Object* obj) |
Mark the object as temporary. More... | |
Gj_Bool | Gj_object_isTemp (Gj_Object* obj) |
Get the temp flag. More... | |
int | Gj_object_getName (Gj_Ctx* ctx, Gj_Object* obj, char** name) |
Get the name of the object. More... | |
int | Gj_object_setName (Gj_Ctx* ctx, Gj_Object* obj, char* name) |
Gj_Nativetype | Gj_object_getNativetype (Gj_Ctx* ctx, Gj_Object* obj) |
int | Gj_object_setByName (Gj_Ctx* ctx, Gj_Object* obj, char* name, Gj_Object* value) |
int | Gj_object_setByNumber (Gj_Ctx* ctx, Gj_Object* obj, int index, Gj_Object* value) |
int | Gj_object_getByName (Gj_Ctx* ctx, Gj_Object* obj, char* name, Gj_Object** value, Gj_Bool convert) |
int | Gj_object_getByNumber (Gj_Ctx* ctx, Gj_Object* obj, int index, Gj_Object** value, Gj_Bool convert) |
int | Gj_object_nextChild (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object** last, Gj_Bool convert) |
int | Gj_object_getChildCount (Gj_Ctx* ctx, Gj_Object* obj) |
int | Gj_object_add (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object* value) |
int | gj_object_add (Gj_Ctx* ctx, Gj_Object* obj, Gj_Object* value) |
int | Gj_object_removeByNumber (Gj_Ctx* ctx, Gj_Object* obj, int index) |
Gj_Object* | Gj_object_convert (Gj_Ctx* ctx, Gj_Object* obj, Gj_Id* type) |
int | Gj_object_addViewer (Gj_Ctx* ctx, Gj_Object* obj, Gj_Viewer* viewer) |
int | Gj_object_deleteViewers (Gj_Ctx* ctx, Gj_Object* obj) |
|
Create a new object.
|
|
Create a new object as a copy of existing object.
|
|
Create a object form a stream.
|
|
Delete an object.
|
|
Delete an object without following links.
|
|
Write an object to a stream.
|
|
Releases an object. Release one shared lock. Destroy the object if that was the last shared lock and it is temporary.
|
|
Mark the object as temporary. Does not follow links.
|
|
Get the temp flag.
|
|
Get the name of the object.
Returns the name in
|