CMS 3D CMS Logo

Public Member Functions | Public Attributes | Properties | Private Member Functions

Options::Options Class Reference

List of all members.

Public Member Functions

def __getitem__
def __init__

Public Attributes

 readKeys

Properties

 unreadKeys = property(_unreadKeys)

Private Member Functions

def _unreadKeys

Detailed Description

Definition at line 1 of file Options.py.


Constructor & Destructor Documentation

def Options::Options::__init__ (   self,
  args,
  kw 
)

Definition at line 3 of file Options.py.

00004                                    :
00005         dict.__init__(self, *args, **kw)
00006         self.readKeys = set()


Member Function Documentation

def Options::Options::__getitem__ (   self,
  key 
)

Definition at line 7 of file Options.py.

00008                               :
00009         self.readKeys.add(key)
00010         return self.get(key,None)

def Options::Options::_unreadKeys (   self) [private]
return unused keys

Definition at line 11 of file Options.py.

00012                          :
00013         """return unused keys"""
        return set([a for a in self if a not in self.readKeys])

Member Data Documentation

Options::Options::readKeys

Definition at line 3 of file Options.py.


Property Documentation

Options::Options::unreadKeys = property(_unreadKeys) [static]

Definition at line 14 of file Options.py.