|
ug4
|
Functions | |
| function | FreeUserData () |
| function | FreeUserDataInTable (t) |
| function | ListUserData () |
| function | ListUserDataInTable (t, name) |
| function | ToUserMatrix (o, my_dim) |
| function | ToUserNumber (o, my_dim) |
| function | ToUserVector (o, my_dim) |
Some usage info: FreeUserDataInTable, FreeUserData.
Name of instance of ug4-object: ug_class_name(obj) (returns "" if not a ug4 class) Check if class is base class: ug_is_base_class("BaseClass", "DerivClass") Check if dimension compiled in: ug_dim_compiled(dim) Returning metatable for a ug4-class: ug_get_metatable("ClassName")
| function FreeUserData | ( | ) |
sets all userdata to nil (even in tables) and calls garbage collector
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :95-111
| function FreeUserDataInTable | ( | t | ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :79-92
| function ListUserData | ( | ) |
Lists all user data (even in tables)
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :63-77
| function ListUserDataInTable | ( | t | , |
| name | |||
| ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :48-60
References ListUserDataInTable(), name, print(), type(), and usage().
Referenced by ListUserDataInTable().
| function ToUserMatrix | ( | o | , |
| my_dim | |||
| ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :147-178
| function ToUserNumber | ( | o | , |
| my_dim | |||
| ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :117-130
| function ToUserVector | ( | o | , |
| my_dim | |||
| ) |
location: /home/runner/work/docs/docs/ug4/ugcore/scripts/util / user_data_util.lua :132-145