GNU Octave  3.8.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 | List of all members
HistoryType Class Reference

#include "History.h"

Inheritance diagram for HistoryType:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Definition at line 250 of file History.h.

Constructor & Destructor Documentation

HistoryType::HistoryType ( )

Definition at line 531 of file History.cpp.

HistoryType::~HistoryType ( )
virtual

Definition at line 535 of file History.cpp.

Member Function Documentation

virtual bool HistoryType::isEnabled ( ) const
pure virtual

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

Implemented in HistoryTypeBuffer, HistoryTypeFile, HistoryTypeBlockArray, and HistoryTypeNone.

bool HistoryType::isUnlimited ( ) const
inline

Returns true if the history size is unlimited.

Definition at line 264 of file History.h.

References maximumLineCount().

virtual int HistoryType::maximumLineCount ( ) const
pure 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.

Implemented in HistoryTypeBuffer, HistoryTypeFile, HistoryTypeBlockArray, and HistoryTypeNone.

Referenced by isUnlimited().

virtual HistoryScroll* HistoryType::scroll ( HistoryScroll ) const
pure virtual

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