Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
backward::SnippetFactory Class Reference

#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

SourceFileget_src_file (const std::string &filename)
 

Private Attributes

src_files_t _src_files
 

Detailed Description

Definition at line 1603 of file backward.hpp.

Member Typedef Documentation

Definition at line 1605 of file backward.hpp.

Definition at line 1650 of file backward.hpp.

Member Function Documentation

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)
inlineprivate

Definition at line 1653 of file backward.hpp.

Member Data Documentation

src_files_t backward::SnippetFactory::_src_files
private

Definition at line 1651 of file backward.hpp.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:19