Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

EqualChannel Class Template Reference

#include <TDataItem.h>

Collaboration diagram for EqualChannel:

[legend]
List of all members.

Detailed Description

template<typename T>
class EqualChannel< T >

Equal data-item-channel predicate class.

This class is a predicate class for determining whether a TDataItem channel is the same as that given. This is templated also, just to be consistent. To be used with fast STL algorithms.

Author:
JEP.
Version:
1.0.
Date:
October 2004.

Definition at line 165 of file TDataItem.h.

Public Member Functions

 EqualChannel (T)
Bool_t operator() (const TDataItem< T > &) const

Private Attributes

fChannel


Constructor & Destructor Documentation

EqualChannel channel  )  [inline]
 

Default constructor.

Parameters:
[in] channel the channel number to be compared to.

Definition at line 177 of file TDataItem.h.


Member Function Documentation

Bool_t operator() const TDataItem< T > &  item  )  const [inline]
 

Comparative operator.

Parameters:
[in] item The data-item to have its channel compared.
Returns:
True (1) if fChannel is equal to that in the data-item, false otherwise.

Definition at line 185 of file TDataItem.h.

References TDataItem::GetChannel().

Here is the call graph for this function:


Member Data Documentation

T fChannel [private]
 

The channel which will be compared to.

Definition at line 173 of file TDataItem.h.


The documentation for this class was generated from the following file:
Generated on Mon Jan 8 11:54:33 2007 for DragonRoot by  doxygen 1.3.9.1