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

#include <ArchiveFileHeader.h>

Public Member Functions

 ArchiveFileHeader ()
 
char * GetFileName () const
 
int GetSize () const
 
int GetOffset () const
 
void SetFileName (const char *fileName)
 
void SetSize (int size)
 
void SetOffset (int offset)
 
void operator= (const ArchiveFileHeader &header)
 

Detailed Description

Metadata about a file stored in the ArchiveFile class.

Constructor & Destructor Documentation

◆ ArchiveFileHeader()

Ult::ArchiveFileHeader::ArchiveFileHeader ( )

ArchiveFileHeader constructor.

Member Function Documentation

◆ GetFileName()

char * Ult::ArchiveFileHeader::GetFileName ( ) const
inline

Returns the string name of the file.

◆ GetOffset()

int Ult::ArchiveFileHeader::GetOffset ( ) const
inline

Returns the byte offset of the file into the Archive.

◆ GetSize()

int Ult::ArchiveFileHeader::GetSize ( ) const
inline

Returns the size of the file in bytes.

◆ operator=()

void Ult::ArchiveFileHeader::operator= ( const ArchiveFileHeader & header)

Copy the metadata contents from another header object.

◆ SetFileName()

void Ult::ArchiveFileHeader::SetFileName ( const char * fileName)

Set the name of the file this header represents. Max size is 255.

◆ SetOffset()

void Ult::ArchiveFileHeader::SetOffset ( int offset)
inline

Set the byte offset of the file in the archive.

◆ SetSize()

void Ult::ArchiveFileHeader::SetSize ( int size)
inline

Set the size of the file in bytes.


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