Blender  V3.3
Public Member Functions | List of all members
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 libmv::scoped_array< T >::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 ( void  )
inline

Definition at line 85 of file scoped_ptr.h.

References NULL, and T.

◆ reset()

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

Definition at line 78 of file scoped_ptr.h.

References T.

Referenced by libmv::scoped_array< T >::~scoped_array().


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