Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

ps
Class CFilePacker

   in FilePacker.h
   in FilePacker.cpp

class CFilePacker


Field Summary
private std::vector< u8 > m_Data
          
 
Constructor Summary
CFilePacker( u32 version, const char magicstr[ 4] )
          Write: write out to file all packed data added so far
 
Method Summary
 void PackRaw( const void* rawdata, u32 rawdatalen )
          PackString: pack a string onto the end of the data stream
 void PackString( const CStr& str )
          
 void Write( const char* filename )
          PackRaw: pack given number of bytes onto the end of the data stream
 

Field Detail

m_Data

private std::vector< u8 > m_Data;


Constructor Detail

CFilePacker

public CFilePacker( u32 version, const char magicstr[ 4] );
Write: write out to file all packed data added so far


Method Detail

PackRaw

public void PackRaw( const void* rawdata, u32 rawdatalen );
PackString: pack a string onto the end of the data stream

PackString

public void PackString( const CStr& str );

Write

public void Write( const char* filename );
PackRaw: pack given number of bytes onto the end of the data stream

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD