World::MemoryUsage returns approximate value of component pool memory usage

This commit is contained in:
2016-02-26 11:08:39 +01:00
parent 0c60b637c3
commit fa78991795
5 changed files with 26 additions and 0 deletions
+2
View File
@@ -65,6 +65,8 @@ public:
iterator end() const;
size_t size() const;
std::size_t MemoryUsage() const;
//Dumps information about what the pool memory looks like right now
//into an output stream (e.g. file/std::cout, anything that has an operator<<)
//Interpret the data in the memory as InterpretType.