RealArrayValue#
- class RealArrayValue#
Bases: ansys.tools.variableinterop.variable_value.CommonArrayValue
[numpy.float64
]
Stores a value as a RealArrayValue
variable type.
Overview#
Get a deep copy of this value. |
|
Invoke the visitor pattern of this object using the passed-in visitor |
|
Convert this value to a |
|
Convert this value to an |
|
Convert the value to a |
|
Convert the value to an API string. |
|
Convert the value to a formatted string. |
Variable type of the object. |
Convert an API-formatted string to the |
Return self==value. |
Import detail#
from ansys.tools.variableinterop.array_values import RealArrayValue
Property detail#
- property RealArrayValue.variable_type: VariableType#
Variable type of the object.
- Returns:
VariableType
Variable type of the object.
Method detail#
- RealArrayValue.__eq__(other: RealArrayValue) bool #
Return self==value.
- RealArrayValue.clone() RealArrayValue #
Get a deep copy of this value.
- RealArrayValue.accept(visitor: ansys.tools.variableinterop.ivariable_visitor.IVariableValueVisitor[T]) T #
Invoke the visitor pattern of this object using the passed-in visitor implementation.
- Parameters:
- visitor
IVariableValueVisitor
Visitor object to call.
- visitor
- Returns:
T
Results of the visitor invocation.
- RealArrayValue.to_boolean_array_value() BooleanArrayValue #
Convert this value to a
BooleanArrayValue
type.- Returns:
BooleanArrayValue
BooleanArrayValue
type with the same values converted to Boolean values.
- RealArrayValue.to_integer_array_value() IntegerArrayValue #
Convert this value to an
IntegerArrayValue
type.- Returns:
IntegerArrayValue
IntegerArrayValue
type with the same values converted to integers.
- RealArrayValue.to_string_array_value() StringArrayValue #
Convert the value to a
StringArrayValue
type.- Returns:
StringArrayValue
StringArrayValue
type with the same value converted to strings.
- RealArrayValue.to_api_string(context: ansys.tools.variableinterop.isave_context.ISaveContext | None = None) str #
Convert the value to an API string.
- Returns:
str
String appropriate for use in files and APIs.
- static RealArrayValue.from_api_string(value: str) RealArrayValue #
Convert an API-formatted string to the
RealArrayValue
type.- Parameters:
- value
str
API string to parse.
- value
- Returns:
RealArrayValue
Result of parsing the
RealArrayValue
type.