CSEngine
Loading...
Searching...
No Matches
MemoryContainer.h
1
#pragma once
2
3
#include "../SObject.h"
4
#include "Base/SContainerList.h"
5
#include <set>
6
7
namespace
CSE {
8
9
class
SObject;
10
11
class
MemoryContainer
:
public
SContainerList
<SObject*> {
12
protected
:
13
MemoryContainer
();
14
15
~MemoryContainer
()
override
;
16
17
public
:
18
void
Register(
SObject
*
object
)
override
;
19
20
void
Remove(
SObject
*
object
)
override
;
21
22
bool
HasHash(
const
std::string& hash)
const
;
23
24
void
ChangeHash(
const
std::string& srcHash,
const
std::string& dstHash);
25
26
protected
:
27
std::set<std::string> m_hashContainer;
28
};
29
}
CSE::MemoryContainer
Definition
MemoryContainer.h:11
CSE::SContainerList
Definition
SContainerList.h:10
CSE::SObject
Definition
SObject.h:7
Manager
MemoryContainer.h
Generated on Fri Nov 15 2024 01:09:31 for CSEngine by
1.9.8