Browse Source

Introduced common approach for header pre-processor naming

pcmattulat 4 years ago
parent
commit
0597db595c

+ 3 - 3
source/base/Class.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2020-08-07
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef CLASS_HPP
-#define CLASS_HPP
+#ifndef LS_STD_CLASS_HPP
+#define LS_STD_CLASS_HPP
 
 #include <string>
 

+ 3 - 3
source/base/Types.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2020-08-26
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef TYPES_HPP
-#define TYPES_HPP
+#ifndef LS_STD_TYPES_HPP
+#define LS_STD_TYPES_HPP
 
 #include <string>
 

+ 3 - 3
source/boxing/Boolean.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-09
- * Changed:         2020-08-16
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef BOOLEAN_HPP
-#define BOOLEAN_HPP
+#ifndef LS_STD_BOOLEAN_HPP
+#define LS_STD_BOOLEAN_HPP
 
 #include "../base/Class.hpp"
 #include "IBoxing.hpp"

+ 3 - 3
source/boxing/Double.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2020-08-16
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef DOUBLE_HPP
-#define DOUBLE_HPP
+#ifndef LS_STD_DOUBLE_HPP
+#define LS_STD_DOUBLE_HPP
 
 #include "../base/Class.hpp"
 #include "IBoxing.hpp"

+ 3 - 3
source/boxing/Float.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2020-08-16
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FLOAT_HPP
-#define FLOAT_HPP
+#ifndef LS_STD_FLOAT_HPP
+#define LS_STD_FLOAT_HPP
 
 #include "../base/Class.hpp"
 #include "IBoxing.hpp"

+ 3 - 3
source/boxing/IBoxing.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2020-08-16
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef I_BOXING_HPP
-#define I_BOXING_HPP
+#ifndef LS_STD_I_BOXING_HPP
+#define LS_STD_I_BOXING_HPP
 
 #include <string>
 

+ 3 - 3
source/boxing/Integer.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2020-08-25
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef INTEGER_HPP
-#define INTEGER_HPP
+#ifndef LS_STD_INTEGER_HPP
+#define LS_STD_INTEGER_HPP
 
 #include <memory>
 #include "../base/Class.hpp"

+ 3 - 3
source/boxing/Long.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-27
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef LONG_HPP
-#define LONG_HPP
+#ifndef LS_STD_LONG_HPP
+#define LS_STD_LONG_HPP
 
 #include <memory>
 #include "../base/Class.hpp"

+ 3 - 3
source/boxing/String.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2020-08-30
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef STRING_HPP
-#define STRING_HPP
+#ifndef LS_STD_STRING_HPP
+#define LS_STD_STRING_HPP
 
 #include "IBoxing.hpp"
 #include "../base/Class.hpp"

+ 3 - 3
source/exception/FileNotFoundException.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-20
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_NOT_FOUND_EXCEPTION_HPP
-#define FILE_NOT_FOUND_EXCEPTION_HPP
+#ifndef LS_STD_FILE_NOT_FOUND_EXCEPTION_HPP
+#define LS_STD_FILE_NOT_FOUND_EXCEPTION_HPP
 
 #include <exception>
 #include <string>

+ 3 - 3
source/exception/FileOperationException.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2020-08-17
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_OPERATION_EXCEPTION_HPP
-#define FILE_OPERATION_EXCEPTION_HPP
+#ifndef LS_STD_FILE_OPERATION_EXCEPTION_HPP
+#define LS_STD_FILE_OPERATION_EXCEPTION_HPP
 
 #include <exception>
 #include <string>

+ 3 - 3
source/exception/IllegalArgumentException.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-09
- * Changed:         2020-08-17
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef ILLEGAL_ARGUMENT_EXCEPTION_HPP
-#define ILLEGAL_ARGUMENT_EXCEPTION_HPP
+#ifndef LS_STD_ILLEGAL_ARGUMENT_EXCEPTION_HPP
+#define LS_STD_ILLEGAL_ARGUMENT_EXCEPTION_HPP
 
 #include <exception>
 

+ 3 - 3
source/exception/IllegalArithmeticOperationException.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-07
- * Changed:         2020-08-17
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef ILLEGAL_OPERATION_EXCEPTION_HPP
-#define ILLEGAL_OPERATION_EXCEPTION_HPP
+#ifndef LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
+#define LS_STD_ILLEGAL_OPERATION_EXCEPTION_HPP
 
 #include <exception>
 

