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__ | |
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.
def opcua.ua.uatypes.Variant.__init__ | ( | self, | |
value = None , |
|||
varianttype = None , |
|||
dimensions = None |
|||
) |
Definition at line 747 of file uatypes.py.
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.
|
private |
Definition at line 775 of file uatypes.py.
|
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.
|
staticprivate |
Definition at line 809 of file uatypes.py.
|
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.