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 3540 of file backward.hpp.

Member Typedef Documentation

Definition at line 3542 of file backward.hpp.

Definition at line 3583 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 3564 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 3552 of file backward.hpp.

lines_t backward::SnippetFactory::get_snippet ( const std::string &  filename,
unsigned  line_start,
unsigned  context_size 
)
inline

Definition at line 3544 of file backward.hpp.

SourceFile& backward::SnippetFactory::get_src_file ( const std::string &  filename)
inlineprivate

Definition at line 3586 of file backward.hpp.

Member Data Documentation

src_files_t backward::SnippetFactory::_src_files
private

Definition at line 3584 of file backward.hpp.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:51