⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 depotdata.h

📁 mico_example_siegel c源代码
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -