Added ostd::JsonFile::isLoaded method
This commit is contained in:
parent
9ce48e6e3f
commit
42a2ee330b
2 changed files with 2 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
2008
|
||||
2009
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ namespace ostd
|
|||
inline JsonFile(void) { m_loaded = false; }
|
||||
inline JsonFile(const ostd::String& filePath) { init(filePath); }
|
||||
bool init(const ostd::String& filePath, bool writeable = true, const json* obj = nullptr);
|
||||
inline bool isLoaded(void) const { return m_loaded; }
|
||||
|
||||
template<class T> T get(const ostd::String& name);
|
||||
template<class T> bool set(const ostd::String& name, T value);
|
||||
|
|
|
|||
Loading…
Reference in a new issue