DABC (Data Acquisition Backbone Core)
2.9.9
|
#include <dabc/HierarchyStore.h>
Public Member Functions | |
Hierarchy | GetSerie (const std::string &entry, const DateTime &from, const DateTime &till) |
Get entry with history for specified time interval. More... | |
bool | GetStrucutre (Hierarchy &h, const DateTime &dt=0) |
Get full structure at given point of time. More... | |
HierarchyReading () | |
bool | ScanTree () |
Scan only directories, do not open any files. More... | |
void | SetBasePath (const std::string &path) |
Set top directory for all recorded data. More... | |
virtual | ~HierarchyReading () |
Protected Member Functions | |
std::string | MakeFileName (const std::string &fpath, const DateTime &dt) |
bool | ProduceStructure (Hierarchy &tree, const DateTime &from, const DateTime &till, const std::string &entry, Hierarchy &tgt) |
dabc::Buffer | ReadBuffer (dabc::BinaryFile &f) |
bool | ScanFiles (const std::string &dirname, const DateTime &onlydate, std::vector< uint64_t > &vect) |
bool | ScanTreeDir (dabc::Hierarchy &h, const std::string &dirname) |
! scanned files tree More... | |
Protected Attributes | |
std::string | fBasePath |
FileInterface * | fIO |
! base directory More... | |
dabc::Hierarchy | fTree |
! file interface More... | |
Definition at line 76 of file HierarchyStore.h.
dabc::HierarchyReading::HierarchyReading | ( | ) |
Definition at line 202 of file HierarchyStore.cxx.
|
virtual |
Definition at line 208 of file HierarchyStore.cxx.
|
protected |
! scanned files tree
Definition at line 265 of file HierarchyStore.cxx.
|
protected |
Definition at line 235 of file HierarchyStore.cxx.
|
protected |
Definition at line 222 of file HierarchyStore.cxx.
|
protected |
we exclude building of the structures which are not interesting for us
Definition at line 354 of file HierarchyStore.cxx.
|
protected |
Definition at line 333 of file HierarchyStore.cxx.
void dabc::HierarchyReading::SetBasePath | ( | const std::string & | path | ) |
Set top directory for all recorded data.
Definition at line 216 of file HierarchyStore.cxx.
bool dabc::HierarchyReading::ScanTree | ( | ) |
Scan only directories, do not open any files.
Definition at line 325 of file HierarchyStore.cxx.
Get full structure at given point of time.
Definition at line 428 of file HierarchyStore.cxx.
dabc::Hierarchy dabc::HierarchyReading::GetSerie | ( | const std::string & | entry, |
const DateTime & | from, | ||
const DateTime & | till | ||
) |
Get entry with history for specified time interval.
Definition at line 442 of file HierarchyStore.cxx.
|
protected |
Definition at line 78 of file HierarchyStore.h.
|
protected |
! base directory
Definition at line 80 of file HierarchyStore.h.
|
protected |
! file interface
Definition at line 82 of file HierarchyStore.h.