OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
TouchstoneToResultdata.h
Go to the documentation of this file.
1#pragma once
4
5#include "TouchstoneHandler.h"
6#include "MetadataSeries.h"
8
10{
11public:
18
19 int getAssumptionOfPortNumber(const std::string& fileName);
20 void setResultdata(const std::string& fileName, const std::string& fileContent, uint64_t uncompressedLength);
21 void createResultdata(int numberOfPorts);
22
23private:
24 std::string m_collectionName = "";
25 std::string m_fileName = "";
26 std::string m_fileContent = "";
27 uint64_t m_uncompressedLength = 0;
28
29 const std::string createSeriesName(const std::string& fileName);
30 bool seriesAlreadyExists(const std::string& seriesName);
31
32 void importTouchstoneFile(const std::string& fileName, const std::string& fileContent, uint64_t uncompressedLength, int numberOfPorts, TouchstoneHandler& _handler);
33 DatasetDescription extractDatasetDescription(TouchstoneHandler& _handler);
34};
35
Common methods for all central handler classes.
Definition BusinessLogicHandler.h:16
Definition TouchstoneHandler.h:11
Definition TouchstoneToResultdata.h:10
TouchstoneToResultdata(TouchstoneToResultdata &&_other)=delete
TouchstoneToResultdata & operator=(TouchstoneToResultdata &&_other)=delete
int getAssumptionOfPortNumber(const std::string &fileName)
Definition TouchstoneToResultdata.cpp:26
~TouchstoneToResultdata()=default
void createResultdata(int numberOfPorts)
Definition TouchstoneToResultdata.cpp:38
TouchstoneToResultdata & operator=(const TouchstoneToResultdata &_other)=delete
TouchstoneToResultdata()=default
void setResultdata(const std::string &fileName, const std::string &fileContent, uint64_t uncompressedLength)
Definition TouchstoneToResultdata.cpp:31
TouchstoneToResultdata(const TouchstoneToResultdata &_other)=delete