DeleteVisitor executes the destructor of the instantiated object. More...
Public Member Functions | |
template < typename LayerType > | |
std::enable_if< !HasModelCheck< LayerType >::value, void >::type | operator() (LayerType *layer) const |
Execute the destructor if the layer does not hold layers internally. More... | |
template < typename LayerType > | |
std::enable_if< HasModelCheck< LayerType >::value, void >::type | operator() (LayerType *layer) const |
Execute the destructor if the layer does hold layers internally. More... | |
void | operator() (MoreTypes layer) const |
DeleteVisitor executes the destructor of the instantiated object.
Definition at line 27 of file delete_visitor.hpp.
std::enable_if< !HasModelCheck<LayerType>::value, void>::type operator() | ( | LayerType * | layer | ) | const |
Execute the destructor if the layer does not hold layers internally.
std::enable_if< HasModelCheck<LayerType>::value, void>::type operator() | ( | LayerType * | layer | ) | const |
Execute the destructor if the layer does hold layers internally.
void operator() | ( | MoreTypes | layer | ) | const |