DataBase.h
资源名称:CAD.zip [点击查看]
上传用户:hehe2haha
上传日期:2013-08-16
资源大小:161k
文件大小:1k
源码类别:
CAD
开发平台:
Visual C++
- // DataBase.h: interface for the CDataBase class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DATABASE_H__B0925C71_8401_4AD9_A940_53879768216F__INCLUDED_)
- #define AFX_DATABASE_H__B0925C71_8401_4AD9_A940_53879768216F__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include"Array.h"
- #include"Shape.h"
- class CDataBase
- {
- public:
- CDataBase();
- virtual ~CDataBase();
- public:
- void SaveObject(ofstream &ofs,CShape* pShape);
- CShape * OpenObject(ifstream &ifs);
- public:
- CArray<CShape*> m_ArrayShape;
- CShape m_Shape;
- };
- #endif // !defined(AFX_DATABASE_H__B0925C71_8401_4AD9_A940_53879768216F__INCLUDED_)