+ 3 - 3
source/io/File.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2020-08-19
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_HPP
-#define FILE_HPP
+#ifndef LS_STD_FILE_HPP
+#define LS_STD_FILE_HPP
 
 #include "../base/Class.hpp"
 #include <string>

+ 3 - 3
source/io/FileOutputStream.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-08-25
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_OUTPUT_STREAM_HPP
-#define FILE_OUTPUT_STREAM_HPP
+#ifndef LS_STD_FILE_OUTPUT_STREAM_HPP
+#define LS_STD_FILE_OUTPUT_STREAM_HPP
 
 #include "../base/Class.hpp"
 #include "File.hpp"

+ 3 - 3
source/io/FilePathSeparatorMatch.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-15
- * Changed:         2020-08-17
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_PATH_MATCH_HPP
-#define FILE_PATH_MATCH_HPP
+#ifndef LS_STD_FILE_PATH_MATCH_HPP
+#define LS_STD_FILE_PATH_MATCH_HPP
 
 #include "FilePathSeparator.hpp"
 

+ 3 - 3
source/io/FileReader.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-25
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_READER_HPP
-#define FILE_READER_HPP
+#ifndef LS_STD_FILE_READER_HPP
+#define LS_STD_FILE_READER_HPP
 
 #include "../base/Class.hpp"
 #include "File.hpp"

+ 3 - 3
source/io/FileWriter.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-25
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef FILE_WRITER_HPP
-#define FILE_WRITER_HPP
+#ifndef LS_STD_FILE_WRITER_HPP
+#define LS_STD_FILE_WRITER_HPP
 
 #include "../base/Class.hpp"
 #include "IWriter.hpp"

+ 3 - 3
source/io/IReader.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-23
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef I_READER_HPP
-#define I_READER_HPP
+#ifndef LS_STD_I_READER_HPP
+#define LS_STD_I_READER_HPP
 
 #include "../base/Types.hpp"
 

+ 3 - 3
source/io/IStorable.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-19
- * Changed:         2020-08-23
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef I_STORABLE_HPP
-#define I_STORABLE_HPP
+#ifndef LS_STD_I_STORABLE_HPP
+#define LS_STD_I_STORABLE_HPP
 
 #include "../base/Types.hpp"
 

+ 3 - 3
source/io/IWriter.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-23
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef I_WRITER_HPP
-#define I_WRITER_HPP
+#ifndef LS_STD_I_WRITER_HPP
+#define LS_STD_I_WRITER_HPP
 
 #include <vector>
 #include "../base/Types.hpp"

+ 3 - 3
source/io/NewLine.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2020-08-18
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef NEW_LINE_HPP
-#define NEW_LINE_HPP
+#ifndef LS_STD_NEW_LINE_HPP
+#define LS_STD_NEW_LINE_HPP
 
 #include <string>
 

+ 3 - 3
source/io/StorableFile.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-19
- * Changed:         2020-08-25
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef STORABLE_FILE_HPP
-#define STORABLE_FILE_HPP
+#ifndef LS_STD_STORABLE_FILE_HPP
+#define LS_STD_STORABLE_FILE_HPP
 
 #include <string>
 #include <memory>

+ 3 - 3
source/io/logging/LogLevel.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-08-20
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef LOG_LEVEL_HPP
-#define LOG_LEVEL_HPP
+#ifndef LS_STD_LOG_LEVEL_HPP
+#define LS_STD_LOG_LEVEL_HPP
 
 #include <unordered_map>
 #include "../../base/Class.hpp"

