Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
ArchiveFileHeader.h
Go to the documentation of this file.
1
#ifndef ULT_ARCHIVE_FILE_HEADER_H_INCLUDED
2
#define ULT_ARCHIVE_FILE_HEADER_H_INCLUDED
3
4
namespace
Ult
5
{
6
11
class
ArchiveFileHeader
12
{
13
public
:
17
ArchiveFileHeader
();
18
20
char
*
GetFileName
()
const
{
return
(
char
*)mFileName; }
22
int
GetSize
()
const
{
return
mSize; }
24
int
GetOffset
()
const
{
return
mOffset; }
25
27
void
SetFileName
(
const
char
* fileName);
29
void
SetSize
(
int
size) { mSize = size; }
31
void
SetOffset
(
int
offset) {mOffset = offset; }
32
34
void
operator=
(
const
ArchiveFileHeader
& header);
35
36
private
:
37
char
mFileName[256];
38
int
mSize;
39
int
mOffset;
40
};
41
42
}
// namespace Ult
43
44
#endif
// ULT_ARCHIVE_FILE_HEADER_H_INCLUDED
45
Ult::ArchiveFileHeader
Definition
ArchiveFileHeader.h:12
Ult::ArchiveFileHeader::SetOffset
void SetOffset(int offset)
Definition
ArchiveFileHeader.h:31
Ult::ArchiveFileHeader::GetSize
int GetSize() const
Definition
ArchiveFileHeader.h:22
Ult::ArchiveFileHeader::SetSize
void SetSize(int size)
Definition
ArchiveFileHeader.h:29
Ult::ArchiveFileHeader::ArchiveFileHeader
ArchiveFileHeader()
Definition
ArchiveFileHeader.cpp:7
Ult::ArchiveFileHeader::SetFileName
void SetFileName(const char *fileName)
Definition
ArchiveFileHeader.cpp:14
Ult::ArchiveFileHeader::operator=
void operator=(const ArchiveFileHeader &header)
Definition
ArchiveFileHeader.cpp:29
Ult::ArchiveFileHeader::GetFileName
char * GetFileName() const
Definition
ArchiveFileHeader.h:20
Ult::ArchiveFileHeader::GetOffset
int GetOffset() const
Definition
ArchiveFileHeader.h:24
Ult
Definition
Archive.h:13
include
Ult
Archive
ArchiveFileHeader.h
Generated by
1.13.0