initial commit

This commit is contained in:
alexeevdv
2015-02-13 16:59:11 +03:00
parent e7e6193f9a
commit 529598ef70
38 changed files with 6355 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
#pragma once
#ifndef NAMESPACE_H
#define NAMESPACE_H
#include "Hacks/CArchive.h"
#include "Hacks/CMap.h"
// CNamespace
class CNamespace : public CObject {
public:
CNamespace();
virtual ~CNamespace();
public:
virtual void Serialize(CArchive& ar);
public:
INT_PTR GetSize() const;
CString GetStringByIndex(INT_PTR nIndex) ;
ULONG GetOffsetByIndex(INT_PTR nIndex) ;
void Dump(CArchive& ar);
public:
CString operator [] (ULONG ulOffset) const;
private:
// CMapDWordToString
typedef CMap<DWORD, DWORD, CString, LPCTSTR> CMapDWordToString;
CMapDWordToString m_Map;
CDWordArray m_Order;
};
#endif