# 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


class vtkInformationIntegerRequestKey(__vtkmodules_vtkCommonCore.vtkInformationIntegerKey):
    """
    vtkInformationIntegerRequestKey - key that can used to request
    integer values from the pipeline vtkInformationIntegerRequestKey is a
    vtkInformationIntegerKey that can used to request integer values from
    upstream.
    
    Superclass: vtkInformationIntegerKey
    
    A good example of this is UPDATE_NUMBER_OF_PIECES where downstream
    can request that upstream provides data partitioned into a certain
    number of pieces. There are several components that make this work.
    First, the key will copy itself upstream during
    REQUEST_UPDATE_EXTENT. Second, after a successful execution, it will
    stor its value into a data object's information using a specific key
    defined by its data member DataKey. Third, before execution, it will
    check if the requested value matched the value in the data object's
    information. If not, it will ask the pipeline to execute.
    
    The best way to use this class is to subclass it to set the DataKey
    data member. This is usually done in the subclass' constructor.
    """
    def CopyDefaultInformation(self, request, fromInfo, toInfo): # real signature unknown; restored from __doc__
        """
        CopyDefaultInformation(self, request:vtkInformation,
            fromInfo:vtkInformation, toInfo:vtkInformation) -> None
        C++: void CopyDefaultInformation(vtkInformation *request,
            vtkInformation *fromInfo, vtkInformation *toInfo) override;
        
        Copies the value stored in fromInfo using this key into toInfo if
        request has the REQUEST_UPDATE_EXTENT key.
        """
        pass

    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 MakeKey(self, name, location): # real signature unknown; restored from __doc__
        """
        MakeKey(name:str, location:str) -> vtkInformationIntegerRequestKey
        C++: static vtkInformationIntegerRequestKey *MakeKey(
            const char *name, const char *location)
        
        This method simply returns a new vtkInformationIntegerRequestKey,
        given a name and a location. This method is provided for
        wrappers. Use the constructor directly from C++ instead.
        """
        return vtkInformationIntegerRequestKey

    def NeedToExecute(self, pipelineInfo, dobjInfo): # real signature unknown; restored from __doc__
        """
        NeedToExecute(self, pipelineInfo:vtkInformation,
            dobjInfo:vtkInformation) -> bool
        C++: bool NeedToExecute(vtkInformation *pipelineInfo,
            vtkInformation *dobjInfo) override;
        
        Returns true if a value of type DataKey does not exist in
        dobjInfo or if it is different that the value stored in
        pipelineInfo using this key.
        """
        return False

    def NewInstance(self): # real signature unknown; restored from __doc__
        """
        NewInstance(self) -> vtkInformationIntegerRequestKey
        C++: vtkInformationIntegerRequestKey *NewInstance()
        """
        return vtkInformationIntegerRequestKey

    def SafeDownCast(self, o): # real signature unknown; restored from __doc__
        """
        SafeDownCast(o:vtkObjectBase) -> vtkInformationIntegerRequestKey
        C++: static vtkInformationIntegerRequestKey *SafeDownCast(
            vtkObjectBase *o)
        """
        return vtkInformationIntegerRequestKey

    def StoreMetaData(self, request, pipelineInfo, dobjInfo): # real signature unknown; restored from __doc__
        """
        StoreMetaData(self, request:vtkInformation,
            pipelineInfo:vtkInformation, dobjInfo:vtkInformation) -> None
        C++: void StoreMetaData(vtkInformation *request,
            vtkInformation *pipelineInfo, vtkInformation *dobjInfo)
            override;
        
        Copies the value stored in pipelineInfo using this key into
        dobjInfo.
        """
        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__\': \'vtkInformationIntegerRequestKey\', \'IsTypeOf\': <method \'IsTypeOf\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'IsA\': <method \'IsA\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'SafeDownCast\': <method \'SafeDownCast\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'NewInstance\': <method \'NewInstance\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'GetNumberOfGenerationsFromBaseType\': <method \'GetNumberOfGenerationsFromBaseType\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'GetNumberOfGenerationsFromBase\': <method \'GetNumberOfGenerationsFromBase\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'MakeKey\': <method \'MakeKey\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'NeedToExecute\': <method \'NeedToExecute\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'StoreMetaData\': <method \'StoreMetaData\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'CopyDefaultInformation\': <method \'CopyDefaultInformation\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__new__\': <built-in method __new__ of type object at 0x00007FF82F4E4EE0>, \'__repr__\': <slot wrapper \'__repr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__str__\': <slot wrapper \'__str__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__getattribute__\': <slot wrapper \'__getattribute__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__setattr__\': <slot wrapper \'__setattr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__delattr__\': <slot wrapper \'__delattr__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__dict__\': <attribute \'__dict__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__this__\': <attribute \'__this__\' of \'vtkmodules.vtkCommonExecutionModel.vtkInformationIntegerRequestKey\' objects>, \'__doc__\': "vtkInformationIntegerRequestKey - key that can used to request\\ninteger values from the pipeline vtkInformationIntegerRequestKey is a\\nvtkInformationIntegerKey that can used to request integer values from\\nupstream.\\n\\nSuperclass: vtkInformationIntegerKey\\n\\nA good example of this is UPDATE_NUMBER_OF_PIECES where downstream\\ncan request that upstream provides data partitioned into a certain\\nnumber of pieces. There are several components that make this work.\\nFirst, the key will copy itself upstream during\\nREQUEST_UPDATE_EXTENT. Second, after a successful execution, it will\\nstor its value into a data object\'s information using a specific key\\ndefined by its data member DataKey. Third, before execution, it will\\ncheck if the requested value matched the value in the data object\'s\\ninformation. If not, it will ask the pipeline to execute.\\n\\nThe best way to use this class is to subclass it to set the DataKey\\ndata member. This is usually done in the subclass\' constructor.\\n\\n"})'
    __vtkname__ = 'vtkInformationIntegerRequestKey'


