OpenTwin
0.1
OpenTwin
Loading...
Searching...
No Matches
ResultCollectionExtenderMockUp.h
Go to the documentation of this file.
1
#pragma once
2
#include "
ResultCollectionExtender.h
"
3
#include <list>
4
class
ResultCollectionExtenderMockUp
:
public
ResultCollectionExtender
5
{
6
friend
class
FixtureResultCollectionExtender
;
7
ResultCollectionExtenderMockUp
()
8
{
9
m_indices = { 31,32,33,34, 35, 36,37,38,39,40 };
10
}
11
private
:
12
std::list<uint64_t> m_indices;
13
uint64_t getLastIndex()
14
{
15
uint64_t index = m_indices.back();
16
m_indices.pop_back();
17
return
index;
18
}
19
const
uint64_t
findNextFreeSeriesIndex
()
override
{
return
getLastIndex(); };
20
const
uint64_t
findNextFreeQuantityIndex
()
override
{
return
getLastIndex(); };
21
const
uint64_t
findNextFreeParameterIndex
()
override
{
return
getLastIndex(); };
22
};
ResultCollectionExtender.h
FixtureResultCollectionExtender
Definition
FixtureResultCollectionExtender.h:6
ResultCollectionExtenderMockUp
Definition
ResultCollectionExtenderMockUp.h:5
ResultCollectionExtenderMockUp::findNextFreeSeriesIndex
const uint64_t findNextFreeSeriesIndex() override
Definition
ResultCollectionExtenderMockUp.h:19
ResultCollectionExtenderMockUp::findNextFreeParameterIndex
const uint64_t findNextFreeParameterIndex() override
Definition
ResultCollectionExtenderMockUp.h:21
ResultCollectionExtenderMockUp::findNextFreeQuantityIndex
const uint64_t findNextFreeQuantityIndex() override
Definition
ResultCollectionExtenderMockUp.h:20
Libraries
ResultDataAccess
ResultDataAccessTest
include
ResultCollectionExtenderMockUp.h
Generated by
1.10.0