OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
TableHandler.h
Go to the documentation of this file.
1/*****************************************************************/
8#pragma once
9#include <memory>
10#include <string>
11
14#include "TableExtractor.h"
15
17{
18public:
19 TableHandler(const std::string tableFolder);
26 void AddTableView(ot::UID sourceID, ot::UID sourceVersionID);
27
28private:
29 const std::string _tableFolder;
38 std::shared_ptr<EntityResultTableData<std::string>> ExtractTableData(std::shared_ptr<TableExtractor> extractor);
39 void TrimTrailingControlCharacter(std::vector<std::string>& line);
40 bool IsEmptyLine(std::vector<std::string>& line);
41};
Common methods for all central handler classes.
API for creating a Table entity from any source. The task of this class is only the extraction of sin...
Definition BusinessLogicHandler.h:16
Definition TableHandler.h:17
TableHandler(const std::string tableFolder)
Definition TableHandler.cpp:14
void AddTableView(ot::UID sourceID, ot::UID sourceVersionID)
Definition TableHandler.cpp:17
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27