+ 3 - 3
source/io/logging/LogLevelValue.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-08-20
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef LOG_LEVEL_VALUE_HPP
-#define LOG_LEVEL_VALUE_HPP
+#ifndef LS_STD_LOG_LEVEL_VALUE_HPP
+#define LS_STD_LOG_LEVEL_VALUE_HPP
 
 namespace ls_std {
   enum LogLevelValue {

+ 3 - 3
source/io/logging/Logger.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-20
- * Changed:         2020-08-21
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef LOGGER_HPP
-#define LOGGER_HPP
+#ifndef LS_STD_LOGGER_HPP
+#define LS_STD_LOGGER_HPP
 
 #include "../../base/Class.hpp"
 #include "LogLevel.hpp"

+ 3 - 3
source/serialization/ISerializable.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-21
- * Changed:         2020-08-23
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef SERIALIZABLE_HPP
-#define SERIALIZABLE_HPP
+#ifndef LS_STD_SERIALIZABLE_HPP
+#define LS_STD_SERIALIZABLE_HPP
 
 #include "../base/Types.hpp"
 

+ 2 - 2
source/serialization/boxing/SerializableJSONDouble.hpp

@@ -7,8 +7,8 @@
  *
  * */
 
-#ifndef SERIALIZABLE_JSON_DOUBLE_HPP
-#define SERIALIZABLE_JSON_DOUBLE_HPP
+#ifndef LS_STD_SERIALIZABLE_JSON_DOUBLE_HPP
+#define LS_STD_SERIALIZABLE_JSON_DOUBLE_HPP
 
 #include <memory>
 #include <json.hpp>

+ 2 - 2
source/serialization/boxing/SerializableJSONFloat.hpp

@@ -7,8 +7,8 @@
  *
  * */
 
-#ifndef SERIALIZABLE_JSON_FLOAT_HPP
-#define SERIALIZABLE_JSON_FLOAT_HPP
+#ifndef LS_STD_SERIALIZABLE_JSON_FLOAT_HPP
+#define LS_STD_SERIALIZABLE_JSON_FLOAT_HPP
 
 #include <memory>
 #include <json.hpp>

+ 2 - 2
source/serialization/boxing/SerializableJSONInteger.hpp

@@ -7,8 +7,8 @@
  *
  * */
 
-#ifndef SERIALIZABLE_JSON_INTEGER_HPP
-#define SERIALIZABLE_JSON_INTEGER_HPP
+#ifndef LS_STD_SERIALIZABLE_JSON_INTEGER_HPP
+#define LS_STD_SERIALIZABLE_JSON_INTEGER_HPP
 
 #include "../../base/Class.hpp"
 #include "../ISerializable.hpp"

+ 2 - 2
source/serialization/boxing/SerializableJSONLong.hpp

@@ -7,8 +7,8 @@
  *
  * */
 
-#ifndef SERIALIZABLE_JSON_LONG_HPP
-#define SERIALIZABLE_JSON_LONG_HPP
+#ifndef LS_STD_SERIALIZABLE_JSON_LONG_HPP
+#define LS_STD_SERIALIZABLE_JSON_LONG_HPP
 
 #include "../../base/Class.hpp"
 #include "../ISerializable.hpp"

+ 3 - 3
source/serialization/boxing/SerializableJSONString.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-30
- * Changed:         2020-08-30
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef SERIALIZABLE_JSON_STRING_HPP
-#define SERIALIZABLE_JSON_STRING_HPP
+#ifndef LS_STD_SERIALIZABLE_JSON_STRING_HPP
+#define LS_STD_SERIALIZABLE_JSON_STRING_HPP
 
 #include <memory>
 #include <json.hpp>

+ 3 - 3
source/time/Date.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-14
- * Changed:         2020-08-21
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef DATE_HPP
-#define DATE_HPP
+#ifndef LS_STD_DATE_HPP
+#define LS_STD_DATE_HPP
 
 #include "../base/Class.hpp"
 #include <ctime>

+ 3 - 3
source/utils/RegexUtils.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-18
- * Changed:         2020-08-18
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef REGEX_UTILS_HPP
-#define REGEX_UTILS_HPP
+#ifndef LS_STD_REGEX_UTILS_HPP
+#define LS_STD_REGEX_UTILS_HPP
 
 #include <string>
 #include <regex>

+ 3 - 3
source/utils/STLUtils.hpp

@@ -3,12 +3,12 @@
  * Company:         Lynar Studios
  * E-Mail:          webmaster@lynarstudios.com
  * Created:         2020-08-17
- * Changed:         2020-08-17
+ * Changed:         2020-09-04
  *
  * */
 
-#ifndef STL_UTILS_HPP
-#define STL_UTILS_HPP
+#ifndef LS_STD_STL_UTILS_HPP
+#define LS_STD_STL_UTILS_HPP
 
 #include <algorithm>