Package rosh :: Package impl :: Module bagy :: Class MapBagy
[frames] | no frames]

Class MapBagy

source code

       object --+            
                |            
    _abcoll.Sized --+        
                    |        
       object --+   |        
                |   |        
 _abcoll.Iterable --+        
                    |        
       object --+   |        
                |   |        
_abcoll.Container --+        
                    |        
      _abcoll.Mapping --+    
                        |    
                 _MapBagy --+
                            |
                           MapBagy

Nested Classes

Inherited from _abcoll.Sized: __metaclass__

Instance Methods
 
__init__(self, filename, mode, type_=None)
ctor.
source code

Inherited from _MapBagy: __contains__, __enter__, __eq__, __exit__, __getitem__, __iter__, __len__, __ne__, __setitem__, close, get, items, iteritems, iterkeys, itervalues, keys, read, values, write

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__

Class Methods

Inherited from _abcoll.Sized: __subclasshook__

Class Variables

Inherited from _MapBagy: __abstractmethods__

Inherited from _abcoll.Mapping: __hash__

Properties

Inherited from object: __class__

Method Details

__init__(self, filename, mode, type_=None)
(Constructor)

source code 

ctor.

Parameters:
  • filename (str) - path to file
  • mode (str) - open mode. Valid modes are 'r' (read), 'w' (write), and 'a' (append).
  • type_ (type(roslib.message.Message)) - Message type stored in key bagy
Overrides: object.__init__