// Data.h: interface for the CData class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_DATA_H__D8697E24_C2EF_4D42_B668_D2710BB92A2A__INCLUDED_) #define AFX_DATA_H__D8697E24_C2EF_4D42_B668_D2710BB92A2A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 /////////////////// #include "Bit.h" /////////////////// class CData // this class defines data as an aray of bits (Cbit class) { public: int size;// length of this Cdata object =number of bits in this object. CBit* bit; // Data includes a string of bits CData(int BitSize=0,int ChipSize=0,int SubChipSize=0);// the constructor of this object to allocate necessary memory for bits, chips, and subchips. virtual ~CData();// the deconstructor of this object to release all memory alocated for. }; #endif // !defined(AFX_DATA_H__D8697E24_C2EF_4D42_B668_D2710BB92A2A__INCLUDED_)