Skip to content

Commit

Permalink
Merge pull request #4 from MHesham/master
Browse files Browse the repository at this point in the history
Fix many serialization bugs
  • Loading branch information
Abdelrahman Elogeel authored and Abdelrahman Elogeel committed Mar 26, 2014
2 parents cda5b2d + 8e32c4c commit 4d595d3
Show file tree
Hide file tree
Showing 43 changed files with 363 additions and 1,317 deletions.
15 changes: 13 additions & 2 deletions ObjectSerializer/Include/Container.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,29 @@
#define CONTAINER_H

#ifndef SERIALIZABLE_H
#include "Serializable.h"
#include "ISerializable.h"
#endif

namespace Serialization
{
class Container : public Serializable
class Container : public ISerializable
{
public:
enum Cookie
{
DefaultCtor = 0xfeedbeef,
};

Container() : m_cookie(DefaultCtor), m_objID(++sm_lastSerializableObjID) {}

virtual int ContainerCount() = 0;
virtual void Clear() = 0;
virtual void AddTemp() = 0;
virtual char* GetTemp() = 0;

private:
Cookie m_cookie;
size_t m_objID;
};
}
#endif // CONTAINER_H
19 changes: 0 additions & 19 deletions ObjectSerializer/Include/Container/Container.h

This file was deleted.

93 changes: 0 additions & 93 deletions ObjectSerializer/Include/Container/SMap.h

This file was deleted.

36 changes: 0 additions & 36 deletions ObjectSerializer/Include/Container/SPair.h

This file was deleted.

78 changes: 0 additions & 78 deletions ObjectSerializer/Include/Container/SSet.h

This file was deleted.

85 changes: 0 additions & 85 deletions ObjectSerializer/Include/Container/SVector.h

This file was deleted.

50 changes: 0 additions & 50 deletions ObjectSerializer/Include/File Manager/EXCLUDE.H

This file was deleted.

Loading

0 comments on commit 4d595d3

Please sign in to comment.