NumericMetadata#
- class NumericMetadata#
Bases: ansys.tools.variableinterop.common_variable_metadata.CommonVariableMetadata
, abc.ABC
Provides a generic base for all numeric metadata implementations.
Overview#
Invoke the visitor pattern of this object using the passed-in visitor |
Determine if a given metadata is equal to this metadata. |
Units of the variable. |
|
Display format of the variable. |
Determine if the object is equal to the metadata. |
Import detail#
from ansys.tools.variableinterop.numeric_metadata import NumericMetadata
Property detail#
Method detail#
- NumericMetadata.__eq__(other)#
Determine if the object is equal to the metadata.
- NumericMetadata.equals(other: Any) bool #
Determine if a given metadata is equal to this metadata.
- Parameters:
- other
Any
Given metadata to compare this metadate to.
- other
- Returns:
- bool
True
if the two objects are equal,False
otherwise.
- abstract NumericMetadata.accept(visitor: ansys.tools.variableinterop.ivariablemetadata_visitor.IVariableMetadataVisitor[ansys.tools.variableinterop.ivariablemetadata_visitor.T]) ansys.tools.variableinterop.ivariablemetadata_visitor.T #
Invoke the visitor pattern of this object using the passed-in visitor implementation.
- Parameters:
- visitor
IVariableMetadataVisitor
[T
] Visitor object to call.
- visitor
- Returns:
T
Results of the visitor invocation.