CtrlCenter.h
资源名称:minisqlc.rar [点击查看]
上传用户:lkd6667
上传日期:2015-05-13
资源大小:1448k
文件大小:1k
源码类别:
其他数据库
开发平台:
C/C++
- #ifndef _CTRLCENTER_H_
- #define _CTRLCENTER_H_
- #include "BPTree.h"
- #include "Record.h"
- #include "Catalog.h"
- #include "Glob_Var.h"
- #include "Buffer.h"
- //////////////////////////////////////////////////////////////////////////////////
- void Create( TB_Create_Info& ); // create the date file and the index file
- void Select( TB_Select_Info& ); // select the date and print
- void Insert( TB_Insert_Info& ); // insert a new record and adjust the B+ tree
- void Update( TB_Update_Info& ); // update a record
- void Delete( TB_Delete_Info& ); // delete a record and adjust the B+ tree
- void Print(BPTree& tree, Select_Rec_Info& SelectRecInfo, // print the record
- bool IncludeMin, Key_Location min, bool IncludeMax, Key_Location max);
- void UpdateRec(BPTree & tree,Rec_Info & RecInfo, // update the record
- bool IncludeMin,Key_Location min,bool IncludeMax,Key_Location max);
- void Ctrl_DropTB(); // drop the table
- void Ctrl_DropDB(); // drop the database
- ////////////////////////////////////////////////////////////////////////////////////
- #endif //~