Browse Source

Remove unnecessary dynamic goal annotations

Patrick-Christopher Mattulat 2 years ago
parent
commit
1a75dcae5c

+ 2 - 3
include/ls_std/core/exception/EventNotHandledException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-05-27
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -11,7 +11,6 @@
 #define LS_STD_EVENT_NOT_HANDLED_EXCEPTION_HPP
 
 #include <exception>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL EventNotHandledException : public ::std::exception
+      class EventNotHandledException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/EventNotSubscribedException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-05-27
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -11,7 +11,6 @@
 #define LS_STD_EVENT_NOT_SUBSCRIBED_EXCEPTION_HPP
 
 #include <exception>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL EventNotSubscribedException : public ::std::exception
+      class EventNotSubscribedException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/FileNotFoundException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -13,7 +13,6 @@
 #include <exception>
 #include <string>
 #include <cstring>
-#include <ls_std/os/dynamic_goal.hpp>
 
 //TODO: pass parameters, use class, show class name
 namespace ls
@@ -22,7 +21,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL FileNotFoundException : public ::std::exception
+      class FileNotFoundException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/FileOperationException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -12,7 +12,6 @@
 
 #include <exception>
 #include <string>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -20,7 +19,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL FileOperationException : public ::std::exception
+      class FileOperationException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/IllegalArgumentException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-09
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -11,7 +11,6 @@
 #define LS_STD_ILLEGAL_ARGUMENT_EXCEPTION_HPP
 
 #include <exception>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL IllegalArgumentException : public ::std::exception
+      class IllegalArgumentException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/IllegalArithmeticOperationException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -11,7 +11,6 @@
 #define LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
 
 #include <exception>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL IllegalArithmeticOperationException : public ::std::exception
+      class IllegalArithmeticOperationException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/IncompleteJsonException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2021-04-30
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -11,7 +11,6 @@
 #define LS_STD_INCOMPLETE_JSON_EXCEPTION_HPP
 
 #include <exception>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL IncompleteJsonException : public ::std::exception
+      class IncompleteJsonException : public ::std::exception
       {
         public:
 

+ 2 - 3
include/ls_std/core/exception/NullPointerException.hpp

@@ -3,7 +3,7 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-11-06
- * Changed:         2022-06-29
+ * Changed:         2022-07-01
  *
  * */
 
@@ -11,7 +11,6 @@
 #define LS_STD_NULL_POINTER_EXCEPTION_HPP
 
 #include <exception>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace core
     {
-      class DYNAMIC_GOAL NullPointerException : public ::std::exception
+      class NullPointerException : public ::std::exception
       {
         public:
 

+ 1 - 2
include/ls_std/io/FilePathSeparatorMatch.hpp

@@ -11,7 +11,6 @@
 #define LS_STD_FILE_PATH_MATCH_HPP
 
 #include "FilePathSeparator.hpp"
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace io
     {
-      struct DYNAMIC_GOAL FilePathSeparatorMatch
+      struct FilePathSeparatorMatch
       {
         bool operator()(char _char) const
         {

+ 1 - 2
include/ls_std/io/NewLine.hpp

@@ -11,7 +11,6 @@
 #define LS_STD_NEW_LINE_HPP
 
 #include <string>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace io
     {
-      class DYNAMIC_GOAL NewLine
+      class NewLine
       {
         public:
 

+ 1 - 2
include/ls_std/io/kv/KvParseParameter.hpp

@@ -11,7 +11,6 @@
 #define LS_STD_KV_PARSE_DATA_HPP
 
 #include <string>
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -19,7 +18,7 @@ namespace ls
   {
     namespace io
     {
-      struct DYNAMIC_GOAL KvParseParameter
+      struct KvParseParameter
       {
         ::std::string::size_type index{};
         ::std::string line{};

+ 1 - 3
include/ls_std/io/logging/LogLevelValue.hpp

@@ -10,15 +10,13 @@
 #ifndef LS_STD_LOG_LEVEL_VALUE_HPP
 #define LS_STD_LOG_LEVEL_VALUE_HPP
 
-#include <ls_std/os/dynamic_goal.hpp>
-
 namespace ls
 {
   namespace std
   {
     namespace io
     {
-      enum DYNAMIC_GOAL LogLevelValue
+      enum LogLevelValue
       {
         FATAL = 0, ERR, WARN, INFO, DEBUG, TRACE
       };

+ 1 - 3
include/ls_std/io/xml/XmlParseMode.hpp

@@ -10,15 +10,13 @@
 #ifndef LS_STD_XML_PARSE_MODE_HPP
 #define LS_STD_XML_PARSE_MODE_HPP
 
-#include <ls_std/os/dynamic_goal.hpp>
-
 namespace ls
 {
   namespace std
   {
     namespace io
     {
-      enum DYNAMIC_GOAL XmlParseMode
+      enum XmlParseMode
       {
         XML_PARSE_MODE_ANALYZE = 0, XML_PARSE_MODE_DECLARATION, XML_PARSE_MODE_OPENING_TAG, XML_PARSE_MODE_VALUE, XML_PARSE_MODE_CLOSING_TAG
       };

+ 1 - 2
include/ls_std/io/xml/XmlParseParameter.hpp

@@ -13,7 +13,6 @@
 #include <cstdint>
 #include <memory>
 #include "XmlNode.hpp"
-#include <ls_std/os/dynamic_goal.hpp>
 
 namespace ls
 {
@@ -21,7 +20,7 @@ namespace ls
   {
     namespace io
     {
-      struct DYNAMIC_GOAL XmlParseParameter
+      struct XmlParseParameter
       {
         uint8_t level{};
         ::std::shared_ptr<ls::std::io::XmlNode> node{};