Sfoglia il codice sorgente

Move serialization header files to json sub folder

Patrick-Christopher Mattulat 3 anni fa
parent
commit
5915df447d
28 ha cambiato i file con 47 aggiunte e 47 eliminazioni
  1. 10 10
      include/ls_std/ls_std.hpp
  2. 0 0
      include/ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp
  3. 0 0
      include/ls_std/serialization/json/boxing/SerializableJSONDouble.hpp
  4. 0 0
      include/ls_std/serialization/json/boxing/SerializableJSONFloat.hpp
  5. 0 0
      include/ls_std/serialization/json/boxing/SerializableJSONInteger.hpp
  6. 0 0
      include/ls_std/serialization/json/boxing/SerializableJSONLong.hpp
  7. 0 0
      include/ls_std/serialization/json/boxing/SerializableJSONString.hpp
  8. 1 1
      include/ls_std/serialization/json/event/SerializableJSONEvent.hpp
  9. 0 0
      include/ls_std/serialization/json/logic/SerializableJSONState.hpp
  10. 0 0
      include/ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp
  11. 0 0
      include/ls_std/serialization/json/logic/SerializableJSONStateMachine.hpp
  12. 2 2
      source/ls_std/factory/serialization/boxing/SerializableJSONBooleanFactory.cpp
  13. 2 2
      source/ls_std/factory/serialization/boxing/SerializableJSONDoubleFactory.cpp
  14. 2 2
      source/ls_std/factory/serialization/boxing/SerializableJSONFloatFactory.cpp
  15. 2 2
      source/ls_std/factory/serialization/boxing/SerializableJSONIntegerFactory.cpp
  16. 2 2
      source/ls_std/factory/serialization/boxing/SerializableJSONLongFactory.cpp
  17. 2 2
      source/ls_std/factory/serialization/boxing/SerializableJSONStringFactory.cpp
  18. 2 2
      source/ls_std/factory/serialization/event/SerializableJSONEventFactory.cpp
  19. 2 2
      source/ls_std/serialization/json/boxing/SerializableJSONBoolean.cpp
  20. 2 2
      source/ls_std/serialization/json/boxing/SerializableJSONDouble.cpp
  21. 2 2
      source/ls_std/serialization/json/boxing/SerializableJSONFloat.cpp
  22. 2 2
      source/ls_std/serialization/json/boxing/SerializableJSONInteger.cpp
  23. 2 2
      source/ls_std/serialization/json/boxing/SerializableJSONLong.cpp
  24. 2 2
      source/ls_std/serialization/json/boxing/SerializableJSONString.cpp
  25. 2 2
      source/ls_std/serialization/json/event/SerializableJSONEvent.cpp
  26. 3 3
      source/ls_std/serialization/json/logic/SerializableJSONState.cpp
  27. 2 2
      source/ls_std/serialization/json/logic/SerializableJSONStateConnection.cpp
  28. 3 3
      source/ls_std/serialization/json/logic/SerializableJSONStateMachine.cpp

+ 10 - 10
include/ls_std/ls_std.hpp

@@ -65,16 +65,16 @@
 #include "logic/StateMachine.hpp"
 #include "logic/StateMachineTypes.hpp"
 
-#include "serialization/boxing/SerializableJSONBoolean.hpp"
-#include "serialization/boxing/SerializableJSONDouble.hpp"
-#include "serialization/boxing/SerializableJSONFloat.hpp"
-#include "serialization/boxing/SerializableJSONInteger.hpp"
-#include "serialization/boxing/SerializableJSONLong.hpp"
-#include "serialization/boxing/SerializableJSONString.hpp"
-#include "serialization/logic/SerializableJSONState.hpp"
-#include "serialization/logic/SerializableJSONStateConnection.hpp"
-#include "serialization/logic/SerializableJSONStateMachine.hpp"
-#include "serialization/event/SerializableJSONEvent.hpp"
+#include "serialization/json/boxing/SerializableJSONBoolean.hpp"
+#include "serialization/json/boxing/SerializableJSONDouble.hpp"
+#include "serialization/json/boxing/SerializableJSONFloat.hpp"
+#include "serialization/json/boxing/SerializableJSONInteger.hpp"
+#include "serialization/json/boxing/SerializableJSONLong.hpp"
+#include "serialization/json/boxing/SerializableJSONString.hpp"
+#include "serialization/json/logic/SerializableJSONState.hpp"
+#include "serialization/json/logic/SerializableJSONStateConnection.hpp"
+#include "serialization/json/logic/SerializableJSONStateMachine.hpp"
+#include "serialization/json/event/SerializableJSONEvent.hpp"
 #include "serialization/ISerializable.hpp"
 
 #include "time/Date.hpp"

