added to Models: ModelsMap & GetMap()

This commit is contained in:
2021-10-12 19:56:59 +02:00
parent d8692f6ed5
commit 0c058d4313
3 changed files with 11 additions and 1 deletions

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;
};