GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
HistoryTypeFile Class Reference

#include "History.h"

Inheritance diagram for HistoryTypeFile:
Collaboration diagram for HistoryTypeFile:

Public Member Functions

 HistoryTypeFile (const QString &fileName=QString())
 
virtual const QString & getFileName () const
 
virtual bool isEnabled () const
 Returns true if the history is enabled ( can store lines of output ) or false otherwise. More...
 
bool isUnlimited () const
 Returns true if the history size is unlimited. More...
 
virtual int maximumLineCount () const
 Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines. More...
 
virtual HistoryScrollscroll (HistoryScroll *) const
 

Protected Attributes

QString m_fileName
 

Detailed Description

Definition at line 300 of file History.h.

Constructor & Destructor Documentation

◆ HistoryTypeFile()

HistoryTypeFile::HistoryTypeFile ( const QString &  fileName = QString())

Definition at line 647 of file History.cpp.

Member Function Documentation

◆ getFileName()

const QString & HistoryTypeFile::getFileName ( ) const
virtual

Definition at line 657 of file History.cpp.

References m_fileName.

◆ isEnabled()

bool HistoryTypeFile::isEnabled ( ) const
virtual

Returns true if the history is enabled ( can store lines of output ) or false otherwise.

Implements HistoryType.

Definition at line 652 of file History.cpp.

◆ isUnlimited()

bool HistoryType::isUnlimited ( ) const
inlineinherited

Returns true if the history size is unlimited.

Definition at line 264 of file History.h.

References HistoryType::maximumLineCount().

◆ maximumLineCount()

int HistoryTypeFile::maximumLineCount ( ) const
virtual

Returns the maximum number of lines which this history type can store or 0 if the history can store an unlimited number of lines.

Implements HistoryType.

Definition at line 694 of file History.cpp.

◆ scroll()

Member Data Documentation

◆ m_fileName

QString HistoryTypeFile::m_fileName
protected

Definition at line 312 of file History.h.

Referenced by getFileName(), and scroll().


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