|
Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#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) |
Metadata about a file stored in the ArchiveFile class.
| Ult::ArchiveFileHeader::ArchiveFileHeader | ( | ) |
ArchiveFileHeader constructor.
|
inline |
Returns the string name of the file.
|
inline |
Returns the byte offset of the file into the Archive.
|
inline |
Returns the size of the file in bytes.
| void Ult::ArchiveFileHeader::operator= | ( | const ArchiveFileHeader & | header | ) |
Copy the metadata contents from another header object.
| void Ult::ArchiveFileHeader::SetFileName | ( | const char * | fileName | ) |
Set the name of the file this header represents. Max size is 255.
|
inline |
Set the byte offset of the file in the archive.
|
inline |
Set the size of the file in bytes.