xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Aurora::GFF4File::Header Struct Reference

A GFF4 header. More...

Public Member Functions

void read (Common::SeekableReadStream &gff4, uint32 version)
 
bool isBigEndian () const
 

Public Attributes

uint32 platformID
 ID of the platform this GFF4 is for. More...
 
uint32 type
 The specific type this GFF4 describes. More...
 
uint32 typeVersion
 The version of the specific type this GFF4 describes. More...
 
uint32 structCount
 Number of struct templates in this GFF4. More...
 
uint32 stringCount
 Number of shared strings (V4.1 only). More...
 
uint32 stringOffset
 Offset to shared strings (V4.1 only). More...
 
uint32 dataOffset
 Offset to the data portion. More...
 
bool hasSharedStrings
 

Detailed Description

A GFF4 header.

Definition at line 125 of file gff4file.h.

Member Function Documentation

◆ isBigEndian()

bool Aurora::GFF4File::Header::isBigEndian ( ) const

◆ read()

void Aurora::GFF4File::Header::read ( Common::SeekableReadStream gff4,
uint32  version 
)

Member Data Documentation

◆ dataOffset

uint32 Aurora::GFF4File::Header::dataOffset

Offset to the data portion.

Definition at line 132 of file gff4file.h.

Referenced by Aurora::GFF4File::getDataOffset(), Aurora::GFF4File::loadStructs(), and read().

◆ hasSharedStrings

bool Aurora::GFF4File::Header::hasSharedStrings

◆ platformID

uint32 Aurora::GFF4File::Header::platformID

ID of the platform this GFF4 is for.

Definition at line 126 of file gff4file.h.

Referenced by Aurora::GFF4File::getPlatform(), and read().

◆ stringCount

uint32 Aurora::GFF4File::Header::stringCount

Number of shared strings (V4.1 only).

Definition at line 130 of file gff4file.h.

Referenced by Aurora::GFF4File::loadStrings(), and read().

◆ stringOffset

uint32 Aurora::GFF4File::Header::stringOffset

Offset to shared strings (V4.1 only).

Definition at line 131 of file gff4file.h.

Referenced by Aurora::GFF4File::loadStrings(), and read().

◆ structCount

uint32 Aurora::GFF4File::Header::structCount

Number of struct templates in this GFF4.

Definition at line 129 of file gff4file.h.

Referenced by Aurora::GFF4File::loadHeader(), Aurora::GFF4File::loadStructs(), and read().

◆ type

uint32 Aurora::GFF4File::Header::type

The specific type this GFF4 describes.

Definition at line 127 of file gff4file.h.

Referenced by Aurora::GFF4File::getType(), Aurora::GFF4File::loadHeader(), and read().

◆ typeVersion

uint32 Aurora::GFF4File::Header::typeVersion

The version of the specific type this GFF4 describes.

Definition at line 128 of file gff4file.h.

Referenced by Aurora::GFF4File::getTypeVersion(), and read().


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