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

📄 filereader.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.   Read a file line by line   $Id$   Author: Zsolt Molnar (Zsolt.Molnar@ieee.org)   ---------------------------------------------------------------------------*/#ifndef __FILEREADER_HH__#define __FILEREADER_HH__#include <string>#include <fstream>#include "base.hh"// The default length of line reading buffer#define FR_DEF_BUFLEN 1024#ifdef _cplusplusextern "C" {#endifclass FileReader {public:	FileReader(const string& aFileName);	virtual ~FileReader(); 	string nextLine();	string nextNotEmptyLine();	bool isEnd();	void close();	void remove();private:	ifstream _file;	string   _fileName;	static size_t _bufLen;	#ifdef __TEST__public:		static bool test();#endif // #ifdef __TEST__};#ifdef _cplusplus}#endif#endif /* #ifndef __FILEREADER_HH__ */   

⌨️ 快捷键说明

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