# encoding: utf-8
# module vtkmodules.vtkCommonPython
# from C:\Users\xukai\Downloads\发票2\venv\Lib\site-packages\vtkmodules\vtkCommonPython.cp311-win_amd64.pyd
# by generator 1.147
# no doc

# imports
import vtkmodules.vtkCommonCore as __vtkmodules_vtkCommonCore


# no functions
# classes

class vtkPythonArchiver(__vtkmodules_vtkCommonCore.vtkArchiver):
    """
    vtkPythonArchiver - A version of vtkArchiver that can be implemented
    in Python
    
    Superclass: vtkArchiver
    
    vtkPythonArchiver is an implementation of vtkArchiver that calls a
    Python object to do the actual work. It defers the following methods
    to Python:
    - OpenArchive()
    - CloseArchive()
    - InsertIntoArchive()
    - Contains()
    
    Python signature of these methods is as follows:
    - OpenArchive(self, vtkself) : vtkself is the vtk object
    - CloseArchive(self, vtkself)
    - InsertIntoArchive(self, vtkself, relativePath, data, size)
    - Contains()
    
    @sa
    vtkPythonArchiver
    """
    def CloseArchive(self): # real signature unknown; restored from __doc__
        """
        CloseArchive(self) -> None
        C++: void CloseArchive() override;
        
        Close the archive.
        """
        pass

    def Contains(self, relativePath): # real signature unknown; restored from __doc__
        """
        Contains(self, relativePath:str) -> bool
        C++: bool Contains(const std::string &relativePath) override;
        
        Checks if relativePath represents an entry in the archive.
        """
        return False

    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 InsertIntoArchive(self, relativePath, data, size): # real signature unknown; restored from __doc__
        """
        InsertIntoArchive(self, relativePath:str, data:str, size:int)
            -> None
        C++: void InsertIntoArchive(const std::string &relativePath,
            const char *data, std::size_t size) override;
        
        Insert data of size size into the archive at relativePath.
        """
        pass

    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) -> vtkPythonArchiver
        C++: vtkPythonArchiver *NewInstance()
        """
        return vtkPythonArchiver

    def OpenArchive(self): # real signature unknown; restored from __doc__
        """
        OpenArchive(self) -> None
        C++: void OpenArchive() override;
        
        Open the archive for writing.
        """
        pass

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkPythonArchiver
        C++: static vtkPythonArchiver *SafeDownCast(vtkObjectBase *o)
        """
        return vtkPythonArchiver

    def SetPythonObject(self, obj): # real signature unknown; restored from __doc__
        """
        SetPythonObject(self, obj:PyObject) -> None
        C++: void SetPythonObject(PyObject *obj)
        
        Specify the Python object to use to perform the archiving. A
        reference will be taken on the object.
        """
        pass

    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__': 'vtkPythonArchiver', 'IsTypeOf': <method 'IsTypeOf' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'IsA': <method 'IsA' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'SafeDownCast': <method 'SafeDownCast' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'NewInstance': <method 'NewInstance' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'GetNumberOfGenerationsFromBaseType': <method 'GetNumberOfGenerationsFromBaseType' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'GetNumberOfGenerationsFromBase': <method 'GetNumberOfGenerationsFromBase' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'SetPythonObject': <method 'SetPythonObject' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'OpenArchive': <method 'OpenArchive' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'CloseArchive': <method 'CloseArchive' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'InsertIntoArchive': <method 'InsertIntoArchive' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, 'Contains': <method 'Contains' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__new__': <built-in method __new__ of type object at 0x00007FF86EFC6190>, '__repr__': <slot wrapper '__repr__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__str__': <slot wrapper '__str__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__setattr__': <slot wrapper '__setattr__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__delattr__': <slot wrapper '__delattr__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__dict__': <attribute '__dict__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__this__': <attribute '__this__' of 'vtkmodules.vtkCommonPython.vtkPythonArchiver' objects>, '__doc__': 'vtkPythonArchiver - A version of vtkArchiver that can be implemented\\nin Python\\n\\nSuperclass: vtkArchiver\\n\\nvtkPythonArchiver is an implementation of vtkArchiver that calls a\\nPython object to do the actual work. It defers the following methods\\nto Python:\\n- OpenArchive()\\n- CloseArchive()\\n- InsertIntoArchive()\\n- Contains()\\n\\nPython signature of these methods is as follows:\\n- OpenArchive(self, vtkself) : vtkself is the vtk object\\n- CloseArchive(self, vtkself)\\n- InsertIntoArchive(self, vtkself, relativePath, data, size)\\n- Contains()\\n\\n@sa\\nvtkPythonArchiver\\n\\n'})"
    __vtkname__ = 'vtkPythonArchiver'


# variables with complex values

__loader__ = None # (!) real value is '<_frozen_importlib_external.ExtensionFileLoader object at 0x000001FF413DBC50>'

__spec__ = None # (!) real value is "ModuleSpec(name='vtkmodules.vtkCommonPython', loader=<_frozen_importlib_external.ExtensionFileLoader object at 0x000001FF413DBC50>, origin='C:\\\\Users\\\\xukai\\\\Downloads\\\\??2\\\\venv\\\\Lib\\\\site-packages\\\\vtkmodules\\\\vtkCommonPython.cp311-win_amd64.pyd')"

