mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
30 lines
749 B
C++
30 lines
749 B
C++
#ifndef _STRUCTCOLLECTIONSTATEFILE_H_
|
|
#define _STRUCTCOLLECTIONSTATEFILE_H_
|
|
|
|
#include <map>
|
|
#include "zip/ZipFile.h"
|
|
#include "StructFile.h"
|
|
#include "uint128.h"
|
|
|
|
class CStructCollectionStateFile : public Framework::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:
|
|
StructMap m_structs;
|
|
};
|
|
|
|
#endif
|