Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::TreeClassificationEvent< T, I, C > Class Template Reference

#include <TreeClassifier.h>

List of all members.


Detailed Description

template<class T, class I = string, class C = int>
class prapi::TreeClassificationEvent< T, I, C >

An event for informing interested listeners of the state of the Tree Classification.


Public Methods

 TreeClassificationEvent (TreeClassifier< T, I, C > *tree, int index)
 Create a new TreeClassificationEvent.

TreeClassifier< T, I, C > * getTreeClassifier (void) const
 Get a copy of the TreeClassifier that was just classified/made.

int getIndex (void) const
 Get the TreeClassifier's index.


Constructor & Destructor Documentation

template<class T, class I = string, class C = int>
prapi::TreeClassificationEvent< T, I, C >::TreeClassificationEvent TreeClassifier< T, I, C > *    tree,
int    index
[inline]
 

Create a new TreeClassificationEvent.

Parameters:
treee  a reference to the TreeClassifier that was just classified/made.
index  the index of root number of the TreeClassifier.


Member Function Documentation

template<class T, class I = string, class C = int>
int prapi::TreeClassificationEvent< T, I, C >::getIndex void    const [inline]
 

Get the TreeClassifier's index.

Returns:
how many TreeClassifiers have been classified/made this far? The first TreeClassifier will be accompanied with index 0.


The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.