UF_ATTR_info_s (view source)
Defined in: uf_attr_types.h
Also known as:
- UF_ATTR_info_t
- UF_ATTR_info_p_t
- UF_ATTR_info_c_t
- UF_ATTR_info_pc_t
Overview
UF_ATTR_info_t
User attribute information struct for setting and reading attributes
All the data members of this struct are updated with values from the attribute when an attribute is read.
The following data members of this struct are not used (they are ignored) when setting an attribute:
They are used only to report back information about the attribute when it is read.
alias
inherited
override
required
unset
locked (a separate function is used to manage locks)
owned_by_system
pdm_based
The following data of an attribute cannot be edited once the attribute is set:
type
title
alias
array
array_element_index
The dimensionality of the Unit specification (cannot change from mm to microA, but from mm to cm is fine)
The following data of an attribute can be set if and only if the attribute is not associated with a template. It cannot be modified once set.
type
alias
array
category
The dimensionality of the Unit specification (cannot change from mm to microA, but from mm to cm is fine)
Data Members
type
int
category
char *
title
char *
alias
char *
bool_value
integer_value
int
real_value
double
unit_type
expression
string_value
char *
time_value [ 2 ]
int
time_string
char *
reference_string
char *
inherited
override
locked
owned_by_system
required
unset
array
index
int
pdm_based
__initialized
void *
UF_ATTR_bool
UF_ATTR_integer
UF_ATTR_real
UF_ATTR_time
UF_ATTR_null
UF_ATTR_string
(NOTE: The UF_ATTR_reference is not supported in the functions that use this struct)