mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
33 lines
947 B
C
33 lines
947 B
C
![]() |
#ifndef _STRUCTCOLLECTIONSTATEFILE_H_
|
||
|
#define _STRUCTCOLLECTIONSTATEFILE_H_
|
||
|
|
||
|
#include <map>
|
||
|
#include "zip/ZipFile.h"
|
||
|
#include "StructFile.h"
|
||
|
#include "uint128.h"
|
||
|
|
||
|
class CStructCollectionStateFile : public CZipFile
|
||
|
{
|
||
|
public:
|
||
|
typedef std::map<std::string, CStructFile> StructMap;
|
||
|
typedef StructMap::const_iterator StructIterator;
|
||
|
|
||
|
CStructCollectionStateFile(const char*);
|
||
|
CStructCollectionStateFile(Framework::CStream&);
|
||
|
virtual ~CStructCollectionStateFile();
|
||
|
|
||
|
void InsertStruct(const char*, const CStructFile&);
|
||
|
void Read(Framework::CStream&);
|
||
|
virtual void Write(Framework::CStream&);
|
||
|
|
||
|
StructIterator GetStructBegin() const;
|
||
|
StructIterator GetStructEnd() const;
|
||
|
|
||
|
private:
|
||
|
typedef std::map<std::string, CStructFile> StructMap;
|
||
|
|
||
|
StructMap m_structs;
|
||
|
};
|
||
|
|
||
|
#endif
|