#pragma once

class CDataEntry
{
protected:
	int m_RunNumber;
	int m_DataType;
	int m_Version;
	int m_ObjectID;
	double m_Time;
	float m_PosX,m_PosY,m_PosZ;
	int m_Int1,m_Int2,m_Int3,m_Int4;
	float m_Float1,m_Float2,m_Float3,m_Float4;
	char *m_String;

public:
	CDataEntry (int run,int version,int type,double time);
	CDataEntry (int run,int version,int type,double time,int objid,float posx,float posy,float posz,int int1,int int2,int int3,int int4,float float1,float float2,float float3,float float4,const char *str);
	CDataEntry (const CDataEntry& p1);
	~CDataEntry (void);

	CDataEntry &operator= (const CDataEntry &p1);

	bool DumpData (HANDLE file) const;

	int RunNum (void) const
	{ return m_RunNumber; }
};

