The Sparta Modeling Framework
Loading...
Searching...
No Matches
SINodeHierarchy.hpp
1// <SINodeHierarchy> -*- C++ -*-
2
3#pragma once
4
5#include <memory>
6
7#include "simdb_fwd.hpp"
8#include "simdb/schema/DatabaseTypedefs.hpp"
9
10namespace simdb {
11class ObjectManager;
12} // namespace simdb
13
14namespace sparta {
15
16class Report;
17
18namespace db {
19 class ReportTimeseries;
20}
21
22namespace statistics {
23
39{
40public:
45 db::ReportTimeseries & db_timeseries,
46 const Report & report);
47
52 simdb::DatabaseID serializeHierarchy(simdb::ObjectManager & obj_mgr);
53
54private:
55 class Impl;
56
57 std::shared_ptr<Impl> impl_;
58};
59
60} // namespace statistics
61} // namespace sparta
62
This class serializes a sparta::Report's entire SI tree (node names, parent nodes / child nodes / etc...
SINodeHierarchy(db::ReportTimeseries &db_timeseries, const Report &report)
simdb::DatabaseID serializeHierarchy(simdb::ObjectManager &obj_mgr)
Macros for handling exponential backoff.