FreeHEP API
Version current

hep.tuple.interfaces
Interface FTupleFactory

All Known Implementing Classes:
TupleFactory

public interface FTupleFactory

A TupleFactory is used to create new FillableTuples and FillableTupleColumns.

Author:
The FreeHEP team @SLAC.
Source Code:
FTupleFactory.java

Method Summary
 FillableTuple createFTuple(String name, String title)
          Create a new FillableTuple.
 FillableTuple createFTuple(String name, String title, String options)
          Create a new FillableTuple.
 FillableTupleColumn createFTupleColumn(String name, Class type, Value value)
          Create a new FillableTupleColumn.
 FillableTupleColumn createFTupleColumn(String name, Class type, Value value, String options)
          Create a new FillableTupleColumn.
 

Method Detail

createFTuple

public FillableTuple createFTuple(String name,
                                  String title)
Create a new FillableTuple.

Parameters:
name - The FillableTuple,s name
title - The FillableTuple's title
Returns:
The new FillableTuple.

createFTuple

public FillableTuple createFTuple(String name,
                                  String title,
                                  String options)
Create a new FillableTuple.

Parameters:
name - The FillableTuple,s name
title - The FillableTuple's title
options - A set of comma or semicolon separated options. Check the specific implementation for the list of supported options.
Returns:
The new FillableTuple.

createFTupleColumn

public FillableTupleColumn createFTupleColumn(String name,
                                              Class type,
                                              Value value)
Create a new FillableTupleColumn.

Parameters:
name - The FillableTupleColumn's name
type - The FillableTupleColumn's type
value - The Value containing the FillableTupleColumn's default value, i.e. the value of a give row if it is not filled.
Returns:
The new FillableTupleColumn

createFTupleColumn

public FillableTupleColumn createFTupleColumn(String name,
                                              Class type,
                                              Value value,
                                              String options)
Create a new FillableTupleColumn.

Parameters:
name - The FillableTupleColumn's name
type - The FillableTupleColumn's type
value - The Value containing the FillableTupleColumn's default value, i.e. the value of a give row if it is not filled.
options - A set of comma or semicolon separated options. Check the specific implementation for the list of supported options.
Returns:
The new FillableTupleColumn

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.