hep.aida.ref.tuple
Class TupleColumn.TupleColumnFolder

java.lang.Object
  extended by hep.aida.ref.tuple.TupleColumn
      extended by hep.aida.ref.tuple.TupleColumn.TupleColumnFolder
All Implemented Interfaces:
IBaseTupleColumn, ITupleColumn, ITupleColumn.ITuple, FTupleColumn, HasFTuple
Enclosing class:
TupleColumn

public static class TupleColumn.TupleColumnFolder
extends TupleColumn
implements ITupleColumn.ITuple, HasFTuple


Nested Class Summary
 
Nested classes/interfaces inherited from class hep.aida.ref.tuple.TupleColumn
TupleColumn.TupleColumnBoolean, TupleColumn.TupleColumnByte, TupleColumn.TupleColumnChar, TupleColumn.TupleColumnDouble, TupleColumn.TupleColumnFloat, TupleColumn.TupleColumnFolder, TupleColumn.TupleColumnInt, TupleColumn.TupleColumnLong, TupleColumn.TupleColumnObject, TupleColumn.TupleColumnShort, TupleColumn.TupleColumnString
 
Nested classes/interfaces inherited from interface hep.aida.ITupleColumn
ITupleColumn.B, ITupleColumn.C, ITupleColumn.D, ITupleColumn.F, ITupleColumn.I, ITupleColumn.ITuple, ITupleColumn.L, ITupleColumn.Object, ITupleColumn.S, ITupleColumn.String, ITupleColumn.Z
 
Method Summary
 void addRow()
           
 ITuple defaultValue()
          Get the column default value.
 void defaultValue(org.freehep.util.Value value)
           
 void fill(ITuple tp)
          Fill the column.
 void fill(org.freehep.util.Value value)
           
 ITuple fillableObject()
          Used when filling.
 FTuple fTuple()
           
 void reset()
           
 void resetRow()
           
 void resetRows(int numberOfRows)
          Clears the values on the stack.
 void setValue(int index, org.freehep.util.Value value)
           
 ITuple value()
          Get the object stored in the column at the current cursor's position.
 void value(int index, org.freehep.util.Value value)
           
 
Methods inherited from class hep.aida.ref.tuple.TupleColumn
hasDefaultValue, maximum, maxValue, mean, meanValue, minimum, minValue, name, rms, rmsValue, type, value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.aida.IBaseTupleColumn
maximum, mean, minimum, name, rms, type
 

Method Detail

value

public void value(int index,
                  org.freehep.util.Value value)
Specified by:
value in class TupleColumn

fill

public void fill(org.freehep.util.Value value)
Overrides:
fill in class TupleColumn

setValue

public void setValue(int index,
                     org.freehep.util.Value value)
Specified by:
setValue in class TupleColumn

fTuple

public FTuple fTuple()
Specified by:
fTuple in interface HasFTuple

fill

public void fill(ITuple tp)
Description copied from interface: ITupleColumn.ITuple
Fill the column. If the value is a number with value NaN, the entry will be recorded but it will not contribue to the column's statistics.

Specified by:
fill in interface ITupleColumn.ITuple
Parameters:
tp - The base type or object to fill with.

value

public ITuple value()
Description copied from interface: ITupleColumn.ITuple
Get the object stored in the column at the current cursor's position.

Specified by:
value in interface ITupleColumn.ITuple
Returns:
The object.

defaultValue

public ITuple defaultValue()
Description copied from interface: ITupleColumn.ITuple
Get the column default value.

Specified by:
defaultValue in interface ITupleColumn.ITuple
Returns:
The column's default.

fillableObject

public ITuple fillableObject()
Description copied from interface: ITupleColumn.ITuple
Used when filling. This method returns a prebooked (in general empty) object. This is intended to help the filling of a tuple in case of dealing with complex objects. Reissuing the method after a ITuple::addRow may return the same object but reseted. This method may return zero in case the implementation don't have the necessary material to provide a prebooked object of any kind. In case the column contains tuples (T = ITuple), this methods returns an empty tuple booked according to what had been specified at creation of the main tuple. In case the tuple column is binded to a user variable (done through the bind method), this method returns the pointer passed to the bind method. The user must not delete the returned object.

Specified by:
fillableObject in interface ITupleColumn.ITuple
Returns:
An object.

addRow

public void addRow()
Overrides:
addRow in class TupleColumn

resetRow

public void resetRow()
Overrides:
resetRow in class TupleColumn

resetRows

public void resetRows(int numberOfRows)
Description copied from class: TupleColumn
Clears the values on the stack.

Overrides:
resetRows in class TupleColumn

reset

public void reset()
Overrides:
reset in class TupleColumn

defaultValue

public void defaultValue(org.freehep.util.Value value)
Specified by:
defaultValue in interface FTupleColumn
Overrides:
defaultValue in class TupleColumn


jHepWork 3.2 © jWork.org