24 #if ! defined (octave_file_info_h) 25 #define octave_file_info_h 1 27 #include "octave-config.h"
std::vector< size_t > m_offsets
std::vector< size_t > line_offsets(void) const
static std::string snarf_file(const std::string &fname)
static std::vector< size_t > get_line_offsets(const std::string &buf)
std::string get_line(size_t line) const
std::string text(void) const
std::deque< std::string > get_lines(size_t line, size_t num_lines) const
file_info & operator=(const file_info &)=default
file_info(const std::string &text, const sys::time ×tamp)
size_t num_lines(void) const
sys::time timestamp(void) const
file_info(const std::string &fname)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string