Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches
CArrayPtr< ITEM > Class Template Reference

#include <ArrayPtr.hpp>

Public Member Functions

 CArrayPtr (ITEM *pItem=NULL)
 CArrayPtr (UINT uCount)
 ~CArrayPtr ()
BOOL Alloc (UINT uCount)
void Free ()
 operator ITEM * () const
ITEM * Get () const

Detailed Description

template<class ITEM>
class CArrayPtr< ITEM >

Definition at line 33 of file ArrayPtr.hpp.

Constructor & Destructor Documentation

◆ CArrayPtr() [1/2]

template<class ITEM>
CArrayPtr< ITEM >::CArrayPtr ( ITEM * pItem = NULL)
inline

Definition at line 89 of file ArrayPtr.hpp.

References ASSERT_NOTONSTACK.

◆ CArrayPtr() [2/2]

template<class ITEM>
CArrayPtr< ITEM >::CArrayPtr ( UINT uCount)
inline

Definition at line 101 of file ArrayPtr.hpp.

References Alloc().

◆ ~CArrayPtr()

template<class ITEM>
CArrayPtr< ITEM >::~CArrayPtr ( )
inline

Definition at line 113 of file ArrayPtr.hpp.

References ~CArrayPtr().

Referenced by ~CArrayPtr().

Member Function Documentation

◆ Alloc()

template<class ITEM>
BOOL CArrayPtr< ITEM >::Alloc ( UINT uCount)
inline

Definition at line 125 of file ArrayPtr.hpp.

References Free(), and TRUE.

Referenced by CArrayPtr().

◆ Free()

template<class ITEM>
void CArrayPtr< ITEM >::Free ( )
inline

Definition at line 204 of file ArrayPtr.hpp.

Referenced by Alloc().

◆ Get()

template<class ITEM>
ITEM * CArrayPtr< ITEM >::Get ( ) const
inline

Definition at line 215 of file ArrayPtr.hpp.

Referenced by operator ITEM *().

◆ operator ITEM *()

template<class ITEM>
CArrayPtr< ITEM >::operator ITEM * ( ) const
inline

Definition at line 238 of file ArrayPtr.hpp.

References Get().


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