class documentation

class IndexContextMask(ContextMask): (source)

View In Hierarchy

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_indices 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_value_dict Undocumented
Instance Variable value_dict Undocumented
def get_indices(self, condition, context): (source)

Condition should be a string saying 'index < <value>'