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 | Private Attributes | List of all members
octave_handle Class Reference

#include "oct-handle.h"

Collaboration diagram for octave_handle:
Collaboration graph
[legend]

Public Member Functions

 octave_handle (void)
 
 octave_handle (const octave_value &a)
 
 octave_handle (int a)
 
 octave_handle (double a)
 
 octave_handle (const octave_handle &a)
 
 ~octave_handle (void)
 
octave_value as_octave_value (void) const
 
bool ok (void) const
 
octave_handleoperator++ (void)
 
const octave_handle operator++ (int)
 
octave_handleoperator-- (void)
 
const octave_handle operator-- (int)
 
octave_handleoperator= (const octave_handle &a)
 
double value (void) const
 

Private Attributes

double val
 

Detailed Description

Definition at line 35 of file oct-handle.h.

Constructor & Destructor Documentation

octave_handle::octave_handle ( void  )
inline

Definition at line 38 of file oct-handle.h.

octave_handle::octave_handle ( const octave_value a)
inline

Definition at line 40 of file oct-handle.h.

References octave_value::double_value(), e, error(), octave_value::is_empty(), and val.

octave_handle::octave_handle ( int  a)
inline

Definition at line 58 of file oct-handle.h.

octave_handle::octave_handle ( double  a)
inline

Definition at line 60 of file oct-handle.h.

octave_handle::octave_handle ( const octave_handle a)
inline

Definition at line 62 of file oct-handle.h.

octave_handle::~octave_handle ( void  )
inline

Definition at line 72 of file oct-handle.h.

Member Function Documentation

octave_value octave_handle::as_octave_value ( void  ) const
inline
bool octave_handle::ok ( void  ) const
inline
octave_handle& octave_handle::operator++ ( void  )
inline

Definition at line 82 of file oct-handle.h.

References val.

const octave_handle octave_handle::operator++ ( int  )
inline

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

octave_handle& octave_handle::operator-- ( void  )
inline

Definition at line 88 of file oct-handle.h.

References val.

const octave_handle octave_handle::operator-- ( int  )
inline

Definition at line 102 of file oct-handle.h.

octave_handle& octave_handle::operator= ( const octave_handle a)
inline

Definition at line 64 of file oct-handle.h.

References val.

double octave_handle::value ( void  ) const
inline

Member Data Documentation

double octave_handle::val
private

Definition at line 112 of file oct-handle.h.

Referenced by as_octave_value(), octave_handle(), ok(), operator++(), operator--(), operator=(), and value().


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