class documentation
class IndexContextMask(ContextMask): (source)
Class that is used for implementing ``with``-statement The context to be used with the mask should be: - One of: * A GeoContext, as that is the only context which can currently have a notion of index. * Any other context which has a get_index() method. - A context that has a key 'index' in its dictionary.
Method | get |
Condition should be a string saying 'index < <value>' |
Inherited from ContextMask
:
Method | __enter__ |
Method to be overwritten for a mask class. |
Method | __exit__ |
Method to be overwritten for a mask class |
Method | __init__ |
Condition should be a string saying 'index < <value>' |
Instance Variable | context |
Undocumented |
Instance Variable | indices |
Undocumented |
Instance Variable | init |
Undocumented |
Instance Variable | value |
Undocumented |