#include <filecodec.h>
Inheritance diagram for FileCodec:
Public Member Functions | |
FileCodec (const std::string &rstrFiletypeName) | |
virtual | ~FileCodec () |
virtual int | LoadFileData (File *pkFile, int iSrcSize, void *pDest, int *piSize)=0 |
virtual bool | IsType (File *pkFile)=0 |
const std::string & | GetTypeName () const |
const std::vector< std::string > & | GetExtensions () const |
Public Attributes | |
ModulePtr | m_pkModule |
int | m_iFileFlag |
Protected Attributes | |
std::string | m_strTypeName |
std::vector< std::string > | m_vstrExtensions |
|
|
|
|
|
Loads data from file
|
|
Check if file is type (must NOT change file offset!)
|
|
|
|
|
|
Library module |
|
File flag we parse |
|
File type name |
|
File type extension |