Canopy  1.0
The header-only random forests library
List of all members
canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::derivedProxy Class Reference

Proxy for the derived class. More...

#include <randomForestBase.hpp>

Inheritance diagram for canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::derivedProxy:
Inheritance graph
[legend]
Collaboration diagram for canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::derivedProxy:
Collaboration graph
[legend]

Detailed Description

template<class TDerived, class TLabel, class TNodeDist, class TOutputDist, unsigned TNumParams>
class canopy::randomForestBase< TDerived, TLabel, TNodeDist, TOutputDist, TNumParams >::derivedProxy

Proxy for the derived class.

The proxy trick allows the interface functions within randomForestBase to access protected members of the TDerived class via a static_cast to a derivedProxy pointer, thus allowing member functions of the derived class to be marked as protected.


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