Searched refs:DataHandler (Results 1 – 4 of 4) sorted by relevance
28 using DataHandler = std::function<bool(std::string &line)>;29 static bool ReadFileByLine(const std::string &filePath, const DataHandler &func);
31 using DataHandler = std::function<void(const std::string& content)>; variable32 …tringFromProcCb(const std::string& path, bool oneLine, bool lineEndWithN, const DataHandler& func);
31 bool FileHelper::ReadFileByLine(const std::string &filePath, const DataHandler &func) in ReadFileByLine()
54 …dStringFromProcCb(const std::string& path, bool oneLine, bool endWithoutN, const DataHandler& func) in LoadStringFromProcCb()