You.i Engine
CYIAssetIStream Class Reference

Detailed Description

An implementation of std::istream used to access assets.

This stream does not support writing, and only supports opening files in binary mode.

Note
On android, this stream implementation transparently reads directly from the .apk file when opening a file in the assets path.

#include <utility/YiUtilities.h>

Inheritance diagram for CYIAssetIStream:

Public Member Functions

 CYIAssetIStream (const CYIString &file)
 
virtual ~CYIAssetIStream ()
 

Constructor & Destructor Documentation

◆ CYIAssetIStream()

CYIAssetIStream::CYIAssetIStream ( const CYIString file)

◆ ~CYIAssetIStream()

virtual CYIAssetIStream::~CYIAssetIStream ( )
virtual

The documentation for this class was generated from the following file: