From fc4ee249e0e4dd1b904080c817153e61c670acb1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 28 Apr 2021 13:55:05 +0100 Subject: Tidy case of function names --- lib/jsonParse-persistance.cpp | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'lib/jsonParse-persistance.cpp') diff --git a/lib/jsonParse-persistance.cpp b/lib/jsonParse-persistance.cpp index 00b84dd..100fa5c 100644 --- a/lib/jsonParse-persistance.cpp +++ b/lib/jsonParse-persistance.cpp @@ -10,69 +10,69 @@ namespace Persistanace { } void - JsonParsePersistance::BeginObject() + JsonParsePersistance::beginObject() { current()->beforeValue(stk); - current()->BeginObject(stk); + current()->beginObject(stk); } void - JsonParsePersistance::BeginArray() + JsonParsePersistance::beginArray() { current()->beforeValue(stk); - current()->BeginArray(stk); + current()->beginArray(stk); } void - JsonParsePersistance::PushBoolean(bool value) + JsonParsePersistance::pushBoolean(bool value) { - PushValue(value); + pushValue(value); } void - JsonParsePersistance::PushNumber(float value) + JsonParsePersistance::pushNumber(float value) { - PushValue(value); + pushValue(value); } void - JsonParsePersistance::PushNull() + JsonParsePersistance::pushNull() { - PushValue(nullptr); + pushValue(nullptr); } void - JsonParsePersistance::PushText(std::string && value) + JsonParsePersistance::pushText(std::string && value) { - PushValue(value); + pushValue(value); } void - JsonParsePersistance::PushKey(std::string && k) + JsonParsePersistance::pushKey(std::string && k) { stk.push(current()->select(k)); } void - JsonParsePersistance::EndArray() + JsonParsePersistance::endArray() { stk.pop(); stk.pop(); } void - JsonParsePersistance::EndObject() + JsonParsePersistance::endObject() { - current()->EndObject(stk); - current()->EndObject(stk); + current()->endObject(stk); + current()->endObject(stk); } template inline void - JsonParsePersistance::PushValue(T && value) + JsonParsePersistance::pushValue(T && value) { current()->beforeValue(stk); - (*current())(value); + current()->setValue(value); stk.pop(); } -- cgit v1.2.3