#include "tcl.h"
#include "suifkernel/suif_object.h"
#include "suifkernel/suif_env.h"
Functions | |
SuifObject* | suif_get_object (SuifEnv* suif_env, const char* id) |
Find the SuifObject from the current file set block. More... | |
SuifObject* | suif_get_object_with_test (const char* id, SuifEnv *suif_env, Tcl_Interp* interp) |
Find the SuifObject from the current file set block. More... | |
unsigned | suif_get_children (SuifObject* root, suif_vector<SuifObject*>* children) |
Get all immediate children (owned objects). More... | |
unsigned | suif_get_referenced (SuifObject* root, suif_vector<SuifObject*> *referenced) |
Get all immediate referenced object. More... | |
int | suif_get_field_names (const Address addr, const MetaClass* mc, Tcl_DString* dstr) |
Get the name of all fields in this object. More... | |
int | suif_get_field_values (const Address addr, const MetaClass* mc, Tcl_DString* dstr) |
Get the printed form of all field values in this object. More... | |
int | suif_get_field_types (const Address addr, const MetaClass* mc, Tcl_DString* dstr) |
Get the printed form of a field type. More... |
|
Get all immediate children (owned objects).
root | IN the parent. |
children | OUT into which the children are dumped. |
|
Get the name of all fields in this object.
dstr | OUT which hold the result. |
|
Get the printed form of a field type.
result in one of : {elementary classname} {pointer basetype owned_or_referenced} {list element_type} {object classname} {aggregate classname fieldnames fieldtypes} {unknown metaclassname}
|
Get the printed form of all field values in this object.
dstr | OUT which hold the result. |
|
Find the SuifObject from the current file set block.
Search only via the owner link.
suif_env | IN |
id | IN name of the object searching for. |
|
Find the SuifObject from the current file set block.
If not found, enter an error message to the tcl interpreter.
id | IN name of the object being sought for. |
suif_env | IN the suif env. |
interp | IN result will be set to an error message if the object is not found. |
|
Get all immediate referenced object.
root | IN the parent. |
children | OUT into which the children are dumped. |