Blender V4.3
libmv::scoped_array< T > Class Template Reference

#include <scoped_ptr.h>

Public Member Functions

 scoped_array (T *array)
 
 ~scoped_array ()
 
Tget () const
 
Toperator[] (std::ptrdiff_t i) const
 
void reset (T *new_array)
 
Trelease ()
 

Detailed Description

template<typename T>
class libmv::scoped_array< T >

Definition at line 65 of file scoped_ptr.h.

Constructor & Destructor Documentation

◆ scoped_array()

template<typename T >
libmv::scoped_array< T >::scoped_array ( T * array)
inline

Definition at line 67 of file scoped_ptr.h.

◆ ~scoped_array()

template<typename T >
libmv::scoped_array< T >::~scoped_array ( )
inline

Definition at line 68 of file scoped_ptr.h.

References NULL, and reset().

Member Function Documentation

◆ get()

template<typename T >
T * libmv::scoped_array< T >::get ( ) const
inline

Definition at line 70 of file scoped_ptr.h.

◆ operator[]()

template<typename T >
T & libmv::scoped_array< T >::operator[] ( std::ptrdiff_t i) const
inline

Definition at line 72 of file scoped_ptr.h.

References NULL.

◆ release()

template<typename T >
T * libmv::scoped_array< T >::release ( )
inline

Definition at line 85 of file scoped_ptr.h.

References NULL.

◆ reset()

template<typename T >
void libmv::scoped_array< T >::reset ( T * new_array)
inline

Definition at line 78 of file scoped_ptr.h.


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