118 const char *description,
119 const char *examples,
121 const char *property,
122 const char *long_description);
229#define ATTR_STD(attr) db5_standard_attribute(db5_standardize_attribute(attr))
Header file for the BRL-CAD common definitions.
void db5_attr_registry_init(struct db5_registry *registry)
const char * db5_standard_attribute_def(int idx)
int db5_update_attributes(struct directory *dp, struct bu_attribute_value_set *avsp, struct db_i *dbip)
int db5_replace_attributes(struct directory *dp, struct bu_attribute_value_set *avsp, struct db_i *dbip)
int db5_attr_register(struct db5_registry *registry, struct db5_attr_ctype *attribute)
size_t db5_standardize_avs(struct bu_attribute_value_set *avs)
int db5_put_color_table(struct db_i *dbip)
int db5_update_attribute(const char *obj_name, const char *aname, const char *value, struct db_i *dbip)
void db5_sync_comb_to_attr(struct bu_attribute_value_set *avs, const struct rt_comb_internal *comb)
int db5_attr_deregister(struct db5_registry *registry, const char *name)
int db5_standardize_attribute(const char *attr)
struct db5_attr_ctype * db5_attr_get(struct db5_registry *registry, const char *name)
int db5_get_attributes(const struct db_i *dbip, struct bu_attribute_value_set *avs, const struct directory *dp)
void db5_export_attributes(struct bu_external *ap, const struct bu_attribute_value_set *avs)
int db5_import_attributes(struct bu_attribute_value_set *avs, const struct bu_external *ap)
const char * db5_standard_attribute(int idx)
int db5_attr_create(struct db5_registry *registry, int attr_type, int is_binary, int attr_subtype, const char *name, const char *description, const char *examples, const char *aliases, const char *property, const char *long_description)
int db5_is_standard_attribute(const char *attrname)
const struct db5_attr_ctype db5_attr_std[]
void db5_attr_registry_free(struct db5_registry *registry)
int db5_update_ident(struct db_i *dbip, const char *title, double local2mm)
struct db5_attr_ctype ** db5_attr_dump(struct db5_registry *registry)
void db5_sync_attr_to_comb(struct rt_comb_internal *comb, const struct bu_attribute_value_set *avs, struct directory *dp)
struct bu_ptbl * db_lookup_by_attr(struct db_i *dbip, int dir_flags, struct bu_attribute_value_set *avs, int op)
const char * long_description
void * internal
implementation-specific container for holding information