tncontainerstream Class Reference

#include <basestrm.h>

Inheritance diagram for tncontainerstream:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 tncontainerstream (const char *containerfilename, ContainerIndexer *indexer, int directoryLevel)
void opencontainerfile (const char *name)
int getcontainerfilesize (const char *name)
int readcontainerdata (void *buf, int size, bool excpt=true)
void closecontainerfile (void)
char * getfirstname (void)
char * getnextname (void)
virtual ~tncontainerstream ()

Detailed Description

Definition at line 452 of file basestrm.h.


Constructor & Destructor Documentation

tncontainerstream::tncontainerstream ( const char *  containerfilename,
ContainerIndexer indexer,
int  directoryLevel 
)

Definition at line 703 of file basestrm.cpp.

References ContainerIndexer::addfile(), containermagic, tcontainerindex::end, magic, tcontainerindex::name, tnbufstream::readdata(), tnstream::readInt(), tnstream::readpchar(), tn_file_buf_stream::seek(), and tcontainerindex::start.

tncontainerstream::~tncontainerstream (  )  [virtual]

Definition at line 816 of file basestrm.cpp.


Member Function Documentation

void tncontainerstream::opencontainerfile ( const char *  name  ) 

Definition at line 755 of file basestrm.cpp.

References displayLogMessage(), tcontainerindex::name, tn_file_buf_stream::seek(), and stricmp.

Referenced by tn_c_lzw_filestream::tn_c_lzw_filestream().

int tncontainerstream::getcontainerfilesize ( const char *  name  ) 

Definition at line 741 of file basestrm.cpp.

References tcontainerindex::end, tcontainerindex::start, and stricmp.

int tncontainerstream::readcontainerdata ( void *  buf,
int  size,
bool  excpt = true 
)

Definition at line 776 of file basestrm.cpp.

References tcontainerindex::end, tcontainerindex::name, tnbufstream::readdata(), and tcontainerindex::start.

Referenced by tn_c_lzw_filestream::readcmpdata(), and tn_c_lzw_filestream::readdata().

void tncontainerstream::closecontainerfile ( void   ) 

Definition at line 794 of file basestrm.cpp.

Referenced by tn_c_lzw_filestream::~tn_c_lzw_filestream().

char * tncontainerstream::getfirstname ( void   ) 

Definition at line 799 of file basestrm.cpp.

References getnextname().

char * tncontainerstream::getnextname ( void   ) 

Definition at line 805 of file basestrm.cpp.

References tcontainerindex::name.

Referenced by getfirstname().


The documentation for this class was generated from the following files:
Generated on Mon May 21 01:47:53 2012 for Advanced Strategic Command by  doxygen 1.5.1