GNU Octave  4.2.1
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 | List of all members
HistoryTypeFile Class Reference

#include "History.h"

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

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 ( const QString &  fileName = QString())

Definition at line 646 of file History.cpp.

Member Function Documentation

const QString & HistoryTypeFile::getFileName ( ) const
virtual

Definition at line 656 of file History.cpp.

References m_fileName.

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 651 of file History.cpp.

bool HistoryType::isUnlimited ( ) const
inlineinherited

Returns true if the history size is unlimited.

Definition at line 264 of file History.h.

References HistoryType::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 693 of file History.cpp.

HistoryScroll * HistoryTypeFile::scroll ( HistoryScroll old) const
virtual

Member Data Documentation

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: