Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::MacOSX::Util::ScopedArray< T > Class Template Reference

template<class T>
class ROOT::MacOSX::Util::ScopedArray< T >

Definition at line 327 of file CocoaUtils.h.

Public Member Functions

 ScopedArray (T *p=0)
 
 ~ScopedArray ()
 
T * Get () const
 
T & operator[] (std::ptrdiff_t index) const
 
T * Release ()
 
void Reset (T *p)
 

Private Member Functions

 ScopedArray (const ScopedArray &rhs)
 
ScopedArrayoperator= (const ScopedArray &rhs)
 

Private Attributes

T * fData
 

#include <CocoaUtils.h>

Constructor & Destructor Documentation

◆ ScopedArray() [1/2]

template<class T>
ROOT::MacOSX::Util::ScopedArray< T >::ScopedArray ( T *  p = 0)
inlineexplicit

Definition at line 329 of file CocoaUtils.h.

◆ ~ScopedArray()

template<class T>
ROOT::MacOSX::Util::ScopedArray< T >::~ScopedArray ( )
inline

Definition at line 334 of file CocoaUtils.h.

◆ ScopedArray() [2/2]

template<class T>
ROOT::MacOSX::Util::ScopedArray< T >::ScopedArray ( const ScopedArray< T > &  rhs)
private

Member Function Documentation

◆ Get()

template<class T>
T* ROOT::MacOSX::Util::ScopedArray< T >::Get ( ) const
inline

Definition at line 358 of file CocoaUtils.h.

◆ operator=()

template<class T>
ScopedArray& ROOT::MacOSX::Util::ScopedArray< T >::operator= ( const ScopedArray< T > &  rhs)
private

◆ operator[]()

template<class T>
T& ROOT::MacOSX::Util::ScopedArray< T >::operator[] ( std::ptrdiff_t  index) const
inline

Definition at line 353 of file CocoaUtils.h.

◆ Release()

template<class T>
T* ROOT::MacOSX::Util::ScopedArray< T >::Release ( )
inline

Definition at line 346 of file CocoaUtils.h.

◆ Reset()

template<class T>
void ROOT::MacOSX::Util::ScopedArray< T >::Reset ( T *  p)
inline

Definition at line 339 of file CocoaUtils.h.

Member Data Documentation

◆ fData

template<class T>
T* ROOT::MacOSX::Util::ScopedArray< T >::fData
private

Definition at line 364 of file CocoaUtils.h.


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