#ifndef SOURCETOOLS_READ_READ_H #define SOURCETOOLS_READ_READ_H #include #include #include namespace sourcetools { inline bool read(const std::string& absolutePath, std::string* pContent) { return detail::MemoryMappedReader::read(absolutePath.c_str(), pContent); } inline bool read_lines(const std::string& absolutePath, std::vector* pLines) { return detail::MemoryMappedReader::read_lines(absolutePath.c_str(), pLines); } } // namespace sourcetools #endif /* SOURCETOOLS_READ_READ_H */