The ivariable_type_pseudovisitor.py
module#
Summary#
Defines an interface for pseudo-visitors of the |
Accept a visitor to the specified variable type. |
Description#
Defines and implements a pseudo-visitor pattern for variable types.
Module detail#
- ivariable_type_pseudovisitor.vartype_accept(visitor: IVariableTypePseudoVisitor[T], var_type: ansys.tools.variableinterop.variable_type.VariableType) T #
Accept a visitor to the specified variable type.
- Parameters:
- visitor
T
Visitor to accept.
- var_type
VariableType
Variable type that the visitor should visit.
- visitor
- Returns:
T
Visitorβs result.
- ivariable_type_pseudovisitor.T#