|
Relacs Core Library
0.9.8
|
#include <savefiles.h>
Public Member Functions | |
| ODMLFiles (void) | |
| bool | open (const string &path, SaveFiles *save, const AllDevices *devices) |
| void | writeStimulus (const InList &IL, const EventList &EL, const deque< OutDataInfo > &stimuliinfo, const deque< bool > &newstimuli, const Options &data, const deque< Options > &stimuliref, int *stimulusindex, double sessiontime, const string &reproname, const Acquire *acquire) |
| void | writeRePro (const Options &reproinfo, const deque< string > &reprofiles, const InList &IL, const EventList &EL, const Options &data, double sessiontime) |
| void | close (const string &path, const deque< string > &reprofiles, MetaData &metadata) |
Protected Attributes | |
| ofstream * | XF |
| ofstream * | XSF |
| bool | DatasetOpen |
Write metadata into ODML files.
| ODMLFiles | ( | void | ) |
| bool open | ( | const string & | path, |
| SaveFiles * | save, | ||
| const AllDevices * | devices | ||
| ) |
Open all necessary files.
Open and initialize the XML file that contains all information.
References Str::name(), name, SaveFiles::openFile(), Str::preventedSlash(), and DeviceList< T, PluginID >::size().
Referenced by SaveFiles::createODMLFiles().
| void writeStimulus | ( | const InList & | IL, |
| const EventList & | EL, | ||
| const deque< OutDataInfo > & | stimuliinfo, | ||
| const deque< bool > & | newstimuli, | ||
| const Options & | data, | ||
| const deque< Options > & | stimuliref, | ||
| int * | stimulusindex, | ||
| double | sessiontime, | ||
| const string & | reproname, | ||
| const Acquire * | acquire | ||
| ) |
Write pending stimuli to files.
References name, and Acquire::outTracesSize().
Referenced by SaveFiles::writeStimulus().
| void writeRePro | ( | const Options & | reproinfo, |
| const deque< string > & | reprofiles, | ||
| const InList & | IL, | ||
| const EventList & | EL, | ||
| const Options & | data, | ||
| double | sessiontime | ||
| ) |
Write information about a RePro to files.
References Parameter::saveXML().
Referenced by SaveFiles::writeRePro().
| void close | ( | const string & | path, |
| const deque< string > & | reprofiles, | ||
| MetaData & | metadata | ||
| ) |
Close all files.
References Str::name(), name, Str::preventedSlash(), Parameter::saveXML(), and MetaData::saveXML().
Referenced by SaveFiles::closeFiles().
|
protected |
XML file containing all data.
|
protected |
XML file containing stimulus descriptions.
|
protected |
1.8.6