Relacs  0.9.8
Public Member Functions | Protected Attributes | List of all members
SaveFiles::ODMLFiles Class Reference

#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
 

Detailed Description

Write metadata into ODML files.

Constructor & Destructor Documentation

ODMLFiles ( void  )

Member Function Documentation

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 
)

Write information about a RePro to files.

See Also
save( const RePro& )

References Options::DontCloseSection, Options::FirstOnly, Parameter::saveXML(), and Options::saveXML().

Referenced by SaveFiles::writeRePro().

void close ( const string &  path,
const deque< string > &  reprofiles,
MetaData metadata 
)

Member Data Documentation

ofstream* XF
protected

XML file containing all data.

ofstream* XSF
protected

XML file containing stimulus descriptions.

bool DatasetOpen
protected

The documentation for this class was generated from the following files: