GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::refcount< T > Class Template Reference

#include "oct-refcount.h"

Collaboration diagram for octave::refcount< T >:

Public Types

typedef T count_type
 

Public Member Functions

 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)
 
count_type value (void) const
 

Private Attributes

count_type count
 

Detailed Description

template<typename T>
class octave::refcount< T >

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

Member Typedef Documentation

◆ count_type

template<typename T>
typedef T octave::refcount< T >::count_type

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

Constructor & Destructor Documentation

◆ refcount()

template<typename T>
octave::refcount< T >::refcount ( count_type  initial_count)
inline

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

Member Function Documentation

◆ get()

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

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

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

◆ operator count_type()

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

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

◆ operator++() [1/2]

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

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

◆ operator++() [2/2]

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

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

◆ operator--() [1/2]

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

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

◆ operator--() [2/2]

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

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

◆ value()

template<typename T>
count_type octave::refcount< T >::value ( void  ) const
inline

Member Data Documentation

◆ count


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