Relacs Core Library  0.9.8
Public Member Functions | Protected Attributes | List of all members
DataIndex::DataItem Class Reference

#include <dataindex.h>

Collaboration diagram for DataIndex::DataItem:
Collaboration graph
[legend]

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)
 
DataItemback (void)
 
void pop (void)
 
const DataItemoperator[] (int index) const
 
DataItemoperator[] (int index)
 
int index (DataItem *data)
 
DataItemchild (int index)
 
DataItemparent (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 Optionsdata (void) const
 
Optionsdata (void)
 
string fileName (void) const
 
deque< int > traceIndex (void) const
 
deque< int > eventsIndex (void) const
 
double time (void) const
 
DataOverviewModeloverviewModel (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< DataItemChildren
 
DataItemParent
 
DataOverviewModelOverviewModel
 

Constructor & Destructor Documentation

DataItem ( void  )
DataItem ( const DataItem data)
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 
)

Member Function Documentation

bool empty ( void  ) const
int size ( void  ) const
void clear ( void  )
DataIndex::DataItem & back ( void  )
void pop ( void  )
const DataIndex::DataItem & operator[] ( int  index) const
DataIndex::DataItem & operator[] ( int  index)
int index ( DataItem data)
DataIndex::DataItem * child ( int  index)
DataIndex::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)

References name.

Referenced by DataIndex::loadDirectory().

string name ( void  ) const

Referenced by DataOverviewModel::data().

const Options & data ( void  ) const
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().

Member Data Documentation

int Level
protected
string Name
protected
Options Data
protected
deque<int> TraceIndex
protected
deque<int> EventsIndex
protected
double Time
protected
deque<DataItem> Children
protected
DataItem* Parent
protected
DataOverviewModel* OverviewModel
protected

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