Browse Source

Add parent include directory

Patrick 4 years ago
parent
commit
04429c4db2
40 changed files with 42 additions and 42 deletions
  1. 3 3
      CMakeLists.txt
  2. 0 0
      include/ls_std/base/Class.hpp
  3. 0 0
      include/ls_std/base/Types.hpp
  4. 0 0
      include/ls_std/base/Version.hpp
  5. 1 1
      source/ls_std/base/Class.cpp
  6. 1 1
      source/ls_std/base/Version.cpp
  7. 1 1
      source/ls_std/boxing/Boolean.hpp
  8. 1 1
      source/ls_std/boxing/Double.hpp
  9. 1 1
      source/ls_std/boxing/Float.hpp
  10. 1 1
      source/ls_std/boxing/Integer.hpp
  11. 2 2
      source/ls_std/boxing/Long.hpp
  12. 1 1
      source/ls_std/boxing/String.hpp
  13. 1 1
      source/ls_std/io/File.hpp
  14. 1 1
      source/ls_std/io/FileOutputStream.hpp
  15. 1 1
      source/ls_std/io/FileReader.hpp
  16. 1 1
      source/ls_std/io/FileWriter.hpp
  17. 1 1
      source/ls_std/io/IReader.hpp
  18. 1 1
      source/ls_std/io/IStorable.hpp
  19. 1 1
      source/ls_std/io/IWriter.hpp
  20. 1 1
      source/ls_std/io/logging/LogLevel.hpp
  21. 1 1
      source/ls_std/io/logging/Logger.hpp
  22. 1 1
      source/ls_std/io/xml/XMLAttribute.hpp
  23. 1 1
      source/ls_std/io/xml/XMLDeclaration.hpp
  24. 1 1
      source/ls_std/io/xml/XMLDocument.hpp
  25. 1 1
      source/ls_std/io/xml/XMLNode.hpp
  26. 1 1
      source/ls_std/io/xml/XMLReader.hpp
  27. 1 1
      source/ls_std/logic/State.hpp
  28. 1 1
      source/ls_std/logic/StateConnection.hpp
  29. 1 1
      source/ls_std/logic/StateMachine.hpp
  30. 3 3
      source/ls_std/ls_std.hpp
  31. 1 1
      source/ls_std/serialization/ISerializable.hpp
  32. 1 1
      source/ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp
  33. 1 1
      source/ls_std/serialization/json/boxing/SerializableJSONDouble.hpp
  34. 1 1
      source/ls_std/serialization/json/boxing/SerializableJSONFloat.hpp
  35. 1 1
      source/ls_std/serialization/json/boxing/SerializableJSONInteger.hpp
  36. 1 1
      source/ls_std/serialization/json/boxing/SerializableJSONLong.hpp
  37. 1 1
      source/ls_std/serialization/json/logic/SerializableJSONState.hpp
  38. 1 1
      source/ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp
  39. 1 1
      source/ls_std/serialization/json/logic/SerializableJSONStateMachine.hpp
  40. 1 1
      source/ls_std/time/Date.hpp

+ 3 - 3
CMakeLists.txt

