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

Class FileStream

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

%FileStream is a wrapper class for a utility::io::izstream object that derives from ResourceStream.

Instance Methods [hide private]
 
__init__(...)
__init__( (object)arg1) -> None :
 
open(...)
open( (FileStream)arg1, (str)filename, (object)open_mode) -> None : Open a particular file; must be called if the default constructor is used.
 
stream(...)
stream( (FileStream)arg1) -> std_istream : Return non-const access to the internal stream 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)filename, (object)open_mode) -> None :
    Constructor that initializes both the name for the file and its openmode.
    

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

Overrides: object.__init__

open(...)

 

open( (FileStream)arg1, (str)filename, (object)open_mode) -> None :
    Open a particular file; must be called if the default constructor is used.
    

    C++ signature :
        void open(basic::resource_manager::locator::FileStream {lvalue},std::string,std::_Ios_Openmode)

stream(...)

 

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

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

stream( (FileStream)arg1) -> std_istream :

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

Overrides: _basic_resource_manager_.ResourceStream.stream