+ 0 - 0
include/ls_std/serialization/boxing/SerializableJSONBoolean.hpp → include/ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp


+ 0 - 0
include/ls_std/serialization/boxing/SerializableJSONDouble.hpp → include/ls_std/serialization/json/boxing/SerializableJSONDouble.hpp


+ 0 - 0
include/ls_std/serialization/boxing/SerializableJSONFloat.hpp → include/ls_std/serialization/json/boxing/SerializableJSONFloat.hpp


+ 0 - 0
include/ls_std/serialization/boxing/SerializableJSONInteger.hpp → include/ls_std/serialization/json/boxing/SerializableJSONInteger.hpp


+ 0 - 0
include/ls_std/serialization/boxing/SerializableJSONLong.hpp → include/ls_std/serialization/json/boxing/SerializableJSONLong.hpp


+ 0 - 0
include/ls_std/serialization/boxing/SerializableJSONString.hpp → include/ls_std/serialization/json/boxing/SerializableJSONString.hpp


+ 1 - 1
include/ls_std/serialization/event/SerializableJSONEvent.hpp → include/ls_std/serialization/json/event/SerializableJSONEvent.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-07
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 

+ 0 - 0
include/ls_std/serialization/logic/SerializableJSONState.hpp → include/ls_std/serialization/json/logic/SerializableJSONState.hpp


+ 0 - 0
include/ls_std/serialization/logic/SerializableJSONStateConnection.hpp → include/ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp


+ 0 - 0
include/ls_std/serialization/logic/SerializableJSONStateMachine.hpp → include/ls_std/serialization/json/logic/SerializableJSONStateMachine.hpp


+ 2 - 2
source/ls_std/factory/serialization/boxing/SerializableJSONBooleanFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-23
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/boxing/SerializableJSONBooleanFactory.hpp>
 #include <ls_std/boxing/Boolean.hpp>
-#include <ls_std/serialization/boxing/SerializableJSONBoolean.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp>
 
 ls_std::SerializableJSONBooleanFactory::SerializableJSONBooleanFactory() : ls_std::Class("SerializableJSONBooleanFactory")
 {}

+ 2 - 2
source/ls_std/factory/serialization/boxing/SerializableJSONDoubleFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-24
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/boxing/SerializableJSONDoubleFactory.hpp>
 #include <ls_std/boxing/Double.hpp>
-#include <ls_std/serialization/boxing/SerializableJSONDouble.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONDouble.hpp>
 
 ls_std::SerializableJSONDoubleFactory::SerializableJSONDoubleFactory() : ls_std::Class("SerializableJSONDoubleFactory")
 {}

+ 2 - 2
source/ls_std/factory/serialization/boxing/SerializableJSONFloatFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-25
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/boxing/SerializableJSONFloatFactory.hpp>
 #include <ls_std/boxing/Float.hpp>
-#include <ls_std/serialization/boxing/SerializableJSONFloat.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONFloat.hpp>
 
 ls_std::SerializableJSONFloatFactory::SerializableJSONFloatFactory() : ls_std::Class("SerializableJSONFloatFactory")
 {}

+ 2 - 2
source/ls_std/factory/serialization/boxing/SerializableJSONIntegerFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-25
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/boxing/SerializableJSONIntegerFactory.hpp>
 #include <ls_std/boxing/Integer.hpp>
-#include <ls_std/serialization/boxing/SerializableJSONInteger.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONInteger.hpp>
 
 ls_std::SerializableJSONIntegerFactory::SerializableJSONIntegerFactory() : ls_std::Class("SerializableJSONIntegerFactory")
 {}

+ 2 - 2
source/ls_std/factory/serialization/boxing/SerializableJSONLongFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-25
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/boxing/SerializableJSONLongFactory.hpp>
 #include <ls_std/boxing/Long.hpp>
-#include <ls_std/serialization/boxing/SerializableJSONLong.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONLong.hpp>
 
 ls_std::SerializableJSONLongFactory::SerializableJSONLongFactory() : ls_std::Class("SerializableJSONLongFactory")
 {}

+ 2 - 2
source/ls_std/factory/serialization/boxing/SerializableJSONStringFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-25
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/boxing/SerializableJSONStringFactory.hpp>
 #include <ls_std/boxing/String.hpp>
-#include <ls_std/serialization/boxing/SerializableJSONString.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONString.hpp>
 
 ls_std::SerializableJSONStringFactory::SerializableJSONStringFactory() : ls_std::Class("SerializableJSONStringFactory")
 {}

+ 2 - 2
source/ls_std/factory/serialization/event/SerializableJSONEventFactory.cpp

