# encoding: utf-8
# module vtkmodules.vtkCommonExecutionModel
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonExecutionModel.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore


from .vtkReaderAlgorithm import vtkReaderAlgorithm

class vtkParallelReader(vtkReaderAlgorithm):
    """
    vtkParallelReader - Superclass for algorithms that are parallel aware
    
    Superclass: vtkReaderAlgorithm
    
    vtkParallelReader is a vtkReaderAlgorithm subclass that provides a
    specialized API to develop readers that are parallel aware (i.e. can
    handle piece requests) but do not natively support time series. This
    reader adds support for file series in order to support time series.
    """
    def AddFileName(self, fname): # real signature unknown; restored from __doc__
        """
        AddFileName(self, fname:str) -> None
        C++: void AddFileName(const char *fname)
        
        Add a filename to be read. Since this superclass handles file
        series to support time, multiple filenames can be added. Note
        that the time values are either integers growing sequentially, or
        are obtained from individual files as supported by the subclass.
        """
        pass

    def ClearFileNames(self): # real signature unknown; restored from __doc__
        """
        ClearFileNames(self) -> None
        C++: void ClearFileNames()
        
        Removes all filenames stored by the reader.
        """
        pass

    def GetCurrentFileName(self): # real signature unknown; restored from __doc__
        """
        GetCurrentFileName(self) -> str
        C++: const char *GetCurrentFileName()
        
        Returns the filename that was last loaded by the reader. This is
        set internally in ReadMesh()
        """
        return ""

    def GetFileName(self, i): # real signature unknown; restored from __doc__
        """
        GetFileName(self, i:int) -> str
        C++: const char *GetFileName(int i)
        
        Returns a particular filename stored by the reader.
        """
        return ""

    def GetNumberOfFileNames(self): # real signature unknown; restored from __doc__
        """
        GetNumberOfFileNames(self) -> int
        C++: int GetNumberOfFileNames()
        
        Returns the number of filenames stored by the reader.
        """
        return 0

    def GetNumberOfGenerationsFromBase(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBase(self, type:str) -> int
        C++: vtkIdType GetNumberOfGenerationsFromBase(const char *type)
            override;
        
        Given the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def GetNumberOfGenerationsFromBaseType(self, type): # real signature unknown; restored from __doc__
        """
        GetNumberOfGenerationsFromBaseType(type:str) -> int
        C++: static vtkIdType GetNumberOfGenerationsFromBaseType(
            const char *type)
        
        Given a the name of a base class of this class type, return the
        distance of inheritance between this class type and the named
        class (how many generations of inheritance are there between this
        class and the named class). If the named class is not in this
        class's inheritance tree, return a negative value. Valid
        responses will always be nonnegative. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsA(self, type): # real signature unknown; restored from __doc__
        """
        IsA(self, type:str) -> int
        C++: vtkTypeBool IsA(const char *type) override;
        
        Return 1 if this class is the same type of (or a subclass of) the
        named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def IsTypeOf(self, type): # real signature unknown; restored from __doc__
        """
        IsTypeOf(type:str) -> int
        C++: static vtkTypeBool IsTypeOf(const char *type)
        
        Return 1 if this class type is the same type of (or a subclass
        of) the named class. Returns 0 otherwise. This method works in
        combination with vtkTypeMacro found in vtkSetGet.h.
        """
        return 0

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkParallelReader
        C++: vtkParallelReader *NewInstance()
        """
        return vtkParallelReader

    def ReadArrays(self, piece, npieces, nghosts, timestep, output): # real signature unknown; restored from __doc__
        """
        ReadArrays(self, piece:int, npieces:int, nghosts:int,
            timestep:int, output:vtkDataObject) -> int
        C++: int ReadArrays(int piece, int npieces, int nghosts,
            int timestep, vtkDataObject *output) override;
        
        Read all the arrays (point, cell, field etc.). This is called
        after ReadPoints() so the data object should already contain the
        mesh and points.
        """
        return 0

    def ReadMesh(self, piece, npieces, nghosts, timestep, output): # real signature unknown; restored from __doc__
        """
        ReadMesh(self, piece:int, npieces:int, nghosts:int, timestep:int,
            output:vtkDataObject) -> int
        C++: int ReadMesh(int piece, int npieces, int nghosts,
            int timestep, vtkDataObject *output) override;
        
        Read the mesh (connectivity) for a given set of data
        partitioning, number of ghost levels and time step (index). The
        reader populates the data object passed in as the last argument.
        It is OK to read more than the mesh (points, arrays etc.).
        However, this may interfere with any caching implemented by the
        executive (i.e. cause more reads).
        """
        return 0

    def ReadMetaData(self, metadata): # real signature unknown; restored from __doc__
        """
        ReadMetaData(self, metadata:vtkInformation) -> int
        C++: int ReadMetaData(vtkInformation *metadata) override;
        
        This is the superclass API overridden by this class to provide
        time support internally. Subclasses should not normally have to
        override these methods.
        """
        return 0

    def ReadPoints(self, piece, npieces, nghosts, timestep, output): # real signature unknown; restored from __doc__
        """
        ReadPoints(self, piece:int, npieces:int, nghosts:int,
            timestep:int, output:vtkDataObject) -> int
        C++: int ReadPoints(int piece, int npieces, int nghosts,
            int timestep, vtkDataObject *output) override;
        
        Read the points. The reader populates the input data object. This
        is called after ReadMesh() so the data object should already
        contain the mesh.
        """
        return 0

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkParallelReader
        C++: static vtkParallelReader *SafeDownCast(vtkObjectBase *o)
        """
        return vtkParallelReader

    def __delattr__(self, *args, **kwargs): # real signature unknown
        """ Implement delattr(self, name). """
        pass

    def __getattribute__(self, *args, **kwargs): # real signature unknown
        """ Return getattr(self, name). """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    @staticmethod # known case of __new__
    def __new__(*args, **kwargs): # real signature unknown
        """ Create and return a new object.  See help(type) for accurate signature. """
        pass

    def __repr__(self, *args, **kwargs): # real signature unknown
        """ Return repr(self). """
        pass

    def __setattr__(self, *args, **kwargs): # real signature unknown
        """ Implement setattr(self, name, value). """
        pass

    def __str__(self, *args, **kwargs): # real signature unknown
        """ Return str(self). """
        pass

    __this__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """Pointer to the C++ object."""


    __dict__ = None # (!) real value is "mappingproxy({'__vtkname__': 'vtkParallelReader', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'AddFileName': <method 'AddFileName' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'ClearFileNames': <method 'ClearFileNames' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'GetNumberOfFileNames': <method 'GetNumberOfFileNames' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'GetFileName': <method 'GetFileName' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'GetCurrentFileName': <method 'GetCurrentFileName' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'ReadMetaData': <method 'ReadMetaData' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'ReadMesh': <method 'ReadMesh' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'ReadPoints': <method 'ReadPoints' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, 'ReadArrays': <method 'ReadArrays' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF82F4E5B40>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonExecutionModel.vtkParallelReader' objects>, '__doc__': 'vtkParallelReader - Superclass for algorithms that are parallel aware\\n\\nSuperclass: vtkReaderAlgorithm\\n\\nvtkParallelReader is a vtkReaderAlgorithm subclass that provides a\\nspecialized API to develop readers that are parallel aware (i.e. can\\nhandle piece requests) but do not natively support time series. This\\nreader adds support for file series in order to support time series.\\n\\n'})"
    __vtkname__ = 'vtkParallelReader'


