mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-04-07 12:18:40 +00:00
chore: replace all usages of removed ClassUtils macros
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "DataDefinition.h"
|
||||
#include "DeclarationModifier.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "TypeDeclaration.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "IEvaluation.h"
|
||||
#include "OperationType.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "Domain/Evaluation/OperationType.h"
|
||||
#include "Parsing/IParserValue.h"
|
||||
#include "Parsing/TokenPos.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "Parsing/Commands/Impl/CommandsParser.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "IHeaderBlock.h"
|
||||
#include "IHeaderBlockNameHolder.h"
|
||||
#include "IHeaderBlockVariableDefining.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "Parsing/Header/Block/IHeaderBlock.h"
|
||||
#include "Parsing/IPackValueSupplier.h"
|
||||
#include "Persistence/IDataRepository.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
#include "Utils/NamespaceBuilder.h"
|
||||
|
||||
#include <memory>
|
||||
@@ -23,7 +22,7 @@ class HeaderParserState
|
||||
public:
|
||||
explicit HeaderParserState(const IPackValueSupplier* packValueSupplier);
|
||||
|
||||
_NODISCARD IHeaderBlock* GetBlock() const;
|
||||
[[nodiscard]] IHeaderBlock* GetBlock() const;
|
||||
void PushBlock(std::unique_ptr<IHeaderBlock> block);
|
||||
void PopBlock();
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "Parsing/IParserValue.h"
|
||||
#include "Parsing/TokenPos.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "Domain/Environment/Architecture.h"
|
||||
#include "Domain/FastFile/FastFileBlock.h"
|
||||
#include "Domain/Information/StructureInformation.h"
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "Utils/ClassUtils.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -12,7 +10,7 @@ class NamespaceBuilder
|
||||
public:
|
||||
static std::string Combine(const std::string& _namespace, const std::string& name);
|
||||
|
||||
_NODISCARD bool IsEmpty() const;
|
||||
[[nodiscard]] bool IsEmpty() const;
|
||||
void Push(std::string element);
|
||||
void Pop();
|
||||
std::string ToString();
|
||||
|
||||
@@ -81,7 +81,7 @@ private:
|
||||
prettyPrinter.PrintAll();
|
||||
}
|
||||
|
||||
_NODISCARD bool GenerateCode() const
|
||||
[[nodiscard]] bool GenerateCode() const
|
||||
{
|
||||
CodeGenerator codeGenerator(&m_args);
|
||||
return codeGenerator.GenerateCode(m_repository.get());
|
||||
|
||||
Reference in New Issue
Block a user