GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
HistoryScrollFile Class Reference

#include "History.h"

Inheritance diagram for HistoryScrollFile:
Inheritance graph
[legend]
Collaboration diagram for HistoryScrollFile:
Collaboration graph
[legend]

Public Member Functions

 HistoryScrollFile (const QString &logFileName)
 
virtual ~HistoryScrollFile ()
 
virtual void addCells (const Character a[], int count)
 
virtual void addCellsVector (const QVector< Character > &cells)
 
virtual void addLine (bool previousWrapped=false)
 
Character getCell (int lineno, int colno)
 
virtual void getCells (int lineno, int colno, int count, Character res[])
 
virtual int getLineLen (int lineno)
 
virtual int getLines ()
 
const HistoryTypegetType ()
 
virtual bool hasScroll ()
 
virtual bool isWrappedLine (int lineno)
 

Protected Attributes

HistoryTypem_histType
 

Private Member Functions

int startOfLine (int lineno)
 

Private Attributes

HistoryFile cells
 
HistoryFile index
 
HistoryFile lineflags
 
QString m_logFileName
 

Detailed Description

Definition at line 124 of file History.h.

Constructor & Destructor Documentation

HistoryScrollFile::HistoryScrollFile ( const QString &  logFileName)

Definition at line 210 of file History.cpp.

HistoryScrollFile::~HistoryScrollFile ( )
virtual

Definition at line 216 of file History.cpp.

Member Function Documentation

void HistoryScrollFile::addCells ( const Character  a[],
int  count 
)
virtual

Implements HistoryScroll.

Definition at line 261 of file History.cpp.

References HistoryFile::add(), and cells.

virtual void HistoryScroll::addCellsVector ( const QVector< Character > &  cells)
inlinevirtualinherited

Reimplemented in HistoryScrollBuffer.

Definition at line 100 of file History.h.

References HistoryScroll::addCells().

Referenced by Screen::addHistLine().

void HistoryScrollFile::addLine ( bool  previousWrapped = false)
virtual
Character HistoryScroll::getCell ( int  lineno,
int  colno 
)
inlineinherited

Definition at line 94 of file History.h.

References HistoryScroll::getCells().

void HistoryScrollFile::getCells ( int  lineno,
int  colno,
int  count,
Character  res[] 
)
virtual

Implements HistoryScroll.

Definition at line 256 of file History.cpp.

References cells, HistoryFile::get(), and startOfLine().

int HistoryScrollFile::getLineLen ( int  lineno)
virtual

Implements HistoryScroll.

Definition at line 225 of file History.cpp.

References startOfLine().

int HistoryScrollFile::getLines ( )
virtual

Implements HistoryScroll.

Definition at line 220 of file History.cpp.

References index, and HistoryFile::len().

Referenced by isWrappedLine(), and startOfLine().

const HistoryType& HistoryScroll::getType ( )
inlineinherited

Definition at line 112 of file History.h.

References HistoryScroll::m_histType.

Referenced by Screen::getScroll().

bool HistoryScroll::hasScroll ( )
virtualinherited

Reimplemented in HistoryScrollNone.

Definition at line 192 of file History.cpp.

Referenced by Screen::hasScroll().

bool HistoryScrollFile::isWrappedLine ( int  lineno)
virtual

Implements HistoryScroll.

Definition at line 230 of file History.cpp.

References HistoryFile::get(), getLines(), and lineflags.

int HistoryScrollFile::startOfLine ( int  lineno)
private

Member Data Documentation

HistoryFile HistoryScrollFile::cells
private

Definition at line 143 of file History.h.

Referenced by addCells(), addLine(), getCells(), and startOfLine().

HistoryFile HistoryScrollFile::index
private

Definition at line 142 of file History.h.

Referenced by addLine(), getLines(), and startOfLine().

HistoryFile HistoryScrollFile::lineflags
private

Definition at line 144 of file History.h.

Referenced by addLine(), and isWrappedLine().

HistoryType* HistoryScroll::m_histType
protectedinherited

Definition at line 115 of file History.h.

Referenced by HistoryScroll::getType(), and HistoryScroll::~HistoryScroll().

QString HistoryScrollFile::m_logFileName
private

Definition at line 141 of file History.h.


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