Package rosetta :: Package basic :: Package resource_manager :: Module _basic_resource_manager_ :: Class ResourceStream
[hide private]
[frames] | no frames]

Class ResourceStream

 object --+    
          |    
??.instance --+
              |
             ResourceStream
Known Subclasses:

The %ResourceStream represents an abstract class for packaging up a standard istream so that data that the ResourceLocator needs to deliver to a ResourceLoader can come from arbitrary sources (e.g. from either a file or from a database).

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
__reduce__(...)
helper for pickle
 
stream(...)
stream( (ResourceStream)arg1) -> std_istream : Return an istream reference so that the ResourceLoader can access arbitrary data returned by the %ResourceLocator

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]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

stream(...)

 

stream( (ResourceStream)arg1) -> std_istream :
    Return an istream reference so that the ResourceLoader can access arbitrary data
    returned by the %ResourceLocator
    

    C++ signature :
        std::istream {lvalue} stream(basic::resource_manager::ResourceStream {lvalue})

stream( (ResourceStream)arg1) -> None :

    C++ signature :
        void stream(boost::shared_ptr<ResourceStream_exposer_callback> {lvalue})