StringMetadata#
- class StringMetadata#
Bases: ansys.tools.variableinterop.common_variable_metadata.CommonVariableMetadata
Provides common metadata for STRING
and STRING_ARRAY
variable types.
Overview#
Invoke the visitor pattern of this object using the passed-in visitor |
|
Determine if the object is equal to the metadata. |
Variable type of the object. |
|
List of enumerated values. |
|
List of enumerated aliases. |
Determine if the object is equal to the metadata. |
Import detail#
from ansys.tools.variableinterop.scalar_metadata import StringMetadata
Property detail#
- property StringMetadata.variable_type: VariableType#
Variable type of the object.
- Returns:
VariableType
Variable type of the object.
- property StringMetadata.enumerated_values: List[ansys.tools.variableinterop.scalar_values.StringValue]#
List of enumerated values.
This list may be empty to imply that there are no enumerated values.
- Returns:
List
[StringValue
]List of enumerated values.
Method detail#
- StringMetadata.__eq__(other)#
Determine if the object is equal to the metadata.
- StringMetadata.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.