added to Models: ModelsMap & GetMap()

This commit is contained in:
tomasz.sowa committed 2021-10-12 19:56:59 +02:00
1 parent d8692f6ed5
commit 0c058d4313
3 files changed
+11 -1

No files matched your search

+4 -1
View File
@@ -53,6 +53,8 @@ class Models
{
public:
typedef std::map<std::wstring, morm::Wrapper> ModelsMap;
Models();
~Models();
@@ -130,12 +132,13 @@ public:
}
morm::Wrapper * Find(const std::wstring & name);
ModelsMap & GetMap();
void Clear();
protected:
std::map<std::wstring, morm::Wrapper> models_map;
ModelsMap models_map;
};