リソースヘッダー構造体 More...
#include <GxResBase.h>


Public Member Functions | |
初期化 | |
| GxResHeader (void) | |
| コンストラクタ | |
| GxResHeader (const GxRttiResource &resRtti) | |
| コンストラクタ (Rtti指定) | |
操作 | |
| void | set (const GxRttiResource &resRtti) |
| 情報セット | |
| void | clear (void) |
| 情報クリア | |
| b32 | read (GxStream &stream) |
| 読み込み | |
| b32 | write (GxStream &stream) |
| 書き込み | |
| b32 | isSameRtti (const GxRttiResource &resRtti) const |
| Rtti情報一致判定 | |
Static Public Attributes | |
定義 | |
| static constexpr u32 | VERSION_SAVE_HIERARCY = GxMath::VALUE_8 |
| バージョン保持階層 | |
| static constexpr GxMemory::ALIGNMENT | HEADER_ALIGNMENT = GxMemory::ALIGNMENT::_128 |
| ヘッダーアライメント | |
| static constexpr u32 | HEADER_SIZE = static_cast<s32>(HEADER_ALIGNMENT) |
| ヘッダーサイズ | |
| static constexpr u32 | PADDING_SIZE = HEADER_SIZE - sizeof(u32) * (VERSION_SAVE_HIERARCY + 3) |
| パディングサイズ (ヘッダーサイズ - メンバ変数サイズ) | |
アクセサ | |
| constexpr u32 | getMagicNumber (void) const |
| 識別用マジックナンバー取得 | |
| constexpr u32 | getVersionSavedNum (void) const |
| バージョン保持階層数 | |
| constexpr u32 | getVersion (u32 hierarcy=0) const |
| バージョン番号取得 | |
| constexpr GxRttiResource::COMPRESS_TYPE | getCompressType (void) const |
| 圧縮タイプ取得 | |
| constexpr void | setCompressType (const GxRttiResource::COMPRESS_TYPE compressType) |
| 圧縮タイプ設定 | |
| static constexpr u32 | getSize (void) |
| ヘッダーサイズ取得 | |
Additional Inherited Members | |
Static Public Member Functions inherited from GxStructBase | |
| static GxRtti & | __getStaticRtti (void) |
リソースヘッダー構造体
| b32 GxResHeader::isSameRtti | ( | const GxRttiResource & | resRtti | ) | const |
Rtti情報一致判定
| resRtti | [in] 比較リソースRtti |

読み込み
| stream | [in] 読み込みストリーム |

| void GxResHeader::set | ( | const GxRttiResource & | resRtti | ) |
情報セット
| resRtti | [in] 設定リソースRtti |


書き込み
| stream | [out] 書き込みストリーム |
