Package rosetta :: Package basic :: Package datacache :: Module _basic_datacache_ :: Class DataMap
[hide private]
[frames] | no frames]

Class DataMap

 object --+    
          |    
??.instance --+
              |
             DataMap

general-purpose store for any reference-count derived object

Instance Methods [hide private]
 
__getitem__(...)
__getitem__( (DataMap)arg1, (str)type) -> object : basic/datacache/DataMap.hh:64
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
add(...)
add( (DataMap)arg1, (str)type, (str)name, (object)op) -> bool : basic/datacache/DataMap.hh:58
 
begin(...)
begin( (DataMap)arg1) -> object : basic/datacache/DataMap.hh:48
 
end(...)
end( (DataMap)arg1) -> object : basic/datacache/DataMap.hh:49
 
has(...)
has( (DataMap)arg1, (str)type [, (str)name='']) -> bool : basic/datacache/DataMap.hh:59
 
size(...)
size( (DataMap)arg1) -> int : returns the size of the map (how many different types are in data_map_

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __instance_size__ = 32
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getitem__(...)
(Indexing operator)

 

__getitem__( (DataMap)arg1, (str)type) -> object :
    basic/datacache/DataMap.hh:64

    C++ signature :
        std::map<std::string, boost::shared_ptr<utility::pointer::ReferenceCount>, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<utility::pointer::ReferenceCount> > > > {lvalue} __getitem__(basic::datacache::DataMap {lvalue},std::string)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (DataMap)) -> None :
    general-purpose store for any reference-count derived object
    

    C++ signature :
        void __init__(_object*,basic::datacache::DataMap)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

add(...)

 

add( (DataMap)arg1, (str)type, (str)name, (object)op) -> bool :
    basic/datacache/DataMap.hh:58

    C++ signature :
        bool add(basic::datacache::DataMap {lvalue},std::string,std::string,boost::shared_ptr<utility::pointer::ReferenceCount>)

begin(...)

 

begin( (DataMap)arg1) -> object :
    basic/datacache/DataMap.hh:48

    C++ signature :
        std::_Rb_tree_iterator<std::pair<std::string const, std::map<std::string, boost::shared_ptr<utility::pointer::ReferenceCount>, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<utility::pointer::ReferenceCount> > > > > > begin(basic::datacache::DataMap {lvalue})

begin( (DataMap)arg1) -> object :
    basic/datacache/DataMap.hh:50

    C++ signature :
        std::_Rb_tree_const_iterator<std::pair<std::string const, std::map<std::string, boost::shared_ptr<utility::pointer::ReferenceCount>, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<utility::pointer::ReferenceCount> > > > > > begin(basic::datacache::DataMap {lvalue})

end(...)

 

end( (DataMap)arg1) -> object :
    basic/datacache/DataMap.hh:49

    C++ signature :
        std::_Rb_tree_iterator<std::pair<std::string const, std::map<std::string, boost::shared_ptr<utility::pointer::ReferenceCount>, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<utility::pointer::ReferenceCount> > > > > > end(basic::datacache::DataMap {lvalue})

end( (DataMap)arg1) -> object :
    basic/datacache/DataMap.hh:51

    C++ signature :
        std::_Rb_tree_const_iterator<std::pair<std::string const, std::map<std::string, boost::shared_ptr<utility::pointer::ReferenceCount>, std::less<std::string>, std::allocator<std::pair<std::string const, boost::shared_ptr<utility::pointer::ReferenceCount> > > > > > end(basic::datacache::DataMap {lvalue})

has(...)

 

has( (DataMap)arg1, (str)type [, (str)name='']) -> bool :
    basic/datacache/DataMap.hh:59

    C++ signature :
        bool has(basic::datacache::DataMap {lvalue},std::string [,std::string=''])

size(...)

 

size( (DataMap)arg1) -> int :
    returns the size of the map (how many different types are in data_map_
    

    C++ signature :
        unsigned long size(basic::datacache::DataMap {lvalue})