depotdata.h
来自「mico_example_siegel c源代码」· C头文件 代码 · 共 31 行
H
31 行
#ifndef DEPOTDATA_H#define DEPOTDATA_H/* #include <### Central interface header file> */#include <Central.h>#include <fstream.h>// The depot stores all info about the products as a binary tree// This is the basic tree nodeclass TreeNode {public: TreeNode *m_left, *m_right; AStore::ItemInfo m_item; TreeNode() : m_left(0), m_right(0) {}};class DepotData { TreeNode *m_root;/* virtual unsigned long LocateNode(const POS::Barcode bc, TreeNode * &ret_node); */ virtual unsigned long LocateNode(const char* bc, TreeNode * &ret_node);public: DepotData() : m_root(0) {};/* virtual unsigned long Locate(const POS::Barcode bc,AStore::ItemInfo &i); */ virtual unsigned long Locate(const char* bc,AStore::ItemInfo &i); virtual void Insert(const AStore::ItemInfo &i);};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?