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

📄 devicecache.hh

📁 It s a tool designed to extract as much information as possible from Bluetooth devices without the r
💻 HH
字号:
/* -*- c++ -*- ---------------------------------------------------------------   Copyright (C) 2005, SWECO, All Rights Reserved.   A simple priority cache for device info.   $Id$   Author: Zsolt Molnar (Zsolt.Molnar@ieee.org)   ---------------------------------------------------------------------------*/#ifndef __DEVICECACHE_HH__#define __DEVICECACHE_HH__#include "base.hh"#include "DeviceRecord.hh"#include "Cache.hh"#ifdef _cplusplusextern "C" {#endifclass DeviceCache : virtual public Cache<DeviceRecord>{public:	// Construct/destruct/copy	DeviceCache(const size_t aMaxSize,				const string& aDbID) : Cache<DeviceRecord>(aMaxSize),									   _fileName(aDbID) {};	virtual ~DeviceCache() {};	virtual void  setMaxSize ( const size_t aMaxSize );	bool save();	bool load();private:	string _fileName;#ifdef __TEST__public:		bool test();#endif // #ifdef __TEST__};#ifdef _cplusplus}#endif#endif  // #ifndef __DEVICECACHE_HH__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -