FileMetadata ============ .. py:class:: FileMetadata :canonical: ansys.tools.variableinterop.file_metadata.FileMetadata Bases: :py:obj:`ansys.tools.variableinterop.common_variable_metadata.CommonVariableMetadata` Provides metadata for the ``File`` variable type. Overview -------- .. py:currentmodule:: FileMetadata .. tab-set:: .. tab-item:: Methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~accept` - Invoke the visitor pattern of this object using the passed-in visitor * - :py:attr:`~equals` - Determine if the object is equal to the metadata. .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~variable_type` - Variable type of the object. .. tab-item:: Special methods .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~__eq__` - Determine if the object is equal to the metadata. Import detail ------------- .. code-block:: python from ansys.tools.variableinterop.file_metadata import FileMetadata Property detail --------------- .. py:property:: variable_type :canonical: ansys.tools.variableinterop.file_metadata.FileMetadata.variable_type :type: VariableType Variable type of the object. :Returns: :obj:`VariableType` Variable type of the object. .. !! processed by numpydoc !! Method detail ------------- .. py:method:: __eq__(other) Determine if the object is equal to the metadata. .. !! processed by numpydoc !! .. py:method:: accept(visitor: ansys.tools.variableinterop.ivariablemetadata_visitor.IVariableMetadataVisitor[T]) -> T Invoke the visitor pattern of this object using the passed-in visitor implementation. :Parameters: **visitor** : :obj:`IVariableMetadataVisitor`\[:obj:`T`] Visitor object to call. :Returns: :obj:`T` Results of the visitor invocation. .. !! processed by numpydoc !! .. py:method:: equals(other: Any) -> bool Determine if the object is equal to the metadata. :Parameters: **other** : :obj:`Any` Other object to compare this object to. :Returns: :ref:`bool ` ``True`` if the metadata objects are equal, ``False`` otherwise. .. !! processed by numpydoc !!