aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/DataObjectOperator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/function/DataObjectOperator.h')
-rw-r--r--src/core/function/DataObjectOperator.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/function/DataObjectOperator.h b/src/core/function/DataObjectOperator.h
index b30bce83..06455211 100644
--- a/src/core/function/DataObjectOperator.h
+++ b/src/core/function/DataObjectOperator.h
@@ -48,11 +48,13 @@ class GPGFRONTEND_CORE_EXPORT DataObjectOperator
explicit DataObjectOperator(
int channel = SingletonFunctionObject::GetDefaultChannel());
- std::string SaveDataObj(const std::string &_key, const nlohmann::json &value);
+ auto SaveDataObj(const std::string &_key, const nlohmann::json &value)
+ -> std::string;
- std::optional<nlohmann::json> GetDataObject(const std::string &_key);
+ auto GetDataObject(const std::string &_key) -> std::optional<nlohmann::json>;
- std::optional<nlohmann::json> GetDataObjectByRef(const std::string &_ref);
+ auto GetDataObjectByRef(const std::string &_ref)
+ -> std::optional<nlohmann::json>;
private:
/**