#include <bu.h>
Collaboration diagram for bu_attribute_value_set:
Data Fields | |
long | magic |
int | count |
# valid entries in avp | |
int | max |
# allocated slots in avp | |
genptr_t | readonly_min |
genptr_t | readonly_max |
bu_attribute_value_pair * | avp |
array[max] |
A variable-sized attribute-value-pair array.
avp points to an array of [max] slots. The interface routines will realloc to extend as needed.
In general, each of the names and values is a local copy made with bu_strdup(), and each string needs to be freed individually. However, if a name or value pointer is between readonly_min and readonly_max, then it is part of a big malloc block that is being freed by the caller, and should not be individually freed.
Definition at line 1140 of file bu.h.
|
Definition at line 1141 of file bu.h. Referenced by bu_avs_init(), bu_avs_init_empty(), rt_comb_export5(), rt_db_external5_to_internal5(), rt_db_free_internal(), rt_extrude_xform(), and rt_generic_xform(). |
|
# valid entries in avp
Definition at line 1142 of file bu.h. Referenced by bu_avs_add(), bu_avs_add_nonunique(), bu_avs_free(), bu_avs_get(), bu_avs_init(), bu_avs_init_empty(), bu_avs_print(), bu_avs_remove(), db5_export_attributes(), db5_import_attributes(), db_diradd5(), db_dup_db_tree_state(), db_lookup_by_attr(), rt_extrude_xform(), rt_generic_xform(), and wdb_attr_cmd(). |
|
# allocated slots in avp
Definition at line 1143 of file bu.h. Referenced by bu_avs_add(), bu_avs_add_nonunique(), bu_avs_free(), bu_avs_init(), bu_avs_init_empty(), db5_import_attributes(), and db_free_db_tree_state(). |
|
Definition at line 1144 of file bu.h. Referenced by bu_avs_init(), bu_avs_init_empty(), and db5_import_attributes(). |
|
Definition at line 1145 of file bu.h. Referenced by bu_avs_init(), bu_avs_init_empty(), and db5_import_attributes(). |
|
array[max]
Definition at line 1146 of file bu.h. Referenced by bu_avs_add(), bu_avs_add_nonunique(), bu_avs_free(), bu_avs_init(), bu_avs_init_empty(), bu_avs_print(), bu_avs_remove(), db5_export_attributes(), db5_import_attributes(), db_dup_db_tree_state(), db_free_db_tree_state(), db_lookup_by_attr(), and wdb_attr_cmd(). |