#include <backward.hpp>
Classes | |
struct | not_isempty |
struct | not_isspace |
Public Types | |
typedef std::vector< std::pair < unsigned, std::string > > | lines_t |
Public Member Functions | |
lines_t & | get_lines (unsigned line_start, unsigned line_count, lines_t &lines) |
lines_t | get_lines (unsigned line_start, unsigned line_count) |
bool | is_open () const |
SourceFile & | operator= (const SourceFile &from) |
SourceFile () | |
SourceFile (const std::string &path) | |
SourceFile (const SourceFile &from) | |
void | swap (SourceFile &b) |
Private Attributes | |
details::handle< std::ifstream *, details::default_delete < std::ifstream * > > | _file |
Definition at line 1487 of file backward.hpp.
typedef std::vector<std::pair<unsigned, std::string> > backward::SourceFile::lines_t |
Definition at line 1489 of file backward.hpp.
backward::SourceFile::SourceFile | ( | ) | [inline] |
Definition at line 1491 of file backward.hpp.
backward::SourceFile::SourceFile | ( | const std::string & | path | ) | [inline] |
Definition at line 1492 of file backward.hpp.
backward::SourceFile::SourceFile | ( | const SourceFile & | from | ) | [inline, explicit] |
Definition at line 1582 of file backward.hpp.
lines_t& backward::SourceFile::get_lines | ( | unsigned | line_start, |
unsigned | line_count, | ||
lines_t & | lines | ||
) | [inline] |
Definition at line 1495 of file backward.hpp.
lines_t backward::SourceFile::get_lines | ( | unsigned | line_start, |
unsigned | line_count | ||
) | [inline] |
Definition at line 1549 of file backward.hpp.
bool backward::SourceFile::is_open | ( | ) | const [inline] |
Definition at line 1493 of file backward.hpp.
SourceFile& backward::SourceFile::operator= | ( | const SourceFile & | from | ) | [inline] |
Definition at line 1586 of file backward.hpp.
void backward::SourceFile::swap | ( | SourceFile & | b | ) | [inline] |
Definition at line 1570 of file backward.hpp.
details::handle<std::ifstream*, details::default_delete<std::ifstream*> > backward::SourceFile::_file [private] |
Definition at line 1595 of file backward.hpp.