Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
opcua.ua.uatypes.Variant Class Reference
Inheritance diagram for opcua.ua.uatypes.Variant:
Inheritance graph
[legend]

Public Member Functions

def __eq__ (self, other)
 
def __init__ (self, value=None, varianttype=None, dimensions=None)
 
def __ne__ (self, other)
 
def __str__ (self)
 
def to_binary (self)
 

Static Public Member Functions

def from_binary (data)
 

Public Attributes

 Dimensions
 
 Value
 
 VariantType
 

Private Member Functions

def _guess_type (self, val)
 

Private Attributes

 _freeze
 

Static Private Attributes

 __repr__ = __str__
 

Detailed Description

Create an OPC-UA Variant object.
if no argument a Null Variant is created.
if not variant type is given, attemps to guess type from python type
if a variant is given as value, the new objects becomes a copy of the argument

:ivar Value:
:vartype Value: Any supported type
:ivar VariantType:
:vartype VariantType: VariantType

Definition at line 734 of file uatypes.py.

Constructor & Destructor Documentation

def opcua.ua.uatypes.Variant.__init__ (   self,
  value = None,
  varianttype = None,
  dimensions = None 
)

Definition at line 747 of file uatypes.py.

Member Function Documentation

def opcua.ua.uatypes.Variant.__eq__ (   self,
  other 
)

Definition at line 767 of file uatypes.py.

def opcua.ua.uatypes.Variant.__ne__ (   self,
  other 
)

Definition at line 772 of file uatypes.py.

def opcua.ua.uatypes.Variant.__str__ (   self)

Definition at line 807 of file uatypes.py.

def opcua.ua.uatypes.Variant._guess_type (   self,
  val 
)
private

Definition at line 775 of file uatypes.py.

def opcua.ua.uatypes.Variant.from_binary (   data)
static

Definition at line 829 of file uatypes.py.

def opcua.ua.uatypes.Variant.to_binary (   self)

Definition at line 811 of file uatypes.py.

Member Data Documentation

opcua.ua.uatypes.Variant.__repr__ = __str__
staticprivate

Definition at line 809 of file uatypes.py.

opcua.ua.uatypes.Variant._freeze
private

Definition at line 751 of file uatypes.py.

opcua.ua.uatypes.Variant.Dimensions

Definition at line 750 of file uatypes.py.

opcua.ua.uatypes.Variant.Value

Definition at line 748 of file uatypes.py.

opcua.ua.uatypes.Variant.VariantType

Definition at line 749 of file uatypes.py.


The documentation for this class was generated from the following file:


ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:45