bpp-seq3  3.0.0
bpp::SwitchDeleter< T > Class Template Reference

#include <Bpp/Seq/Container/SequenceContainer.h>

Public Member Functions

 SwitchDeleter ()
 
void operator() (T *ptr) const
 
void on ()
 
void off ()
 
bool isOn () const
 

Private Attributes

bool doDelete_
 

Detailed Description

template<class T>
class bpp::SwitchDeleter< T >

Definition at line 187 of file SequenceContainer.h.

Constructor & Destructor Documentation

◆ SwitchDeleter()

template<class T >
bpp::SwitchDeleter< T >::SwitchDeleter ( )
inline

Definition at line 193 of file SequenceContainer.h.

Member Function Documentation

◆ isOn()

template<class T >
bool bpp::SwitchDeleter< T >::isOn ( ) const
inline

Definition at line 204 of file SequenceContainer.h.

References bpp::SwitchDeleter< T >::doDelete_.

◆ off()

template<class T >
void bpp::SwitchDeleter< T >::off ( )
inline

Definition at line 202 of file SequenceContainer.h.

References bpp::SwitchDeleter< T >::doDelete_.

◆ on()

template<class T >
void bpp::SwitchDeleter< T >::on ( )
inline

Definition at line 201 of file SequenceContainer.h.

References bpp::SwitchDeleter< T >::doDelete_.

◆ operator()()

template<class T >
void bpp::SwitchDeleter< T >::operator() ( T *  ptr) const
inline

Definition at line 196 of file SequenceContainer.h.

References bpp::SwitchDeleter< T >::doDelete_.

Member Data Documentation

◆ doDelete_


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