Package rosetta :: Package basic :: Package resource_manager :: Package locator :: Module _basic_resource_manager_locator_ :: Class StringResourceStream
[hide private]
[frames] | no frames]

Class StringResourceStream

                         object --+        
                                  |        
                        ??.instance --+    
                                      |    
_basic_resource_manager_.ResourceStream --+
                                          |
                                         StringResourceStream

The %StringResourceStream is a wrapper class for a std::stringstream that can be used to construct a resource. Useful when reading the resource stream in to memory (e.g. from a database or from multiple files) before trying to construct the resource.

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
fill(...)
fill( (StringResourceStream)arg1, (str)contents) -> None : Construct the stringstream from the given input string.
 
stream(...)
stream( (StringResourceStream)arg1) -> std_istream : Give non-const access to the internal stringstream so that it can be used to construct a resource.

Inherited from _basic_resource_manager_.ResourceStream: __reduce__

Inherited from unreachable.instance: __new__

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

Class Variables [hide private]

Inherited from _basic_resource_manager_.ResourceStream: __instance_size__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :

    C++ signature :
        void __init__(_object*)

__init__( (object)arg1, (str)contents) -> None :
    basic/resource_manager/locator/StringResourceStream.hh:45

    C++ signature :
        void __init__(_object*,std::string)

Overrides: object.__init__

fill(...)

 

fill( (StringResourceStream)arg1, (str)contents) -> None :
    Construct the stringstream from the given input string.
    

    C++ signature :
        void fill(basic::resource_manager::locator::StringResourceStream {lvalue},std::string)

fill( (StringResourceStream)arg1, (str)contents) -> None :

    C++ signature :
        void fill(StringResourceStream_exposer_callback {lvalue},std::string)

stream(...)

 

stream( (StringResourceStream)arg1) -> std_istream :
    Give non-const access to the internal stringstream so that it can be used to construct a resource.
    

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

stream( (StringResourceStream)arg1) -> std_istream :

    C++ signature :
        std::istream {lvalue} stream(StringResourceStream_exposer_callback {lvalue})

Overrides: _basic_resource_manager_.ResourceStream.stream