CSEngine
Loading...
Searching...
No Matches
SIContainer.h
1#pragma once
2
3namespace CSE {
4 template <class S, class T, class M>
5 class SIContainer {
6 public:
7 SIContainer() = default;
8 virtual ~SIContainer() = default;
9
10 virtual void Register(T object) = 0;
11
12 virtual void Remove(T object) = 0;
13
14 virtual T Get(M index) const = 0;
15
16 virtual S GetAll() const = 0;
17
18 virtual M GetID(T object) const = 0;
19
20 virtual int GetSize() const = 0;
21 };
22}