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

◆ lines_t

Definition at line 3542 of file backward.hpp.

◆ src_files_t

Definition at line 3583 of file backward.hpp.

Member Function Documentation

◆ get_coalesced_snippet()

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.

◆ get_combined_snippet()

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.

◆ get_snippet()

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.

◆ get_src_file()

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

Definition at line 3586 of file backward.hpp.

Member Data Documentation

◆ _src_files

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 Mon Nov 11 2024 03:23:51