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

📄 devicerecord.cpp

📁 It s a tool designed to extract as much information as possible from Bluetooth devices without the r
💻 CPP
字号:
/* -*- c++ -*- ---------------------------------------------------------------   Copyright (C) 2005, SWECO, All Rights Reserved.   Implementation of DeviceRecord class   Author: Zsolt Molnar (Zsolt.Molnar@ieee.org)   ---------------------------------------------------------------------------*/#include <errno.h>#include "base.hh"#include "DeviceRecord.hh"namespace { 	const char rcs_id[] = "$Id$"; }istream& operator >> (istream& aStream, DeviceRecord& aDevRec){	aStream >> aDevRec.device.devID;    int tmp;	aStream >> tmp;    aDevRec.device.devType = (Device::tDeviceType) tmp;	aStream >> tmp;    aDevRec.state = (DeviceState) tmp;	return aStream;}ostream& operator << (ostream& aStream, DeviceRecord& aDevRec){	aStream << aDevRec.device.devID << endl << (int)aDevRec.device.devType 			<< endl << (int)aDevRec.state << endl;	return aStream;}

⌨️ 快捷键说明

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