#include <backward.hpp>
Public Types | |
typedef SourceFile::lines_t | lines_t |
Public Member Functions | |
lines_t | get_coalesced_snippet (const std::string &filename, unsigned line_a, unsigned line_b, unsigned context_size) |
lines_t | get_combined_snippet (const std::string &filename_a, unsigned line_a, const std::string &filename_b, unsigned line_b, unsigned context_size) |
lines_t | get_snippet (const std::string &filename, unsigned line_start, unsigned context_size) |
Private Types | |
typedef details::hashtable < std::string, SourceFile > ::type | src_files_t |
Private Member Functions | |
SourceFile & | get_src_file (const std::string &filename) |
Private Attributes | |
src_files_t | _src_files |
Definition at line 1603 of file backward.hpp.
Definition at line 1605 of file backward.hpp.
typedef details::hashtable<std::string, SourceFile>::type backward::SnippetFactory::src_files_t [private] |
Definition at line 1650 of file backward.hpp.
lines_t backward::SnippetFactory::get_coalesced_snippet | ( | const std::string & | filename, |
unsigned | line_a, | ||
unsigned | line_b, | ||
unsigned | context_size | ||
) | [inline] |
Definition at line 1629 of file backward.hpp.
lines_t backward::SnippetFactory::get_combined_snippet | ( | const std::string & | filename_a, |
unsigned | line_a, | ||
const std::string & | filename_b, | ||
unsigned | line_b, | ||
unsigned | context_size | ||
) | [inline] |
Definition at line 1615 of file backward.hpp.
lines_t backward::SnippetFactory::get_snippet | ( | const std::string & | filename, |
unsigned | line_start, | ||
unsigned | context_size | ||
) | [inline] |
Definition at line 1607 of file backward.hpp.
SourceFile& backward::SnippetFactory::get_src_file | ( | const std::string & | filename | ) | [inline, private] |
Definition at line 1653 of file backward.hpp.
Definition at line 1651 of file backward.hpp.