OROCHI
 
Loading...
Searching...
No Matches
GxZlibReadStream Class Reference

Zlibメモリストリームクラス More...

#include <GxStream.h>

Inheritance diagram for GxZlibReadStream:
Collaboration diagram for GxZlibReadStream:

Public Member Functions

初期化
 GxZlibReadStream (void)
 コンストラクタ
 
 ~GxZlibReadStream (void) override
 デストラクタ
 
b32 initialize (GxStreamReader *pStreamReader, u32 chunkSizeByte)
 初期化 (使用中に pStreamReader がスコープから外れないように注意)
 
操作
u32 read (void *pDst, u32 size) override
 読み込み
 
u32 seek (s32 offset, GxFile::SEEK_TYPE seekType=GxFile::SEEK_TYPE::BEGIN) override
 シーク
 
GX_FORCE_INLINE void * reserve (u32)
 メモリ領域の確保 (使用できません)
 
void alignment (GxMemory::ALIGNMENT alignment)
 メモリアライメント調整 (使用できません)
 
アクセサ
GX_FORCE_INLINE u32 getPosition (void) const override
 ストリーム位置を取得
 
GX_FORCE_INLINE u32 getSize (void) const override
 ストリームサイズ取得
 
GX_FORCE_INLINE b32 isReadable (void) const override
 読み込み可能判定
 
GX_FORCE_INLINE b32 isWritable (void) const override
 書き込み可能判定
 
- Public Member Functions inherited from GxStream
virtual void close (void)
 クローズ
 
virtual u32 write (const void *, u32)
 書き込み
 
virtual void flush (void)
 フラッシュ
 
u32 copy (GxStream &dst, u32 size)
 コピー
 
virtual void setSize (u32)
 ストリームサイズ設定
 
virtual b32 isEnd (void) const
 ファイル終端判定
 
GX_FORCE_INLINE s32 getRemainSize (void) const
 残サイズ取得
 
GX_FORCE_INLINE b32 isCanceled (void) const
 キャンセルされた判定
 
constexpr void setAttribute (ATTRIBUTE attribute)
 
constexpr void clearAttribute (ATTRIBUTE attribute)
 
GX_FORCE_INLINE b32 getAttribute (ATTRIBUTE attribute) const
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

Additional Inherited Members

- Public Types inherited from GxStream
enum  ATTRIBUTE { ATTRIBUTE_SEEKABLE = (1 << 0) , ATTRIBUTE_CANCELED = (1 << 1) }
 属性 More...
 
- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 
- Static Public Attributes inherited from GxStream
static constexpr u32 COPY_TEMPORARY_BUFFER_SIZE = GxMath::VALUE_32K
 ストリームコピー用テンポラリバッファサイズ
 
- Protected Member Functions inherited from GxStream
 GxStream (void)
 コンストラクタ (継承先でのみインスタンス生成)
 
 ~GxStream (void) override
 デストラクタ
 

Detailed Description

Zlibメモリストリームクラス

Member Function Documentation

◆ alignment()

void GxZlibReadStream::alignment ( GxMemory::ALIGNMENT alignment)

メモリアライメント調整 (使用できません)

Parameters
alignment[in] アライメント
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getPosition()

GX_FORCE_INLINE u32 GxZlibReadStream::getPosition ( void ) const
inlineoverridevirtual

ストリーム位置を取得

Reimplemented from GxStream.

◆ getSize()

GX_FORCE_INLINE u32 GxZlibReadStream::getSize ( void ) const
inlineoverridevirtual

ストリームサイズ取得

Reimplemented from GxStream.

Here is the caller graph for this function:

◆ initialize()

b32 GxZlibReadStream::initialize ( GxStreamReader * pStreamReader,
u32 chunkSizeByte )

初期化 (使用中に pStreamReader がスコープから外れないように注意)

Parameters
pStreamReader[in] 読み込みストリーム
chunkSizeByte[in] チャンクサイズ
Returns
成功ならtrue
Here is the call graph for this function:
Here is the caller graph for this function:

◆ isReadable()

GX_FORCE_INLINE b32 GxZlibReadStream::isReadable ( void ) const
inlineoverridevirtual

読み込み可能判定

Reimplemented from GxStream.

◆ isWritable()

GX_FORCE_INLINE b32 GxZlibReadStream::isWritable ( void ) const
inlineoverridevirtual

書き込み可能判定

Reimplemented from GxStream.

◆ read()

u32 GxZlibReadStream::read ( void * pDst,
u32 size )
overridevirtual

読み込み

Parameters
pDst[out] 読込先アドレス
size[in] 読み込みサイズ
Returns
実際読み込んだサイズ

Reimplemented from GxStream.

Here is the call graph for this function:

◆ seek()

u32 GxZlibReadStream::seek ( s32 offset,
GxFile::SEEK_TYPE seekType = GxFile::SEEK_TYPE::BEGIN )
overridevirtual

シーク

Parameters
offset[in] 移動オフセット
seekType[in] シーク基準位置 (BEGIN/CURRENT/END)
Returns
シーク後メモリアクセスポジション

Reimplemented from GxStream.


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