Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
Ult::ArchiveHeader Class Reference

#include <ArchiveHeader.h>

Public Member Functions

 ArchiveHeader ()
 
char * GetID ()
 
int GetMajorVersion () const
 
int GetMinorVersion () const
 
int GetTotalFiles () const
 
void SetID (const char *id)
 
void SetMajorVersion (int major)
 
void SetMinorVersion (int minor)
 
void SetTotalFiles (int total)
 

Detailed Description

Header metadata for an ArchiveFile.

Constructor & Destructor Documentation

◆ ArchiveHeader()

Ult::ArchiveHeader::ArchiveHeader ( )

ArchiveHeader constructor.

Member Function Documentation

◆ GetID()

char * Ult::ArchiveHeader::GetID ( )
inline

5-byte identifier for Archive files.

◆ GetMajorVersion()

int Ult::ArchiveHeader::GetMajorVersion ( ) const
inline

Major version identifier for Archive files.

◆ GetMinorVersion()

int Ult::ArchiveHeader::GetMinorVersion ( ) const
inline

Minor version identifier for Archive files.

◆ GetTotalFiles()

int Ult::ArchiveHeader::GetTotalFiles ( ) const
inline

The number of files contained in this archive.

◆ SetID()

void Ult::ArchiveHeader::SetID ( const char * id)

Set the 5-byte identifier value.

◆ SetMajorVersion()

void Ult::ArchiveHeader::SetMajorVersion ( int major)
inline

Set the major version value of this header.

◆ SetMinorVersion()

void Ult::ArchiveHeader::SetMinorVersion ( int minor)
inline

Set the minor version value of this header.

◆ SetTotalFiles()

void Ult::ArchiveHeader::SetTotalFiles ( int total)
inline

Set the total number of files count of this header.


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