High Performance OPC UA Server SDK  1.1.0.158
variabletype

Access for nodeclass variabletype specific attributes. More...

Functions

bool ua_variabletype_get_is_abstract (ua_node_t node)
 Get the is abstract atrribute of a variabletype node. More...
 
int ua_variabletype_set_is_abstract (ua_node_t node, bool is_abstract)
 Set the is abstract attribute of a variabletype node. More...
 
int ua_variabletype_set_datatype (ua_node_t node, struct ua_nodeid *datatype)
 Set the datatype attribute of a variabletype node. More...
 
int ua_variabletype_set_builtindatatype (ua_node_t node, enum ua_variant_type type)
 Set the datatype attribute of a variabletype node to a builtin variant type. More...
 
int ua_variabletype_get_datatype (ua_node_t node, struct ua_nodeid *datatype)
 Get the datatype attribute of a variabletype node. More...
 
int ua_variabletype_set_valuerank (ua_node_t node, int32_t valuerank)
 Set the valuerank attribute of a variabletype node. More...
 
int32_t ua_variabletype_get_valuerank (ua_node_t node)
 Get the valuerank attribute of a variabletype node. More...
 
int ua_variabletype_set_arraydimensions (ua_node_t node, int32_t num_dimensions, uint32_t *dimensions)
 
int ua_variabletype_get_arraydimensions (ua_node_t node, int32_t *num_dimensions, uint32_t *dimensions)
 

Detailed Description

Access for nodeclass variabletype specific attributes.

Function Documentation

int ua_variabletype_get_datatype ( ua_node_t  node,
struct ua_nodeid datatype 
)

Get the datatype attribute of a variabletype node.

Parameters
nodeHandle of node to get datatype.
datatypeNodeid representing the datatype of the node.
Returns
Zero on success or errorcode on failure
bool ua_variabletype_get_is_abstract ( ua_node_t  node)

Get the is abstract atrribute of a variabletype node.

Parameters
nodeHandle of node to get the attribute
Returns
Value of the is abstract attribute.
int32_t ua_variabletype_get_valuerank ( ua_node_t  node)

Get the valuerank attribute of a variabletype node.

Parameters
nodeHandle of node to get the valuerank
Returns
Valuerank of the node.
See also
ua_valuerank
int ua_variabletype_set_builtindatatype ( ua_node_t  node,
enum ua_variant_type  type 
)

Set the datatype attribute of a variabletype node to a builtin variant type.

Parameters
nodeHandle of node to set the datatype.
typeVariant type to set as datatype.
Returns
Zero on success or errorcode on failure
int ua_variabletype_set_datatype ( ua_node_t  node,
struct ua_nodeid datatype 
)

Set the datatype attribute of a variabletype node.

Parameters
nodeHandle of node to set the datatype.
datatypeNodeid to set as datatype. The node must exist in the server addressspace.
Returns
Zero on success or errorcode on failure
int ua_variabletype_set_is_abstract ( ua_node_t  node,
bool  is_abstract 
)

Set the is abstract attribute of a variabletype node.

Parameters
nodeHandle of node to set the attribute.
is_abstractValue of the is abstract attribute
Returns
Zero on success or errorcode on failure.
int ua_variabletype_set_valuerank ( ua_node_t  node,
int32_t  valuerank 
)

Set the valuerank attribute of a variabletype node.

Parameters
nodeHandle of node to set the valuerank
valuerankValuerank to set.
Returns
Zero on success or errorcode on failure
See also
ua_valuerank