--- /dev/null
+/*
+ * ObjectFile.cpp
+ *
+ * Created on: Sep 15, 2012
+ * Author: holy
+ */
+
+#include "ObjectFile.h"
+
+namespace loader {
+
+ObjectFileHeader::ObjectFileHeader()
+: versionId(FORMAT_ID)
+, exportsBegin(0)
+, exportsEnd(0)
+, externalsBegin(0)
+, externalsEnd(0)
+, exportStringsBegin(0)
+, exportStringsEnd(0)
+, externalStringsBegin(0)
+, externalStringsEnd(0)
+, imagesBegin(0)
+, imagesEnd(0)
+, objectsBegin(0)
+, objectsEnd(0) {
+ ident[0] = 'L';
+ ident[1] = '2';
+ ident[2] = 'E';
+ ident[3] = '\n';
+}
+
+LoadedObjectFile::LoadedObjectFile()
+: allocPtr(0)
+, fileHeader(0)
+, typeOffsetsBegin(0)
+, typeOffsetsEnd(0)
+, exportsBegin(0)
+, exportsEnd(0)
+, externalsBegin(0)
+, externalsEnd(0)
+, exportStringsBegin(0)
+, exportStringsEnd(0)
+, externalStringsBegin(0)
+, externalStringsEnd(0)
+, imagesBegin(0)
+, imagesEnd(0)
+, objectsBegin(0)
+, objectsEnd(0)
+, surfaces(0)
+, surfaceCount(0) {
+
+}
+
+}