BlockIt
blockit::sets::ASet Class Reference

List of all members.

Public Member Functions

def __init__
def update
def add
def changeSet
def changed
def reset

Private Attributes

 _changed
 _changeSet

Detailed Description

A set class that simply has a new "changed" attribute to indicate
whether it has been updated or added to since last check.

Definition at line 21 of file sets.py.


Constructor & Destructor Documentation

def blockit::sets::ASet::__init__ (   self,
  args,
  kwargs 
)

Definition at line 26 of file sets.py.


Member Function Documentation

def blockit::sets::ASet::add (   self,
  args,
  kwargs 
)
Wrapper for the set add() method with changed setting. 

Definition at line 41 of file sets.py.

def blockit::sets::ASet::changed (   self)

Definition at line 57 of file sets.py.

def blockit::sets::ASet::changeSet (   self)
Return a copy of only the changes since last reset.

Definition at line 51 of file sets.py.

def blockit::sets::ASet::reset (   self)
Reset the changed attribute.

Definition at line 60 of file sets.py.

def blockit::sets::ASet::update (   self,
  args,
  kwargs 
)
Wrapper for the set update() method with changed setting.

Definition at line 31 of file sets.py.


Member Data Documentation

Definition at line 26 of file sets.py.

Definition at line 26 of file sets.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties