@@ -10,48 +10,48 @@ namespace CLDEParser {
1010
1111 SPtrJsonValue JsonValueFactory::CreateInteger (std::string const &value) {
1212 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
13- sptrValue->id = (int ) JsonValueType::integer ;
13+ sptrValue->id = (int ) JsonValueType::Integer ;
1414 sptrValue->intValue = std::stoi (value);
1515 return sptrValue;
1616 }
1717
1818 SPtrJsonValue JsonValueFactory::CreateDouble (std::string const &value) {
1919 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
20- sptrValue->id = (int ) JsonValueType::real ;
20+ sptrValue->id = (int ) JsonValueType::Real ;
2121 sptrValue->doubleValue = std::stod (value);
2222 return sptrValue;
2323 }
2424
2525 SPtrJsonValue JsonValueFactory::CreateString (std::string const &value) {
2626 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
27- sptrValue->id = (int ) JsonValueType::string ;
27+ sptrValue->id = (int ) JsonValueType::String ;
2828 sptrValue->strValue = value;
2929 return sptrValue;
3030 }
3131
3232 SPtrJsonValue JsonValueFactory::CreateBooleanTrue () {
3333 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
34- sptrValue->id = (int ) JsonValueType::boolean ;
34+ sptrValue->id = (int ) JsonValueType::Boolean ;
3535 sptrValue->boolValue = true ;
3636 return sptrValue;
3737 }
3838
3939 SPtrJsonValue JsonValueFactory::CreateBooleanFalse () {
4040 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
41- sptrValue->id = (int ) JsonValueType::boolean ;
41+ sptrValue->id = (int ) JsonValueType::Boolean ;
4242 sptrValue->boolValue = false ;
4343 return sptrValue;
4444 }
4545
4646 SPtrJsonValue JsonValueFactory::CreateNull () {
4747 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
48- sptrValue->id = (int ) JsonValueType::null ;
48+ sptrValue->id = (int ) JsonValueType::Null ;
4949 return sptrValue;
5050 }
5151
5252 SPtrJsonValue JsonValueFactory::CreateEntityValue (SPtrJsonEntity const &sptrJsonEntity) {
5353 SPtrJsonValue sptrValue = std::make_shared<JsonValue>();
54- sptrValue->id = (int ) JsonValueType::entity ;
54+ sptrValue->id = (int ) JsonValueType::Entity ;
5555 sptrValue->sptrJsonEntity = sptrJsonEntity;
5656 return sptrValue;
5757 }
0 commit comments