BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlc::CompactedArray_RemoveAllProctor< TYPE > Class Template Reference

#include <bdlc_compactedarray.h>

Public Member Functions

 CompactedArray_RemoveAllProctor (CompactedArray< TYPE > *array)
 
 ~CompactedArray_RemoveAllProctor ()
 
void release ()
 

Detailed Description

template<class TYPE>
class bdlc::CompactedArray_RemoveAllProctor< TYPE >

This class implements a proctor that, unless its release method has previously been invoked, automatically invokes removeAll on a CompactedArray upon destruction.

See bdlc_compactedarray

Constructor & Destructor Documentation

◆ CompactedArray_RemoveAllProctor()

template<class TYPE >
bdlc::CompactedArray_RemoveAllProctor< TYPE >::CompactedArray_RemoveAllProctor ( CompactedArray< TYPE > *  array)
inline

Create a removeAll proctor that conditionally manages the specified array (if non-zero).

◆ ~CompactedArray_RemoveAllProctor()

template<class TYPE >
bdlc::CompactedArray_RemoveAllProctor< TYPE >::~CompactedArray_RemoveAllProctor ( )
inline

Destroy this object and, if release has not been invoked, invoke the managed array's removeAll method.

Member Function Documentation

◆ release()

template<class TYPE >
void bdlc::CompactedArray_RemoveAllProctor< TYPE >::release ( )
inline

Release from management the array currently managed by this proctor. If no array, this method has no effect.


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