@@ -3,13 +3,13 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-30
- * Changed:         2021-04-30
+ * Changed:         2021-05-01
  *
  * */
 
 #include <ls_std/factory/serialization/event/SerializableJSONEventFactory.hpp>
 #include <ls_std/event/Event.hpp>
-#include <ls_std/serialization/event/SerializableJSONEvent.hpp>
+#include <ls_std/serialization/json/event/SerializableJSONEvent.hpp>
 
 ls_std::SerializableJSONEventFactory::SerializableJSONEventFactory() : ls_std::Class("SerializableJSONEventFactory")
 {}

+ 2 - 2
source/ls_std/serialization/json/boxing/SerializableJSONBoolean.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-04
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/boxing/SerializableJSONBoolean.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONBoolean::SerializableJSONBoolean(const std::shared_ptr<ls_std::Boolean> &_value) : ls_std::Class("SerializableJSONBoolean")

+ 2 - 2
source/ls_std/serialization/json/boxing/SerializableJSONDouble.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-04
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/boxing/SerializableJSONDouble.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONDouble.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONDouble::SerializableJSONDouble(const std::shared_ptr<ls_std::Double> &_value) : ls_std::Class("SerializableJSONDouble")

+ 2 - 2
source/ls_std/serialization/json/boxing/SerializableJSONFloat.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-04
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/boxing/SerializableJSONFloat.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONFloat.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONFloat::SerializableJSONFloat(const std::shared_ptr<ls_std::Float> &_value) : ls_std::Class("SerializableJSONFloat")

+ 2 - 2
source/ls_std/serialization/json/boxing/SerializableJSONInteger.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-21
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/boxing/SerializableJSONInteger.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONInteger.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONInteger::SerializableJSONInteger(const std::shared_ptr<ls_std::Integer> &_value) : ls_std::Class("SerializableJSONInteger")

+ 2 - 2
source/ls_std/serialization/json/boxing/SerializableJSONLong.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-25
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/boxing/SerializableJSONLong.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONLong.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONLong::SerializableJSONLong(const std::shared_ptr<ls_std::Long> &_value) : ls_std::Class("SerializableJSONLong")

+ 2 - 2
source/ls_std/serialization/json/boxing/SerializableJSONString.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-30
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/boxing/SerializableJSONString.hpp>
+#include <ls_std/serialization/json/boxing/SerializableJSONString.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONString::SerializableJSONString(const std::shared_ptr<ls_std::String> &_value) : ls_std::Class("SerializableJSONString")

+ 2 - 2
source/ls_std/serialization/json/event/SerializableJSONEvent.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-12-07
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/event/SerializableJSONEvent.hpp>
+#include <ls_std/serialization/json/event/SerializableJSONEvent.hpp>
 #include <ls_std/exception/NullPointerException.hpp>
 
 ls_std::SerializableJSONEvent::SerializableJSONEvent(const std::shared_ptr<ls_std::Event> &_value) : ls_std::Class("SerializableJSONEvent")

+ 3 - 3
source/ls_std/serialization/json/logic/SerializableJSONState.cpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-15
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/logic/SerializableJSONState.hpp>
-#include <ls_std/serialization/logic/SerializableJSONStateConnection.hpp>
+#include <ls_std/serialization/json/logic/SerializableJSONState.hpp>
+#include <ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONState::SerializableJSONState(const std::shared_ptr<ls_std::State> &_value) : ls_std::Class("SerializableJSONState")

+ 2 - 2
source/ls_std/serialization/json/logic/SerializableJSONStateConnection.cpp

@@ -3,11 +3,11 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-14
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/logic/SerializableJSONStateConnection.hpp>
+#include <ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONStateConnection::SerializableJSONStateConnection(const std::shared_ptr<ls_std::StateConnection> &_value) : ls_std::Class("SerializableJSONStateConnection")

+ 3 - 3
source/ls_std/serialization/json/logic/SerializableJSONStateMachine.cpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-09-17
- * Changed:         2021-04-23
+ * Changed:         2021-05-01
  *
  * */
 
-#include <ls_std/serialization/logic/SerializableJSONStateMachine.hpp>
-#include <ls_std/serialization/logic/SerializableJSONState.hpp>
+#include <ls_std/serialization/json/logic/SerializableJSONStateMachine.hpp>
+#include <ls_std/serialization/json/logic/SerializableJSONState.hpp>
 #include <ls_std/exception/IllegalArgumentException.hpp>
 
 ls_std::SerializableJSONStateMachine::SerializableJSONStateMachine(const std::shared_ptr<ls_std::StateMachine> &_value) : ls_std::Class("SerializableJSONStateMachine")