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 | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
octave_chunk_buffer Class Reference

#include "oct-locbuf.h"

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

Public Member Functions

OCTAVE_API octave_chunk_buffer (size_t size)
 
virtual OCTAVE_API ~octave_chunk_buffer (void)
 
chardata (void) const
 

Static Public Member Functions

static OCTAVE_API void clear (void)
 

Private Member Functions

 octave_chunk_buffer (const octave_chunk_buffer &)
 
octave_chunk_bufferoperator= (const octave_chunk_buffer &)
 

Private Attributes

charcnk
 
chardat
 

Static Private Attributes

static size_t active = 0
 
static charchunk = 0
 
static const size_t chunk_size
 
static size_t left = 0
 
static chartop = 0
 

Detailed Description

Definition at line 67 of file oct-locbuf.h.

Constructor & Destructor Documentation

octave_chunk_buffer::octave_chunk_buffer ( size_t  size)

Definition at line 48 of file oct-locbuf.cc.

References active, chunk, chunk_size, cnk, dat, left, size(), and top.

octave_chunk_buffer::~octave_chunk_buffer ( void  )
virtual

Definition at line 94 of file oct-locbuf.cc.

References active, chunk, chunk_size, cnk, dat, left, and top.

octave_chunk_buffer::octave_chunk_buffer ( const octave_chunk_buffer )
private

Member Function Documentation

void octave_chunk_buffer::clear ( void  )
static

Definition at line 132 of file oct-locbuf.cc.

References active, chunk, left, and top.

Referenced by do_octave_atexit().

char* octave_chunk_buffer::data ( void  ) const
inline

Definition at line 75 of file oct-locbuf.h.

References dat.

octave_chunk_buffer& octave_chunk_buffer::operator= ( const octave_chunk_buffer )
private

Member Data Documentation

size_t octave_chunk_buffer::active = 0
staticprivate

Definition at line 95 of file oct-locbuf.h.

Referenced by clear(), octave_chunk_buffer(), and ~octave_chunk_buffer().

char * octave_chunk_buffer::chunk = 0
staticprivate

Definition at line 89 of file oct-locbuf.h.

Referenced by clear(), octave_chunk_buffer(), and ~octave_chunk_buffer().

const size_t octave_chunk_buffer::chunk_size
staticprivate
Initial value:
=
static_cast<size_t> ( 32 ) << 20

Definition at line 83 of file oct-locbuf.h.

Referenced by octave_chunk_buffer(), and ~octave_chunk_buffer().

char* octave_chunk_buffer::cnk
private

Definition at line 98 of file oct-locbuf.h.

Referenced by octave_chunk_buffer(), and ~octave_chunk_buffer().

char* octave_chunk_buffer::dat
private

Definition at line 101 of file oct-locbuf.h.

Referenced by data(), octave_chunk_buffer(), and ~octave_chunk_buffer().

size_t octave_chunk_buffer::left = 0
staticprivate

Definition at line 92 of file oct-locbuf.h.

Referenced by clear(), octave_chunk_buffer(), and ~octave_chunk_buffer().

char * octave_chunk_buffer::top = 0
staticprivate

Definition at line 86 of file oct-locbuf.h.

Referenced by clear(), octave_chunk_buffer(), and ~octave_chunk_buffer().


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