Relacs  0.9.8
Classes | Public Member Functions | List of all members
DataIndex Class Reference

#include <dataindex.h>

Classes

class  DataItem
 

Public Member Functions

 DataIndex (void)
 
 ~DataIndex (void)
 
DataItemcells (void)
 
void addStimulus (const Options &signal, const deque< int > &traceindex, const deque< int > &eventsindex, double time)
 
void addRepro (const Options &repro)
 
void addSession (const string &path, const Options &data, int ntraces, int nevents)
 
void endSession (bool saved)
 
void loadDirectory (const string &dir)
 
bool empty (void) const
 
int size (void) const
 
void print (void)
 
DataOverviewModeloverviewModel (void)
 
void setOverviewView (QTreeView *view, DataBrowser *browser)
 
DataDescriptionModeldescriptionModel (void)
 
void setDescriptionView (QTreeView *view)
 

Detailed Description

Index to previously recorded data, repro, and stimuli.

Author
Jan Benda

This is the data model used by the DataBrowser class.

Constructor & Destructor Documentation

DataIndex ( void  )
~DataIndex ( void  )

Member Function Documentation

DataItem* cells ( void  )
inline
void addStimulus ( const Options signal,
const deque< int > &  traceindex,
const deque< int > &  eventsindex,
double  time 
)
void addRepro ( const Options repro)
void addSession ( const string &  path,
const Options data,
int  ntraces,
int  nevents 
)
void endSession ( bool  saved)
void loadDirectory ( const string &  dir)
bool empty ( void  ) const
Returns
true if no recording session is in the DataIndex.

References DataIndex::DataItem::empty().

int size ( void  ) const
Returns
the number of recording sessions hold in the DataIndex.

References DataIndex::DataItem::size().

Referenced by DataIndex::DataItem::child(), DataIndex::DataItem::index(), and DataOverviewModel::rowCount().

void print ( void  )
DataOverviewModel * overviewModel ( void  )
void setOverviewView ( QTreeView *  view,
DataBrowser browser 
)
DataDescriptionModel * descriptionModel ( void  )
void setDescriptionView ( QTreeView *  view)

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