FreeHEP API
Version current

hep.tuple
Class TupleFactory

java.lang.Object
  extended byhep.tuple.TupleFactory
All Implemented Interfaces:
FTupleFactory

public class TupleFactory
extends Object
implements FTupleFactory

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

Constructor Summary
TupleFactory()
           
 
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.
 FTuple createInMemoryTuple(FTuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleFactory

public TupleFactory()
Method Detail

createFTuple

public FillableTuple createFTuple(String name,
                                  String title)
Description copied from interface: FTupleFactory
Create a new FillableTuple.

Specified by:
createFTuple in interface FTupleFactory
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)
Description copied from interface: FTupleFactory
Create a new FillableTuple.

Specified by:
createFTuple in interface FTupleFactory
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)
Description copied from interface: FTupleFactory
Create a new FillableTupleColumn.

Specified by:
createFTupleColumn in interface FTupleFactory
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)
Description copied from interface: FTupleFactory
Create a new FillableTupleColumn.

Specified by:
createFTupleColumn in interface FTupleFactory
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

createInMemoryTuple

public FTuple createInMemoryTuple(FTuple tuple)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.