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

#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_tget_lines (unsigned line_start, unsigned line_count, lines_t &lines)
 
lines_t get_lines (unsigned line_start, unsigned line_count)
 
bool is_open () const
 
SourceFileoperator= (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
 

Detailed Description

Definition at line 1487 of file backward.hpp.

Member Typedef Documentation

typedef std::vector<std::pair<unsigned, std::string> > backward::SourceFile::lines_t

Definition at line 1489 of file backward.hpp.

Constructor & Destructor Documentation

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

Definition at line 1582 of file backward.hpp.

Member Function Documentation

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.

Member Data Documentation

details::handle<std::ifstream*, details::default_delete<std::ifstream*> > backward::SourceFile::_file
private

Definition at line 1595 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