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 | Protected Attributes | List of all members
HistoryTypeBuffer Class Reference

#include "History.h"

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

Public Member Functions

 HistoryTypeBuffer (unsigned int nbLines)
virtual bool isEnabled () const
 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
 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

Protected Attributes

unsigned int m_nbLines

Detailed Description

Definition at line 316 of file History.h.

Constructor & Destructor Documentation

HistoryTypeBuffer::HistoryTypeBuffer ( unsigned int  nbLines)

Definition at line 587 of file History.cpp.

Member Function Documentation

bool HistoryTypeBuffer::isEnabled ( ) const
virtual

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

Implements HistoryType.

Definition at line 592 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 HistoryTypeBuffer::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 597 of file History.cpp.

References m_nbLines.

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

Member Data Documentation

unsigned int HistoryTypeBuffer::m_nbLines
protected

Definition at line 327 of file History.h.

Referenced by maximumLineCount(), and scroll().


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