#include <filehandler.h>


Public Member Functions | |
| EventFileHandler (LCE *event, const char *ext) | |
| virtual | ~EventFileHandler () |
| virtual void | FHwrite ()=0 |
| Default behavior of the class, called by Handler::update(). | |
| virtual void | FHread (string &filename)=0 |
| Default input function. | |
| virtual void | set (bool rpl_per, bool gen_per, int rpl_occ, int gen_occ, int rank, string &path, LCE *event) |
Protected Attributes | |
| LCE * | _FHLinkedEvent |
Constructor links to a give LCE. The LCE can be accessed through the _SHLinkedEvent member to get the stats.
Definition at line 225 of file filehandler.h.
| EventFileHandler< LCE >::EventFileHandler | ( | LCE * | event, | |
| const char * | ext | |||
| ) | [inline] |
Definition at line 239 of file filehandler.h.
00239 : 00240 FileHandler(ext), _FHLinkedEvent(event) 00241 { }
| virtual EventFileHandler< LCE >::~EventFileHandler | ( | ) | [inline, virtual] |
| virtual void EventFileHandler< LCE >::FHread | ( | string & | filename | ) | [pure virtual] |
Default input function.
Loads a pop from the genotypes read from the input file.
Implements FileHandler.
| virtual void EventFileHandler< LCE >::FHwrite | ( | ) | [pure virtual] |
| void EventFileHandler< LCE >::set | ( | bool | rpl_per, | |
| bool | gen_per, | |||
| int | rpl_occ, | |||
| int | gen_occ, | |||
| int | rank, | |||
| string & | path, | |||
| LCE * | event | |||
| ) | [inline, virtual] |
Definition at line 243 of file filehandler.h.
00244 { 00245 FileHandler::set(rpl_per,gen_per,rpl_occ,gen_occ,rank,path); 00246 _FHLinkedEvent = event; 00247 }
LCE* EventFileHandler< LCE >::_FHLinkedEvent [protected] |
1.5.8 -- Nemo is hosted by