JOEPACK Class Reference

#include <joepack.h>

Collaboration diagram for JOEPACK:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JOEPACK ()
 ~JOEPACK ()
bool LoadPack (string fn)
void ClosePack ()
bool Pack_fopen (string fn)
void Pack_fclose ()
int Pack_fread (void *buffer, unsigned int size, unsigned int count)
map< string, JOEPACK_FADATA > & GetFAT ()

Private Attributes

map< string, JOEPACK_FADATAfat
FILE * f
JOEPACK_FADATAcurfa
string packpath

Detailed Description

Definition at line 27 of file joepack.h.


Constructor & Destructor Documentation

JOEPACK::JOEPACK  )  [inline]
 

Definition at line 36 of file joepack.h.

References curfa, f, NULL, and packpath.

JOEPACK::~JOEPACK  )  [inline]
 

Definition at line 37 of file joepack.h.

References ClosePack().


Member Function Documentation

void JOEPACK::ClosePack  ) 
 

Definition at line 71 of file joepack.cpp.

References f, fat, NULL, Pack_fclose(), and packpath.

Referenced by LoadPack(), and ~JOEPACK().

map<string, JOEPACK_FADATA>& JOEPACK::GetFAT  )  [inline]
 

Definition at line 46 of file joepack.h.

References fat.

bool JOEPACK::LoadPack string  fn  ) 
 

Definition at line 10 of file joepack.cpp.

References ClosePack(), DPRINT, ENDIAN_SWAP_32, f, fat, UTILITY::GetPathFromFilename(), JPKVERSION, JOEPACK_FADATA::length, JOEPACK_FADATA::offset, packpath, and utility.

Referenced by OBJECTS::LoadObjectsFromFolder().

void JOEPACK::Pack_fclose  ) 
 

Definition at line 83 of file joepack.cpp.

References curfa, and NULL.

Referenced by JOEMODEL::CleanUp(), and ClosePack().

bool JOEPACK::Pack_fopen string  fn  ) 
 

Definition at line 88 of file joepack.cpp.

References DPRINT, and packpath.

int JOEPACK::Pack_fread void *  buffer,
unsigned int  size,
unsigned int  count
 

Definition at line 113 of file joepack.cpp.

References curfa, DPRINT, f, JOEPACK_FADATA::length, NULL, and JOEPACK_FADATA::offset.

Referenced by JOEMODEL::BinaryRead().


Member Data Documentation

JOEPACK_FADATA* JOEPACK::curfa [private]
 

Definition at line 32 of file joepack.h.

Referenced by JOEPACK(), Pack_fclose(), and Pack_fread().

FILE* JOEPACK::f [private]
 

Definition at line 31 of file joepack.h.

Referenced by ClosePack(), JOEPACK(), LoadPack(), and Pack_fread().

map< string, JOEPACK_FADATA> JOEPACK::fat [private]
 

Definition at line 30 of file joepack.h.

Referenced by ClosePack(), GetFAT(), and LoadPack().

string JOEPACK::packpath [private]
 

Definition at line 33 of file joepack.h.

Referenced by ClosePack(), JOEPACK(), LoadPack(), and Pack_fopen().


The documentation for this class was generated from the following files:
Generated on Thu Oct 19 04:11:55 2006 by  doxygen 1.4.6