Changes between Initial Version and Version 1 of HowToImplementNewFiller


Ignore:
Timestamp:
08/04/10 19:23:57 (14 years ago)
Author:
Takeshi Nakazato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToImplementNewFiller

    v1 v1  
     1= How To Implement New Filler =
     2== Concept ==
     3The Filler is only responsible for filling Scantable. It does not have a direct access to the data file.
     4Retrieving various information from the data is done by Reader class, which is separated from
     5the Filler. The Filler has appropriate Reader object that depends on type of the data file.
     6The Filler does the following things:
     7
     8   * set target Scantable
     9   * open data file (via Reader object)
     10   * get information from the Reader object
     11   * fill Scantable
     12   * close data file (via Reader object)
     13
     14The target Scantable must be prepared outside the Filler and should be passed to the Filler at the beginning of filling process. It should be empty.
     15
     16The filling process goes on row-by-row manner. It means that the filling is actually an iteration process over all rows. The process contains:
     17
     18   * get information for one row from the Reader object
     19   * fill row
     20   * add row to Scantable
     21   
     22== Design ==
     23
     24
     25
     26== Implementation ==
     27If you want to define new filler, it must inherit !FillerBase class.