ocra-recipes
Doxygen documentation for the ocra-recipes repository
|
Base class for the Leaf class of the Composite pattern. More...
#include <Composite.h>
Public Types | |
typedef LeafDerived | leaf_t |
Protected Member Functions | |
Leaf () | |
~Leaf () | |
void | printTree_impl (int depth, std::ostream &os) const |
Base class for the Leaf class of the Composite pattern.
See the wikipedia article about the Composite design pattern for more information.
This class does nothing except allowing discrimination between leaves and other kind of nodes.
LeafDerived | is the type of the leaves. |
Definition at line 774 of file Composite.h.
typedef LeafDerived ocra::Leaf< LeafDerived >::leaf_t |
Definition at line 777 of file Composite.h.
|
inlineprotected |
Definition at line 780 of file Composite.h.
|
inlineprotected |
Definition at line 795 of file Composite.h.
|
inlineprotected |
Definition at line 797 of file Composite.h.