@@ -39,12 +39,12 @@ add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/test/lib/googletest-1.8.1)
 
 set(SOURCE_FILES
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Integer.hpp
-        ${CMAKE_CURRENT_SOURCE_DIR}/include/base/Class.hpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/include/ls_std/base/Class.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Class.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Integer.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/IBoxing.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/exception/IllegalArithmeticOperationException.hpp
-        ${CMAKE_CURRENT_SOURCE_DIR}/include/base/Types.hpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/include/ls_std/base/Types.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Boolean.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/boxing/Boolean.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/exception/IllegalArgumentException.hpp
@@ -115,7 +115,7 @@ set(SOURCE_FILES
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLNode.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDocument.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDeclaration.hpp
-        ${CMAKE_CURRENT_SOURCE_DIR}/include/base/Version.hpp
+        ${CMAKE_CURRENT_SOURCE_DIR}/include/ls_std/base/Version.hpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/base/Version.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDeclaration.cpp
         ${CMAKE_CURRENT_SOURCE_DIR}/source/ls_std/io/xml/XMLDocument.cpp

+ 0 - 0
include/base/Class.hpp → include/ls_std/base/Class.hpp


+ 0 - 0
include/base/Types.hpp → include/ls_std/base/Types.hpp


+ 0 - 0
include/base/Version.hpp → include/ls_std/base/Version.hpp


+ 1 - 1
source/ls_std/base/Class.cpp

@@ -7,7 +7,7 @@
  *
  * */
 
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 
 ls_std::Class::Class(std::string _name):
 name(std::move(_name))

+ 1 - 1
source/ls_std/base/Version.cpp

@@ -8,7 +8,7 @@
  * */
 
 #include <regex>
-#include "../../../include/base/Version.hpp"
+#include "../../../include/ls_std/base/Version.hpp"
 
 ls_std::Version::Version(version_type _majorVersion, version_type _minorVersion, version_type _patchVersion) :
 majorVersion(_majorVersion),

+ 1 - 1
source/ls_std/boxing/Boolean.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_BOOLEAN_HPP
 
 #include <memory>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "IBoxing.hpp"
 #include "../serialization/ISerializable.hpp"
 #include "../io/IStorable.hpp"

+ 1 - 1
source/ls_std/boxing/Double.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_DOUBLE_HPP
 
 #include <memory>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "IBoxing.hpp"
 #include "../serialization/ISerializable.hpp"
 #include "../io/IStorable.hpp"

+ 1 - 1
source/ls_std/boxing/Float.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_FLOAT_HPP
 
 #include <memory>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "IBoxing.hpp"
 #include "../serialization/ISerializable.hpp"
 #include "../io/IStorable.hpp"

+ 1 - 1
source/ls_std/boxing/Integer.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_INTEGER_HPP
 
 #include <memory>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "IBoxing.hpp"
 #include "../serialization/ISerializable.hpp"
 #include "../io/IStorable.hpp"

+ 2 - 2
source/ls_std/boxing/Long.hpp

@@ -11,9 +11,9 @@
 #define LS_STD_LONG_HPP
 
 #include <memory>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "IBoxing.hpp"
-#include "../../../include/base/Types.hpp"
+#include "../../../include/ls_std/base/Types.hpp"
 #include "../serialization/ISerializable.hpp"
 #include "../io/IStorable.hpp"
 

+ 1 - 1
source/ls_std/boxing/String.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_STRING_HPP
 
 #include "IBoxing.hpp"
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "../serialization/ISerializable.hpp"
 #include "../io/IStorable.hpp"
 #include <string>

+ 1 - 1
source/ls_std/io/File.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_FILE_HPP
 #define LS_STD_FILE_HPP
 
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include <string>
 #include <vector>
 #include <list>

+ 1 - 1
source/ls_std/io/FileOutputStream.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_FILE_OUTPUT_STREAM_HPP
 #define LS_STD_FILE_OUTPUT_STREAM_HPP
 
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "File.hpp"
 #include "IWriter.hpp"
 #include <fstream>

+ 1 - 1
source/ls_std/io/FileReader.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_FILE_READER_HPP
 #define LS_STD_FILE_READER_HPP
 
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "File.hpp"
 #include "IReader.hpp"
 

+ 1 - 1
source/ls_std/io/FileWriter.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_FILE_WRITER_HPP
 #define LS_STD_FILE_WRITER_HPP
 
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "IWriter.hpp"
 #include "File.hpp"
 

+ 1 - 1
source/ls_std/io/IReader.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_I_READER_HPP
 #define LS_STD_I_READER_HPP
 
-#include "../../../include/base/Types.hpp"
+#include "../../../include/ls_std/base/Types.hpp"
 
 namespace ls_std {
   class IReader {

+ 1 - 1
source/ls_std/io/IStorable.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_I_STORABLE_HPP
 #define LS_STD_I_STORABLE_HPP
 
-#include "../../../include/base/Types.hpp"
+#include "../../../include/ls_std/base/Types.hpp"
 
 namespace ls_std {
   class IStorable {

+ 1 - 1
source/ls_std/io/IWriter.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_I_WRITER_HPP
 
 #include <vector>
-#include "../../../include/base/Types.hpp"
+#include "../../../include/ls_std/base/Types.hpp"
 
 namespace ls_std {
   class IWriter {

+ 1 - 1
source/ls_std/io/logging/LogLevel.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_LOG_LEVEL_HPP
 
 #include <unordered_map>
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include "LogLevelValue.hpp"
 
 namespace ls_std {

+ 1 - 1
source/ls_std/io/logging/Logger.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_LOGGER_HPP
 #define LS_STD_LOGGER_HPP
 
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include "LogLevel.hpp"
 #include "../IWriter.hpp"
 #include "../File.hpp"

+ 1 - 1
source/ls_std/io/xml/XMLAttribute.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_XML_ATTRIBUTE_HPP
 #define LS_STD_XML_ATTRIBUTE_HPP
 
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include <string>
 
 namespace ls_std {

+ 1 - 1
source/ls_std/io/xml/XMLDeclaration.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_XML_DECLARATION_HPP
 #define LS_STD_XML_DECLARATION_HPP
 
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include "XMLAttribute.hpp"
 
 namespace ls_std {

+ 1 - 1
source/ls_std/io/xml/XMLDocument.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_XML_DOCUMENT_HPP
 
 #include <memory>
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include "XMLNode.hpp"
 #include "XMLDeclaration.hpp"
 

+ 1 - 1
source/ls_std/io/xml/XMLNode.hpp

@@ -12,7 +12,7 @@
 
 #include <list>
 #include <memory>
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include "XMLAttribute.hpp"
 
 namespace ls_std {

+ 1 - 1
source/ls_std/io/xml/XMLReader.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_XML_READER_HPP
 #define LS_STD_XML_READER_HPP
 
-#include "../../../../include/base/Class.hpp"
+#include "../../../../include/ls_std/base/Class.hpp"
 #include "XMLDocument.hpp"
 #include "../IReader.hpp"
 #include "../File.hpp"

+ 1 - 1
source/ls_std/logic/State.hpp

@@ -12,7 +12,7 @@
 
 #include <memory>
 #include <unordered_map>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "StateMachineTypes.hpp"
 #include "StateConnection.hpp"
 

+ 1 - 1
source/ls_std/logic/StateConnection.hpp

@@ -11,7 +11,7 @@
 #define LS_STD_STATE_CONNECTION_HPP
 
 #include <memory>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "StateMachineTypes.hpp"
 
 namespace ls_std {

+ 1 - 1
source/ls_std/logic/StateMachine.hpp

@@ -14,7 +14,7 @@
 #include <unordered_map>
 #include <string>
 #include <vector>
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include "State.hpp"
 #include "StateMachineTypes.hpp"
 

+ 3 - 3
source/ls_std/ls_std.hpp

@@ -10,9 +10,9 @@
 #ifndef LS_STD_LS_STD_HPP
 #define LS_STD_LS_STD_HPP
 
-#include "../../include/base/Class.hpp"
-#include "../../include/base/Types.hpp"
-#include "../../include/base/Version.hpp"
+#include "../../include/ls_std/base/Class.hpp"
+#include "../../include/ls_std/base/Types.hpp"
+#include "../../include/ls_std/base/Version.hpp"
 
 #include "boxing/IBoxing.hpp"
 #include "boxing/Boolean.hpp"

+ 1 - 1
source/ls_std/serialization/ISerializable.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_SERIALIZABLE_HPP
 #define LS_STD_SERIALIZABLE_HPP
 
-#include "../../../include/base/Types.hpp"
+#include "../../../include/ls_std/base/Types.hpp"
 
 namespace ls_std {
   class ISerializable {

+ 1 - 1
source/ls_std/serialization/json/boxing/SerializableJSONBoolean.hpp

@@ -12,7 +12,7 @@
 
 #include <memory>
 #include <json.hpp>
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../boxing/Boolean.hpp"
 

+ 1 - 1
source/ls_std/serialization/json/boxing/SerializableJSONDouble.hpp

@@ -12,7 +12,7 @@
 
 #include <memory>
 #include <json.hpp>
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../boxing/Double.hpp"
 

+ 1 - 1
source/ls_std/serialization/json/boxing/SerializableJSONFloat.hpp

@@ -12,7 +12,7 @@
 
 #include <memory>
 #include <json.hpp>
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../boxing/Float.hpp"
 

+ 1 - 1
source/ls_std/serialization/json/boxing/SerializableJSONInteger.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_SERIALIZABLE_JSON_INTEGER_HPP
 #define LS_STD_SERIALIZABLE_JSON_INTEGER_HPP
 
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../boxing/Integer.hpp"
 #include <json.hpp>

+ 1 - 1
source/ls_std/serialization/json/boxing/SerializableJSONLong.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_SERIALIZABLE_JSON_LONG_HPP
 #define LS_STD_SERIALIZABLE_JSON_LONG_HPP
 
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../boxing/Long.hpp"
 #include <json.hpp>

+ 1 - 1
source/ls_std/serialization/json/logic/SerializableJSONState.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_SERIALIZABLE_JSON_STATE_HPP
 #define LS_STD_SERIALIZABLE_JSON_STATE_HPP
 
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../logic/State.hpp"
 #include <memory>

+ 1 - 1
source/ls_std/serialization/json/logic/SerializableJSONStateConnection.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_SERIALIZABLE_JSON_STATE_CONNECTION_HPP
 #define LS_STD_SERIALIZABLE_JSON_STATE_CONNECTION_HPP
 
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../logic/StateConnection.hpp"
 #include <memory>

+ 1 - 1
source/ls_std/serialization/json/logic/SerializableJSONStateMachine.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_SERIALIZABLE_JSON_STATE_MACHINE_HPP
 #define LS_STD_SERIALIZABLE_JSON_STATE_MACHINE_HPP
 
-#include "../../../../../include/base/Class.hpp"
+#include "../../../../../include/ls_std/base/Class.hpp"
 #include "../../ISerializable.hpp"
 #include "../../../logic/StateMachine.hpp"
 #include <memory>

+ 1 - 1
source/ls_std/time/Date.hpp

@@ -10,7 +10,7 @@
 #ifndef LS_STD_DATE_HPP
 #define LS_STD_DATE_HPP
 
-#include "../../../include/base/Class.hpp"
+#include "../../../include/ls_std/base/Class.hpp"
 #include <ctime>
 
 namespace ls_std {