Relacs
0.9.8
|
#include <dataindex.h>
Public Member Functions | |
DataItem (void) | |
DataItem (const DataItem &data) | |
DataItem (const string &name) | |
DataItem (const string &name, int level, DataItem *parent) | |
DataItem (const string &name, const Options &data, int level, DataItem *parent) | |
DataItem (const string &name, const Options &data, int ntraces, int nevents, int level, DataItem *parent) | |
DataItem (const string &name, const Options &data, const deque< int > &traceindex, const deque< int > &eventsindex, double time, int level, DataItem *parent) | |
bool | empty (void) const |
int | size (void) const |
void | clear (void) |
DataItem & | back (void) |
void | pop (void) |
const DataItem & | operator[] (int index) const |
DataItem & | operator[] (int index) |
int | index (DataItem *data) |
DataItem * | child (int index) |
DataItem * | parent (void) const |
void | addChild (const string &name) |
void | addChild (const string &name, const Options &data) |
void | addChild (const string &name, const Options &data, int ntraces, int nevents) |
void | addChild (const string &name, const Options &data, const deque< int > &traceindex, const deque< int > &eventsindex, double time) |
void | loadCell (void) |
int | level (void) const |
void | setName (const string &name) |
string | name (void) const |
const Options & | data (void) const |
Options & | data (void) |
string | fileName (void) const |
deque< int > | traceIndex (void) const |
deque< int > | eventsIndex (void) const |
double | time (void) const |
DataOverviewModel * | overviewModel (void) |
void | setOverviewModel (DataOverviewModel *model) |
void | print (void) |
Protected Attributes | |
int | Level |
string | Name |
Options | Data |
deque< int > | TraceIndex |
deque< int > | EventsIndex |
double | Time |
deque< DataItem > | Children |
DataItem * | Parent |
DataOverviewModel * | OverviewModel |
DataItem | ( | void | ) |
DataItem | ( | const string & | name | ) |
DataItem | ( | const string & | name, |
int | level, | ||
DataIndex::DataItem * | parent | ||
) |
DataItem | ( | const string & | name, |
const Options & | data, | ||
int | level, | ||
DataIndex::DataItem * | parent | ||
) |
DataItem | ( | const string & | name, |
const Options & | data, | ||
int | ntraces, | ||
int | nevents, | ||
int | level, | ||
DataIndex::DataItem * | parent | ||
) |
DataItem | ( | const string & | name, |
const Options & | data, | ||
const deque< int > & | traceindex, | ||
const deque< int > & | eventsindex, | ||
double | time, | ||
int | level, | ||
DataIndex::DataItem * | parent | ||
) |
References DataIndex::DataItem::Children.
bool empty | ( | void | ) | const |
int size | ( | void | ) | const |
void clear | ( | void | ) |
Referenced by DataIndex::loadDirectory(), and DataIndex::~DataIndex().
DataIndex::DataItem & back | ( | void | ) |
References DataIndex::DataItem::back().
Referenced by DataIndex::addRepro(), DataIndex::addStimulus(), DataIndex::DataItem::back(), and DataIndex::DataItem::loadCell().
void pop | ( | void | ) |
References DataOverviewModel::beginPopChild(), and DataOverviewModel::endPopChild().
Referenced by DataIndex::endSession().
const DataIndex::DataItem & operator[] | ( | int | index | ) | const |
DataIndex::DataItem & operator[] | ( | int | index | ) |
int index | ( | DataItem * | data | ) |
References DataIndex::size().
Referenced by DataOverviewModel::beginAddChild(), DataOverviewModel::beginPopChild(), and DataOverviewModel::parent().
DataIndex::DataItem * child | ( | int | index | ) |
References DataIndex::size().
Referenced by DataOverviewModel::endAddChild(), DataOverviewModel::endPopChild(), and DataOverviewModel::index().
DataIndex::DataItem * parent | ( | void | ) | const |
void addChild | ( | const string & | name | ) |
References DataOverviewModel::beginAddChild(), and DataOverviewModel::endAddChild().
Referenced by DataIndex::addRepro(), DataIndex::addSession(), DataIndex::addStimulus(), and DataIndex::loadDirectory().
void addChild | ( | const string & | name, |
const Options & | data | ||
) |
References DataOverviewModel::beginAddChild(), and DataOverviewModel::endAddChild().
void addChild | ( | const string & | name, |
const Options & | data, | ||
int | ntraces, | ||
int | nevents | ||
) |
References DataOverviewModel::beginAddChild(), and DataOverviewModel::endAddChild().
void addChild | ( | const string & | name, |
const Options & | data, | ||
const deque< int > & | traceindex, | ||
const deque< int > & | eventsindex, | ||
double | time | ||
) |
References DataOverviewModel::beginAddChild(), and DataOverviewModel::endAddChild().
void loadCell | ( | void | ) |
References DataIndex::DataItem::back(), DataOverviewModel::beginAddChild(), DataIndex::DataItem::Children, DataFile::close(), TableKey::column(), TableData::columns(), DataFile::data(), Str::dir(), Options::down(), DataOverviewModel::endAddChild(), Options::findSection(), DataFile::initData(), DataFile::key(), DataFile::levels(), DataFile::line(), Options::load(), DataFile::metaDataOptions(), name, Options::newSection(), DataFile::readDataLine(), DataFile::readMetaData(), TableData::rows(), DataFile::scanDataLine(), TableKey::sectionName(), Options::sectionsEnd(), Options::sectionsSize(), Options::setType(), Options::text(), Options::type(), and Str::WhiteSpace.
Referenced by DataOverviewModel::fetchMore().
int level | ( | void | ) | const |
void setName | ( | const string & | name | ) |
References name.
Referenced by DataIndex::loadDirectory().
string name | ( | void | ) | const |
Referenced by DataOverviewModel::data().
const Options & data | ( | void | ) | const |
Referenced by DataOverviewModel::setDescription().
Options & data | ( | void | ) |
string fileName | ( | void | ) | const |
References name.
deque< int > traceIndex | ( | void | ) | const |
deque< int > eventsIndex | ( | void | ) | const |
double time | ( | void | ) | const |
DataOverviewModel * overviewModel | ( | void | ) |
void setOverviewModel | ( | DataOverviewModel * | model | ) |
Referenced by DataIndex::DataIndex().
void print | ( | void | ) |
Referenced by DataIndex::print().
|
protected |
|
protected |
|
protected |
Referenced by DataIndex::DataItem::DataItem().
|
protected |
Referenced by DataIndex::DataItem::DataItem().
|
protected |
Referenced by DataIndex::DataItem::DataItem().
|
protected |
|
protected |
Referenced by DataIndex::DataItem::DataItem(), and DataIndex::DataItem::loadCell().
|
protected |
|
protected |