Package mpi4py :: Module MPI :: Class Status

[hide private]
[frames] | no frames]

# Class Status

Status

Instance Methods | [hide private]

Get_count(self, Datatype datatype=BYTE) Get the number of top level elements |

Get_elements(self, Datatype datatype) Get the number of basic elements in a datatype |

Get_error(self) Get message error |

Get_source(self) Get message source |

Get_tag(self) Get message tag |

Is_cancelled(self) Test to see if a request was cancelled |

Set_cancelled(self, int flag) Set the cancelled state associated with a status |

Set_elements(self, Datatype datatype, int count) Set the number of elements in a status |

Set_error(self, int error) Set message error |

Set_source(self, int source) Set message source |

Set_tag(self, int tag) Set message tag |

__eq__(y) x==y |

__ge__(y) x>=y |

__gt__(y) x>y |

__le__(y) x<=y |

__lt__(y) x<y |

__ne__(y) x!=y |

a new object with type S, a subtype of T

__new__(S, ...) |

Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

| cancelled cancelled state
| count byte count
| error error
| source source
| tag tag
Inherited from `object`: `__class__`

Method Details | [hide private]

### Set_cancelled(self, int flag)

Set the cancelled state associated with a status

This should be only used when implementing query callback functions for generalized requests

### Set_elements(self, Datatype datatype, int count)

Set the number of elements in a status

This should be only used when implementing query callback functions for generalized requests

### __new__(S, ...)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__