Murl::Resource::IGraph::Iff::StringsChunk Struct Reference

An IFF chunk of a native graph resource storing the string table. More...

#include "murl_resource_i_graph.h"

Inheritance diagram for Murl::Resource::IGraph::Iff::StringsChunk:

Public Types

enum  { FOURCC }
 IFF identifiers. More...

Public Attributes

UInt32 mIndicesOffset
 An offset into the chunk where where the string offsets are stored. See IffOffset().
UInt32 mStringsOffset
 An offset into the chunk where where the actual string data is stored. See IffOffset().

Additional Inherited Members

- Public Member Functions inherited from Murl::Util::IffChunk
template<class DataType >
DataType * IffOffset (UInt32 byteOffset) const
 Get a typed pointer from an offset relative to the chunk. More...
void SetFourCC (UInt32 fourCC)
 Set the chunk identifier. More...
UInt32 GetFourCC () const
 Get the chunk identifier. More...
void SetChunkSize (UInt32 size)
 Set the chunk size. More...
UInt32 GetChunkSize () const
 Get the chunk size. More...
UInt32 GetRawSize () const
 Get the chunk size minus sizeof(IffChunk). More...
- Protected Attributes inherited from Murl::Util::IffChunk
UInt32 mFourCC
 The FourCC chunk identifier. More...
UInt32 mSize
 The size of this chunk minus sizeof(IffChunk). More...

Detailed Description

An IFF chunk of a native graph resource storing the string table.

The data block pointed to by mStringsOffset contains all C strings defined in this graph resource (null-terminated), one directly after the other. The data block pointed to by mIndicesOffset contains an array of N UInt32 values, each defining a byte offset into the above string memory block for each of the N strings present.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.


The four character code identifying this chunk as a StringsChunk.

The documentation for this struct was generated from the following file:
  • murl_resource_i_graph.h

Copyright © 2011-2018 Spraylight GmbH.