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 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<typename T>
class octave_refcount< T >

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

Member Typedef Documentation

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

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

Member Data Documentation

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

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