Factory Class
Module: opcua.miscellaneous
Item Index
Methods
check_options_correctness_against_schema
()
check correctness of option fields against scheme
check_schema_correctness
(
-
schema
ensure correctness of a schema object.
Parameters:
-
schemaObject
extract_all_fields
()
extract a list of all possible fields for a schema (by walking up the inheritance chain)
get_base_schema
(
-
schema
Parameters:
-
schemaObject
Returns:
:
initialize_field
(
-
field -
value
Parameters:
-
fieldObject -
valueObject
Returns:
:
initialize_field_array
(
Array
-
field -
valueArray
Parameters:
-
fieldObject -
valueArrayObject
Returns:
Array:
registerEnumeration
(
Enum
-
schema
Parameters:
-
schemaObject-
nameString -
enumValuesKey:Name, value:values[]
-
encode -
decode -
typedEnum -
defaultValue
-
Returns:
Enum:
registerObject
(
Function
-
schema -
optional_folder
register a new object type from a schema
Parameters:
-
schemaObject -
optional_folderString
Returns:
Function:
the object constructor.
The NodeOPCUA API