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 Types | Public Member Functions | Private Attributes | List of all members
octave_refcount< T > Class Template Reference

#include "oct-refcount.h"

Collaboration diagram for octave_refcount< T >:
Collaboration graph
[legend]

Public Types

typedef T count_type

Public Member Functions

 octave_refcount (count_type initial_count)
count_typeget (void)
 operator count_type (void) const
count_type operator++ (void)
count_type operator++ (int)
count_type operator-- (void)
count_type operator-- (int)

Private Attributes

count_type count

Detailed Description

template<class T>
class octave_refcount< T >

Definition at line 52 of file oct-refcount.h.

Member Typedef Documentation

template<class T>
typedef T octave_refcount< T >::count_type

Definition at line 55 of file oct-refcount.h.

Constructor & Destructor Documentation

template<class T>
octave_refcount< T >::octave_refcount ( count_type  initial_count)
inline

Definition at line 57 of file oct-refcount.h.

Member Function Documentation

template<class T>
count_type* octave_refcount< T >::get ( void  )
inline

Definition at line 85 of file oct-refcount.h.

Referenced by Array< octave_value >::jit_ref_count().

template<class T>
octave_refcount< T >::operator count_type ( void  ) const
inline

Definition at line 80 of file oct-refcount.h.

template<class T>
count_type octave_refcount< T >::operator++ ( void  )
inline

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

template<class T>
count_type octave_refcount< T >::operator++ ( int  )
inline

Definition at line 65 of file oct-refcount.h.

template<class T>
count_type octave_refcount< T >::operator-- ( void  )
inline

Definition at line 70 of file oct-refcount.h.

template<class T>
count_type octave_refcount< T >::operator-- ( int  )
inline

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

Member Data Documentation

template<class T>
count_type octave_refcount< T >::count
private

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