Module prototypeslg :: Class LGCALREPEAT
[show private | hide private]
[frames | no frames]

Type LGCALREPEAT

       object --+        
                |        
BaseProtogenClass --+    
                    |    
              UINTlsb --+
                        |
                       LGCALREPEAT


Method Summary
  __init__(self, *args, **kwargs)
A 32-bit bitmapped value used to store repeat info for events in the LG calendar
  getvalue(self)
Returns the integer we are
  _converttoint(self, repeat)
  _update(self, args, kwargs)
    Inherited from UINTlsb
  packetsize(self)
Returns size in bytes that we occupy
  readfrombuffer(self, buf)
Get our value from the buffer
  writetobuffer(self, buf)
Scribble ourselves to the buf
    Inherited from BaseProtogenClass
  autologread(self, buf, logtitle)
  autologwrite(self, buf, logtitle)
  iscontainer(self)
Do we contain fields?
  packetspan(self)
Returns tuple of begining,end offsets from last packet we were read or written from.
  update(self, *args, **kwargs)
  _complainaboutunusedargs(self, klass, dict)
A helper function that will raise an exception if there are unused keyword arguments.
  _consumekw(self, dict, consumelist)
A helper function for easily setting internal values from the dict
  _ismostderived(self, klass)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
dict _caldomvalues = {32: 5, 1: 0, 2: 1, 4: 2, 8: 3, 64: 6, 1...
dict _to_bp_dow = {0: 1, 1: 2, 2: 4, 3: 8, 4: 16, 5: 32, 6: 6...

Method Details

__init__(self, *args, **kwargs)
(Constructor)

A 32-bit bitmapped value used to store repeat info for events in the LG calendar
Overrides:
prototypes.UINTlsb.__init__

getvalue(self)

Returns the integer we are
Overrides:
prototypes.UINTlsb.getvalue (inherited documentation)

Class Variable Details

_caldomvalues

Type:
dict
Value:
{32: 5, 1: 0, 2: 1, 4: 2, 8: 3, 64: 6, 16: 4}                          

_to_bp_dow

Type:
dict
Value:
{0: 1, 1: 2, 2: 4, 3: 8, 4: 16, 5: 32, 6: 64}                          

Generated by Epydoc 2.1 on Fri Aug 15 18:58:29 2008 http://epydoc.sf.net