Class SourceFile

Nested Relationships

Nested Types

Class Documentation

class SourceFile

Public Types

typedef std::vector<std::pair<unsigned, std::string>> lines_t

Public Functions

inline SourceFile()
inline SourceFile(const std::string &path)
inline bool is_open() const
inline lines_t &get_lines(unsigned line_start, unsigned line_count, lines_t &lines)
inline lines_t get_lines(unsigned line_start, unsigned line_count)
inline void swap(SourceFile &b)
inline explicit SourceFile(const SourceFile &from)
inline SourceFile &operator=(const SourceFile &from)
struct not_isempty

Public Functions

inline bool operator()(const lines_t::value_type &p)
struct not_isspace

Public Functions

inline bool operator()(char c)