Package mpi4py :: Module MPI :: Class Info

[hide private]
[frames] | no frames]

# Class Info

Info

Instance Methods | [hide private]

Create(type cls) Create a new, empty info object |

Delete(self, key) Remove a (key, value) pair from info |

Dup(self) Duplicate an existing info object, creating a new object, with the same (key, value) pairs and the same ordering of keys |

Free(self) Free a info object |

Get(self, key, int maxlen=-1) Retrieve the value associated with a key |

Get_nkeys(self) Return the number of currently defined keys in info |

Get_nthkey(self, int n) Return the nth defined key in info. |

Set(self, key, value) Add the (key, value) pair to info, and overrides the value if a value for the same key was previously set |

__contains__(y) y in x |

__delitem__(y) del x[y] |

__eq__(y) x==y |

__ge__(y) x>=y |

__getitem__(y) x[y] |

__gt__(y) x>y |

__iter__() <==> iter(x) |

__le__(y) x<=y |

__len__() <==> len(x) |

__lt__(y) x<y |

__ne__(y) x!=y |

a new object with type S, a subtype of T

__new__(S, ...) |

__nonzero__() x != 0 |

__setitem__(i, y) x[i]=y |

clear(self) info clear |

f2py(type cls, arg) |

get(self, key, default=None) info get |

items(self) info items |

keys(self) info keys |

py2f(self) |

update(self, other=(), **kwds) info update |

values(self) info values |

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

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### Get_nthkey(self, int n)

Return the nth defined key in info. Keys are numbered in the range [0, N) where N is the value returned by Info.Get_nkeys()

### __new__(S, ...)

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