|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
User's level interface of an IFilter.
Method Summary | |
boolean |
accept()
Check if the IFilter accepts or not the data in the current row of the ITuple it is associated to. |
String |
expression()
Get the expression that defined the IFilter. |
void |
initialize(ITuple tuple)
Initialize the IFilter and associate it to an ITuple. |
Method Detail |
public void initialize(ITuple tuple) throws IllegalArgumentException
tuple
- The ITuple to which the IFilter is sssociated.
IllegalArgumentException
- If the IFilter and
the ITuple are not compatible.public boolean accept() throws RuntimeException
true
if the current data is accepted.
RuntimeException
- if the IFilter has not been initialized.public String expression()
|
FreeHEP API Version 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |