From 1008347fcb6da7fa8a48c1b18295ec45fd4818ea Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 12 Sep 2025 20:27:15 +0300 Subject: [PATCH 1/3] Initial commit with task details for issue #140 Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: https://github.com/linksplatform/Interfaces/issues/140 --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..399378f --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,5 @@ +Issue to solve: https://github.com/linksplatform/Interfaces/issues/140 +Your prepared branch: issue-140-e963e2c5 +Your prepared working directory: /tmp/gh-issue-solver-1757698029893 + +Proceed. \ No newline at end of file From acc9e539d5d3c126d17b9ac0664d0b564dc29d54 Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 12 Sep 2025 20:37:01 +0300 Subject: [PATCH 2/3] Rename repository from Interfaces to Abstractions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This comprehensive refactoring renames: - C++ namespace Platform::Interfaces → Platform::Abstractions - C# namespace Platform.Interfaces → Platform.Abstractions - All project files, directories, and package configurations - Documentation and build workflow references - Maintains backward compatibility for external package references 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/deploy-cpp.yml | 2 +- .gitpod.yml | 4 ++-- README.md | 24 +++++++++---------- cpp/CMakeLists.txt | 2 +- ...bstractions.TemplateLibrary.Tests.vcxproj} | 10 ++++---- ...ons.TemplateLibrary.Tests.vcxproj.filters} | 0 .../Platform.Abstractions.Tests.cpp} | 6 ++--- .../pch.cpp | 0 .../pch.h | 2 +- .../CArray.h | 4 ++-- .../CCounter.h | 4 ++-- .../CCriterionMatcher.h | 4 ++-- .../CDictionary.h | 4 ++-- .../CEnumerable.h | 4 ++-- .../CFactory.h | 4 ++-- .../CLinkAddress.h | 2 +- .../CList.h | 4 ++-- .../CProperties.h | 4 ++-- .../CProperty.h | 2 +- .../CProvider.h | 4 ++-- .../CSet.h | 4 ++-- .../CSetter.h | 4 ++-- .../Decorated.h | 4 ++-- .../DecoratedBase.h | 4 ++-- .../DecoratorBase.h | 4 ++-- .../Extended.h | 4 ++-- .../ExtendedBase.h | 4 ++-- .../ExtendedContainer.h | 4 ++-- .../ExtendedContainerBase.h | 4 ++-- .../ExtendedReference.h | 4 ++-- .../ExtendedReferenceBase.h | 4 ++-- .../ICounter[TResult, TArgument].h | 4 ++-- .../ICounter[TResult].h | 4 ++-- .../ICriterionMatcher.h | 4 ++-- .../IFactory.h | 4 ++-- .../IProperties.h | 4 ++-- .../IProperty.h | 4 ++-- .../IProvider[TProvided, TArgument].h | 4 ++-- .../IProvider[TProvided].h | 4 ++-- .../ISetter[TValue, TArgument].h | 4 ++-- .../ISetter[TValue].h | 4 ++-- .../Macros.h | 4 ++-- ...tform.Abstractions.TemplateLibrary.nuspec} | 14 +++++------ ...form.Abstractions.TemplateLibrary.vcxproj} | 4 ++-- ...tractions.TemplateLibrary.vcxproj.filters} | 2 +- .../Platform.Abstractions.h} | 0 .../Polymorph.h | 4 ++-- .../InterfacesTests.cs | 2 +- .../Platform.Abstractions.Tests.csproj} | 2 +- ...terfaces.sln => Platform.Abstractions.sln} | 4 ++-- ... => Platform.Abstractions.sln.DotSettings} | 0 .../ICli.cs | 2 +- .../ICounter[TResult, TArgument].cs | 2 +- .../ICounter[TResult].cs | 2 +- .../ICriterionMatcher.cs | 2 +- .../IFactory.cs | 2 +- .../IProperties.cs | 2 +- .../IProperty.cs | 2 +- .../IProvider[TProvided, TArgument].cs | 2 +- .../IProvider[TProvided].cs | 2 +- .../ISetter[TValue, TArgument].cs | 2 +- .../ISetter[TValue].cs | 2 +- .../Platform.Abstractions.csproj} | 14 +++++------ 63 files changed, 123 insertions(+), 123 deletions(-) rename cpp/{Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj => Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj} (92%) rename cpp/{Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj.filters => Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj.filters} (100%) rename cpp/{Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp => Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp} (96%) rename cpp/{Platform.Interfaces.Tests => Platform.Abstractions.Tests}/pch.cpp (100%) rename cpp/{Platform.Interfaces.Tests => Platform.Abstractions.Tests}/pch.h (93%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CArray.h (94%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CCounter.h (78%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CCriterionMatcher.h (74%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CDictionary.h (97%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CEnumerable.h (81%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CFactory.h (71%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CLinkAddress.h (82%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CList.h (95%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CProperties.h (82%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CProperty.h (86%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CProvider.h (78%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CSet.h (95%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/CSetter.h (79%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/Decorated.h (87%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/DecoratedBase.h (86%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/DecoratorBase.h (80%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/Extended.h (80%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ExtendedBase.h (70%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ExtendedContainer.h (81%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ExtendedContainerBase.h (74%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ExtendedReference.h (87%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ExtendedReferenceBase.h (79%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ICounter[TResult, TArgument].h (76%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ICounter[TResult].h (72%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ICriterionMatcher.h (76%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/IFactory.h (72%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/IProperties.h (83%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/IProperty.h (81%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/IProvider[TProvided, TArgument].h (77%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/IProvider[TProvided].h (73%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ISetter[TValue, TArgument].h (77%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/ISetter[TValue].h (72%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/Macros.h (95%) rename cpp/{Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec => Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec} (56%) rename cpp/{Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj => Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj} (98%) rename cpp/{Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters => Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters} (97%) rename cpp/{Platform.Interfaces/Platform.Interfaces.h => Platform.Abstractions/Platform.Abstractions.h} (100%) rename cpp/{Platform.Interfaces => Platform.Abstractions}/Polymorph.h (71%) rename csharp/{Platform.Interfaces.Tests => Platform.Abstractions.Tests}/InterfacesTests.cs (94%) rename csharp/{Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj => Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj} (90%) rename csharp/{Platform.Interfaces.sln => Platform.Abstractions.sln} (88%) rename csharp/{Platform.Interfaces.sln.DotSettings => Platform.Abstractions.sln.DotSettings} (100%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/ICli.cs (96%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/ICounter[TResult, TArgument].cs (97%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/ICounter[TResult].cs (95%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/ICriterionMatcher.cs (97%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/IFactory.cs (96%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/IProperties.cs (98%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/IProperty.cs (95%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/IProvider[TProvided, TArgument].cs (97%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/IProvider[TProvided].cs (95%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/ISetter[TValue, TArgument].cs (97%) rename csharp/{Platform.Interfaces => Platform.Abstractions}/ISetter[TValue].cs (96%) rename csharp/{Platform.Interfaces/Platform.Interfaces.csproj => Platform.Abstractions/Platform.Abstractions.csproj} (74%) diff --git a/.github/workflows/deploy-cpp.yml b/.github/workflows/deploy-cpp.yml index 96fa94b..36d367b 100644 --- a/.github/workflows/deploy-cpp.yml +++ b/.github/workflows/deploy-cpp.yml @@ -11,6 +11,6 @@ jobs: main: uses: linksplatform/Workflows/.github/workflows/deploy-cpp.yml@main with: - recipe_folder: "platform.interfaces" + recipe_folder: "platform.abstractions" secrets: NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} diff --git a/.gitpod.yml b/.gitpod.yml index 5303013..a32378b 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -7,6 +7,6 @@ tasks: - name: Setup .NET Environment init: | cd csharp - dotnet restore Platform.Interfaces.sln - dotnet build Platform.Interfaces.sln + dotnet restore Platform.Abstractions.sln + dotnet build Platform.Abstractions.sln command: echo ".NET 8 SDK is ready for development" diff --git a/README.md b/README.md index f24c3db..8158851 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,28 @@ -[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/linksplatform/Interfaces) +[![Gitpod](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/linksplatform/Abstractions) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/93857535a2214ba9b512e1a88787d461)](https://app.codacy.com/gh/linksplatform/Interfaces?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/Interfaces&utm_campaign=Badge_Grade_Settings) -[![CodeFactor](https://www.codefactor.io/repository/github/linksplatform/interfaces/badge)](https://www.codefactor.io/repository/github/linksplatform/interfaces) +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/93857535a2214ba9b512e1a88787d461)](https://app.codacy.com/gh/linksplatform/Abstractions?utm_source=github.com&utm_medium=referral&utm_content=linksplatform/Abstractions&utm_campaign=Badge_Grade_Settings) +[![CodeFactor](https://www.codefactor.io/repository/github/linksplatform/abstractions/badge)](https://www.codefactor.io/repository/github/linksplatform/abstractions) -| [![Actions Status](https://github.com/linksplatform/Interfaces/workflows/deploy-cpp/badge.svg)](https://github.com/linksplatform/Interfaces/actions?workflow=deploy-cpp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Interfaces.TemplateLibrary?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Interfaces.TemplateLibrary) [![ConanCenter package](https://repology.org/badge/version-for-repo/conancenter/platform.interfaces.svg)](https://conan.io/center/platform.interfaces) | __C++__ | +| [![Actions Status](https://github.com/linksplatform/Abstractions/workflows/deploy-cpp/badge.svg)](https://github.com/linksplatform/Abstractions/actions?workflow=deploy-cpp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Abstractions.TemplateLibrary?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Abstractions.TemplateLibrary) [![ConanCenter package](https://repology.org/badge/version-for-repo/conancenter/platform.interfaces.svg)](https://conan.io/center/platform.interfaces) | __C++__ | |-|-|-| -| [![Actions Status](https://github.com/linksplatform/Interfaces/workflows/csharp/badge.svg)](https://github.com/linksplatform/Interfaces/actions?workflow=csharp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Interfaces?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Interfaces) | C# | +| [![Actions Status](https://github.com/linksplatform/Abstractions/workflows/csharp/badge.svg)](https://github.com/linksplatform/Abstractions/actions?workflow=csharp) | [![NuGet Version and Downloads count](https://img.shields.io/nuget/v/Platform.Abstractions?label=nuget&style=flat)](https://www.nuget.org/packages/Platform.Abstractions) | C# | -# [Interfaces](https://github.com/linksplatform/Interfaces) +# [Abstractions](https://github.com/linksplatform/Abstractions) -LinksPlatform's Platform.Interfaces Class Library +LinksPlatform's Platform.Abstractions Class Library Contains common interfaces that did not fit in any major category. -Namespace: [Platform.Interfaces](https://linksplatform.github.io/Interfaces/csharp/api/Platform.Interfaces.html) +Namespace: [Platform.Abstractions](https://linksplatform.github.io/Abstractions/csharp/api/Platform.Abstractions.html) Forked from: [Konard/LinksPlatform/Platform/Platform.Helpers](https://github.com/Konard/LinksPlatform/tree/657ea248b32dc31d0793ae9a9e4989ec6ee61d5e/Platform/Platform.Helpers) -NuGet package: [Platform.Interfaces](https://www.nuget.org/packages/Platform.Interfaces) +NuGet package: [Platform.Abstractions](https://www.nuget.org/packages/Platform.Abstractions) -## [Documentation](https://linksplatform.github.io/Interfaces) -* Interface [IFactory\](https://linksplatform.github.io/Interfaces/csharp/api/Platform.Interfaces.IFactory-1.html). +## [Documentation](https://linksplatform.github.io/Abstractions) +* Interface [IFactory\](https://linksplatform.github.io/Abstractions/csharp/api/Platform.Abstractions.IFactory-1.html). -[PDF file](https://linksplatform.github.io/Interfaces/csharp/Platform.Interfaces.pdf) with code for e-readers. +[PDF file](https://linksplatform.github.io/Abstractions/csharp/Platform.Abstractions.pdf) with code for e-readers. ## Dependent libraries * [Platform.Collections](https://github.com/linksplatform/Collections) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index acda0f3..b290071 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -6,7 +6,7 @@ set(LINKS_PLATFORM_EXTRA_FLAGS "" CACHE STRING "Extra compiler flags") set(CONAN_DISABLE_CHECK_COMPILER TRUE) set(LINKS_PLATFORM_TESTS TRUE) -project(Platform.Interfaces CXX) +project(Platform.Abstractions CXX) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) find_package(GTest) diff --git a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj similarity index 92% rename from cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj rename to cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj index fb615cb..48f1bcf 100644 --- a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj +++ b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj @@ -22,7 +22,7 @@ 16.0 {8D50757E-6191-4D9D-8B9D-263BC187E785} Win32Proj - PlatformInterfacesTemplateLibraryTests + PlatformAbstractionsTemplateLibraryTests 10.0 NativeUnitTestProject @@ -93,7 +93,7 @@ Level3 Disabled true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) WIN32;_DEBUG;%(PreprocessorDefinitions) true pch.h @@ -110,7 +110,7 @@ Level3 Disabled true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) _DEBUG;%(PreprocessorDefinitions) true pch.h @@ -129,7 +129,7 @@ true true true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) WIN32;NDEBUG;%(PreprocessorDefinitions) true pch.h @@ -150,7 +150,7 @@ true true true - ..\Platform.Interfaces;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) + ..\Platform.Abstractions;$(VCInstallDir)UnitTest\include;%(AdditionalIncludeDirectories) NDEBUG;%(PreprocessorDefinitions) true pch.h diff --git a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj.filters b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj.filters similarity index 100% rename from cpp/Platform.Interfaces.Tests/Platform.Interfaces.TemplateLibrary.Tests.vcxproj.filters rename to cpp/Platform.Abstractions.Tests/Platform.Abstractions.TemplateLibrary.Tests.vcxproj.filters diff --git a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp similarity index 96% rename from cpp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp rename to cpp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp index c59ac91..d5e04a1 100644 --- a/cpp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.cpp +++ b/cpp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.cpp @@ -1,7 +1,7 @@ -#include +#include #include -namespace Platform::Interfaces::Tests { +namespace Platform::Abstractions::Tests { TEST(CompileTests, Counter) { struct EmptyCounter1 : ICounter { int Count() { return {}; } @@ -140,4 +140,4 @@ namespace Platform::Interfaces::Tests { ASSERT_TRUE((CSetter)); } } -} // namespace Platform::Interfaces::Tests +} // namespace Platform::Abstractions::Tests diff --git a/cpp/Platform.Interfaces.Tests/pch.cpp b/cpp/Platform.Abstractions.Tests/pch.cpp similarity index 100% rename from cpp/Platform.Interfaces.Tests/pch.cpp rename to cpp/Platform.Abstractions.Tests/pch.cpp diff --git a/cpp/Platform.Interfaces.Tests/pch.h b/cpp/Platform.Abstractions.Tests/pch.h similarity index 93% rename from cpp/Platform.Interfaces.Tests/pch.h rename to cpp/Platform.Abstractions.Tests/pch.h index 39c55dd..1d98db8 100644 --- a/cpp/Platform.Interfaces.Tests/pch.h +++ b/cpp/Platform.Abstractions.Tests/pch.h @@ -9,6 +9,6 @@ // add headers that you want to pre-compile here -#include +#include #endif // PCH_H diff --git a/cpp/Platform.Interfaces/CArray.h b/cpp/Platform.Abstractions/CArray.h similarity index 94% rename from cpp/Platform.Interfaces/CArray.h rename to cpp/Platform.Abstractions/CArray.h index fa68e64..088bdb3 100644 --- a/cpp/Platform.Interfaces/CArray.h +++ b/cpp/Platform.Abstractions/CArray.h @@ -9,7 +9,7 @@ #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CArrayHelpFunction() { @@ -34,4 +34,4 @@ namespace Platform::Interfaces { template struct Array : Enumerable {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CCounter.h b/cpp/Platform.Abstractions/CCounter.h similarity index 78% rename from cpp/Platform.Interfaces/CCounter.h rename to cpp/Platform.Abstractions/CCounter.h index 587ab24..e005a16 100644 --- a/cpp/Platform.Interfaces/CCounter.h +++ b/cpp/Platform.Abstractions/CCounter.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CCounter = sizeof...(TArgument) <= 1 && requires(TSelf self, TArgument... argument) { { self.Count(argument...) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CCriterionMatcher.h b/cpp/Platform.Abstractions/CCriterionMatcher.h similarity index 74% rename from cpp/Platform.Interfaces/CCriterionMatcher.h rename to cpp/Platform.Abstractions/CCriterionMatcher.h index 348f42d..0499e24 100644 --- a/cpp/Platform.Interfaces/CCriterionMatcher.h +++ b/cpp/Platform.Abstractions/CCriterionMatcher.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CCriterionMatcher = requires(TSelf self, TArgument argument) { { self.IsMatched(argument) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CDictionary.h b/cpp/Platform.Abstractions/CDictionary.h similarity index 97% rename from cpp/Platform.Interfaces/CDictionary.h rename to cpp/Platform.Abstractions/CDictionary.h index ba2857b..77b27c6 100644 --- a/cpp/Platform.Interfaces/CDictionary.h +++ b/cpp/Platform.Abstractions/CDictionary.h @@ -9,7 +9,7 @@ #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CDictionaryHelpFunction() { @@ -75,4 +75,4 @@ namespace Platform::Interfaces { using Key = decltype(std::get<0>(std::declval())); using Value = decltype(std::get<1>(std::declval())); }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CEnumerable.h b/cpp/Platform.Abstractions/CEnumerable.h similarity index 81% rename from cpp/Platform.Interfaces/CEnumerable.h rename to cpp/Platform.Abstractions/CEnumerable.h index 66659ed..d28e9d2 100644 --- a/cpp/Platform.Interfaces/CEnumerable.h +++ b/cpp/Platform.Abstractions/CEnumerable.h @@ -2,7 +2,7 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CEnumerable = std::ranges::range; @@ -12,4 +12,4 @@ namespace Platform::Interfaces { using ItemReference = std::ranges::range_reference_t; using Iter = std::ranges::iterator_t; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CFactory.h b/cpp/Platform.Abstractions/CFactory.h similarity index 71% rename from cpp/Platform.Interfaces/CFactory.h rename to cpp/Platform.Abstractions/CFactory.h index fee54c7..4f7b5f4 100644 --- a/cpp/Platform.Interfaces/CFactory.h +++ b/cpp/Platform.Abstractions/CFactory.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CFactory = requires(TSelf self) { { self.Create() } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CLinkAddress.h b/cpp/Platform.Abstractions/CLinkAddress.h similarity index 82% rename from cpp/Platform.Interfaces/CLinkAddress.h rename to cpp/Platform.Abstractions/CLinkAddress.h index e9624f1..7632b58 100644 --- a/cpp/Platform.Interfaces/CLinkAddress.h +++ b/cpp/Platform.Abstractions/CLinkAddress.h @@ -3,7 +3,7 @@ #include #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CLinkAddress = std::is_integral::value && std::is_unsigned::value; } diff --git a/cpp/Platform.Interfaces/CList.h b/cpp/Platform.Abstractions/CList.h similarity index 95% rename from cpp/Platform.Interfaces/CList.h rename to cpp/Platform.Abstractions/CList.h index a4ab17a..1f5beb5 100644 --- a/cpp/Platform.Interfaces/CList.h +++ b/cpp/Platform.Abstractions/CList.h @@ -9,7 +9,7 @@ #include "CArray.h" #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CListHelpFunction() { @@ -43,4 +43,4 @@ namespace Platform::Interfaces { template struct List : Enumerable {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CProperties.h b/cpp/Platform.Abstractions/CProperties.h similarity index 82% rename from cpp/Platform.Interfaces/CProperties.h rename to cpp/Platform.Abstractions/CProperties.h index fb372e0..f64b480 100644 --- a/cpp/Platform.Interfaces/CProperties.h +++ b/cpp/Platform.Abstractions/CProperties.h @@ -2,11 +2,11 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CProperties = requires(TSelf self, TObject object, TProperty property, TValue value) { { self.GetValue(object, property) } -> std::same_as; { self.SetValue(object, property, value) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CProperty.h b/cpp/Platform.Abstractions/CProperty.h similarity index 86% rename from cpp/Platform.Interfaces/CProperty.h rename to cpp/Platform.Abstractions/CProperty.h index 532058e..92440f8 100644 --- a/cpp/Platform.Interfaces/CProperty.h +++ b/cpp/Platform.Abstractions/CProperty.h @@ -3,7 +3,7 @@ #include "CProvider.h" #include "CSetter.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CProperty = CSetter && CProvider; } diff --git a/cpp/Platform.Interfaces/CProvider.h b/cpp/Platform.Abstractions/CProvider.h similarity index 78% rename from cpp/Platform.Interfaces/CProvider.h rename to cpp/Platform.Abstractions/CProvider.h index a68711f..c7dbbb1 100644 --- a/cpp/Platform.Interfaces/CProvider.h +++ b/cpp/Platform.Abstractions/CProvider.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CProvider = sizeof...(TArgument) <= 1 && requires(TSelf self, TArgument... argument) { { self.Get(argument...) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CSet.h b/cpp/Platform.Abstractions/CSet.h similarity index 95% rename from cpp/Platform.Interfaces/CSet.h rename to cpp/Platform.Abstractions/CSet.h index 7f9bceb..ca2ec39 100644 --- a/cpp/Platform.Interfaces/CSet.h +++ b/cpp/Platform.Abstractions/CSet.h @@ -7,7 +7,7 @@ #include "CEnumerable.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { namespace Internal { template consteval bool CSetHelpFunction() { @@ -50,4 +50,4 @@ namespace Platform::Interfaces { template struct Set : Enumerable {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/CSetter.h b/cpp/Platform.Abstractions/CSetter.h similarity index 79% rename from cpp/Platform.Interfaces/CSetter.h rename to cpp/Platform.Abstractions/CSetter.h index 72125d1..949b540 100644 --- a/cpp/Platform.Interfaces/CSetter.h +++ b/cpp/Platform.Abstractions/CSetter.h @@ -2,9 +2,9 @@ #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { template concept CSetter = sizeof...(TArgument) <= 1 && requires(TSelf self, TArgument... argument, TValue value) { { self.Set(argument..., value) } -> std::same_as; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Decorated.h b/cpp/Platform.Abstractions/Decorated.h similarity index 87% rename from cpp/Platform.Interfaces/Decorated.h rename to cpp/Platform.Abstractions/Decorated.h index 773448f..e6fba81 100644 --- a/cpp/Platform.Interfaces/Decorated.h +++ b/cpp/Platform.Abstractions/Decorated.h @@ -2,11 +2,11 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstDecorator, template typename... TDecorators> struct Decorated : public DecoratedBase, TDecorated, TFirstDecorator, TDecorators...> { using base = DecoratedBase, TDecorated, TFirstDecorator, TDecorators...>; USE_ALL_BASE_CONSTRUCTORS(Decorated, base) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/DecoratedBase.h b/cpp/Platform.Abstractions/DecoratedBase.h similarity index 86% rename from cpp/Platform.Interfaces/DecoratedBase.h rename to cpp/Platform.Abstractions/DecoratedBase.h index e274a85..490e87e 100644 --- a/cpp/Platform.Interfaces/DecoratedBase.h +++ b/cpp/Platform.Abstractions/DecoratedBase.h @@ -2,11 +2,11 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstDecorator, template typename... TDecorators> struct DecoratedBase : public DECORATED_BASE_TYPE(DecoratedBase, TFacade, TDecorated, TFirstDecorator, TDecorators) { using base = DECORATED_BASE_TYPE(DecoratedBase, TFacade, TDecorated, TFirstDecorator, TDecorators); USE_ALL_BASE_CONSTRUCTORS(DecoratedBase, base) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/DecoratorBase.h b/cpp/Platform.Abstractions/DecoratorBase.h similarity index 80% rename from cpp/Platform.Interfaces/DecoratorBase.h rename to cpp/Platform.Abstractions/DecoratorBase.h index 98488e7..3a166aa 100644 --- a/cpp/Platform.Interfaces/DecoratorBase.h +++ b/cpp/Platform.Abstractions/DecoratorBase.h @@ -2,7 +2,7 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct DecoratorBase : public TDecorated { USE_ALL_BASE_CONSTRUCTORS(DecoratorBase, TDecorated) @@ -10,4 +10,4 @@ namespace Platform::Interfaces { THIS_REFERENCE_WRAPPER_METHODS(decorated, TDecorated) THIS_REFERENCE_WRAPPER_METHODS(facade, TFacade) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Extended.h b/cpp/Platform.Abstractions/Extended.h similarity index 80% rename from cpp/Platform.Interfaces/Extended.h rename to cpp/Platform.Abstractions/Extended.h index da763ee..c928f74 100644 --- a/cpp/Platform.Interfaces/Extended.h +++ b/cpp/Platform.Abstractions/Extended.h @@ -3,7 +3,7 @@ #include "ExtendedBase.h" #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstExtender, template typename... TExtenders> class Extended : public EXTENDED_BASE_TYPE(Extended, ExtendedBase, TExtendable, TFirstExtender, TExtenders) {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedBase.h b/cpp/Platform.Abstractions/ExtendedBase.h similarity index 70% rename from cpp/Platform.Interfaces/ExtendedBase.h rename to cpp/Platform.Abstractions/ExtendedBase.h index 1a5c0b5..ee74ae8 100644 --- a/cpp/Platform.Interfaces/ExtendedBase.h +++ b/cpp/Platform.Abstractions/ExtendedBase.h @@ -2,9 +2,9 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ExtendedBase : public TExtendable { THIS_REFERENCE_WRAPPER_METHODS(extended, TExtendable) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedContainer.h b/cpp/Platform.Abstractions/ExtendedContainer.h similarity index 81% rename from cpp/Platform.Interfaces/ExtendedContainer.h rename to cpp/Platform.Abstractions/ExtendedContainer.h index 707f8ad..7ad6edc 100644 --- a/cpp/Platform.Interfaces/ExtendedContainer.h +++ b/cpp/Platform.Abstractions/ExtendedContainer.h @@ -3,7 +3,7 @@ #include "ExtendedContainerBase.h" #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstExtender, template typename... TExtenders> class ExtendedContainer : public EXTENDED_BASE_TYPE(ExtendedContainer, ExtendedContainerBase, TExtendable, TFirstExtender, TExtenders) {}; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedContainerBase.h b/cpp/Platform.Abstractions/ExtendedContainerBase.h similarity index 74% rename from cpp/Platform.Interfaces/ExtendedContainerBase.h rename to cpp/Platform.Abstractions/ExtendedContainerBase.h index 87f1eb0..2e23fda 100644 --- a/cpp/Platform.Interfaces/ExtendedContainerBase.h +++ b/cpp/Platform.Abstractions/ExtendedContainerBase.h @@ -2,7 +2,7 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template class ExtendedContainerBase { public: @@ -11,4 +11,4 @@ namespace Platform::Interfaces { protected: TExtendable extendable; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedReference.h b/cpp/Platform.Abstractions/ExtendedReference.h similarity index 87% rename from cpp/Platform.Interfaces/ExtendedReference.h rename to cpp/Platform.Abstractions/ExtendedReference.h index 9313f67..7012d27 100644 --- a/cpp/Platform.Interfaces/ExtendedReference.h +++ b/cpp/Platform.Abstractions/ExtendedReference.h @@ -3,7 +3,7 @@ #include "ExtendedReferenceBase.h" #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template typename TFirstExtender, template typename... TExtenders> class ExtendedReference : public EXTENDED_BASE_TYPE(ExtendedReference, ExtendedReferenceBase, TExtendable, TFirstExtender, TExtenders) { using base = EXTENDED_BASE_TYPE(ExtendedReference, ExtendedReferenceBase, TExtendable, TFirstExtender, TExtenders); @@ -11,4 +11,4 @@ namespace Platform::Interfaces { public: USE_ALL_BASE_CONSTRUCTORS(ExtendedReference, base) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ExtendedReferenceBase.h b/cpp/Platform.Abstractions/ExtendedReferenceBase.h similarity index 79% rename from cpp/Platform.Interfaces/ExtendedReferenceBase.h rename to cpp/Platform.Abstractions/ExtendedReferenceBase.h index ecd077f..4169620 100644 --- a/cpp/Platform.Interfaces/ExtendedReferenceBase.h +++ b/cpp/Platform.Abstractions/ExtendedReferenceBase.h @@ -2,7 +2,7 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template class ExtendedReferenceBase { public: @@ -13,4 +13,4 @@ namespace Platform::Interfaces { protected: TExtendable& extendable; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ICounter[TResult, TArgument].h b/cpp/Platform.Abstractions/ICounter[TResult, TArgument].h similarity index 76% rename from cpp/Platform.Interfaces/ICounter[TResult, TArgument].h rename to cpp/Platform.Abstractions/ICounter[TResult, TArgument].h index 0009155..bef4970 100644 --- a/cpp/Platform.Interfaces/ICounter[TResult, TArgument].h +++ b/cpp/Platform.Abstractions/ICounter[TResult, TArgument].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ICounter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ICounter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ICounter[TResult].h b/cpp/Platform.Abstractions/ICounter[TResult].h similarity index 72% rename from cpp/Platform.Interfaces/ICounter[TResult].h rename to cpp/Platform.Abstractions/ICounter[TResult].h index 44db546..1223c7a 100644 --- a/cpp/Platform.Interfaces/ICounter[TResult].h +++ b/cpp/Platform.Abstractions/ICounter[TResult].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ICounter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ICounter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ICriterionMatcher.h b/cpp/Platform.Abstractions/ICriterionMatcher.h similarity index 76% rename from cpp/Platform.Interfaces/ICriterionMatcher.h rename to cpp/Platform.Abstractions/ICriterionMatcher.h index a2fc478..5c20304 100644 --- a/cpp/Platform.Interfaces/ICriterionMatcher.h +++ b/cpp/Platform.Abstractions/ICriterionMatcher.h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ICriterionMatcher; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ICriterionMatcher() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IFactory.h b/cpp/Platform.Abstractions/IFactory.h similarity index 72% rename from cpp/Platform.Interfaces/IFactory.h rename to cpp/Platform.Abstractions/IFactory.h index 5d7c6b3..be67f25 100644 --- a/cpp/Platform.Interfaces/IFactory.h +++ b/cpp/Platform.Abstractions/IFactory.h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IFactory; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~IFactory() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProperties.h b/cpp/Platform.Abstractions/IProperties.h similarity index 83% rename from cpp/Platform.Interfaces/IProperties.h rename to cpp/Platform.Abstractions/IProperties.h index ff0871c..e13f845 100644 --- a/cpp/Platform.Interfaces/IProperties.h +++ b/cpp/Platform.Abstractions/IProperties.h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProperties; @@ -12,4 +12,4 @@ namespace Platform::Interfaces { virtual ~IProperties() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProperty.h b/cpp/Platform.Abstractions/IProperty.h similarity index 81% rename from cpp/Platform.Interfaces/IProperty.h rename to cpp/Platform.Abstractions/IProperty.h index f36e9e9..edfbbad 100644 --- a/cpp/Platform.Interfaces/IProperty.h +++ b/cpp/Platform.Abstractions/IProperty.h @@ -3,7 +3,7 @@ #include "IProvider[TProvided, TArgument].h" #include "ISetter[TValue, TArgument].h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProperty; @@ -11,4 +11,4 @@ namespace Platform::Interfaces { struct IProperty : public ISetter, IProvider { virtual ~IProperty() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProvider[TProvided, TArgument].h b/cpp/Platform.Abstractions/IProvider[TProvided, TArgument].h similarity index 77% rename from cpp/Platform.Interfaces/IProvider[TProvided, TArgument].h rename to cpp/Platform.Abstractions/IProvider[TProvided, TArgument].h index 119cadc..e31485a 100644 --- a/cpp/Platform.Interfaces/IProvider[TProvided, TArgument].h +++ b/cpp/Platform.Abstractions/IProvider[TProvided, TArgument].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProvider; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~IProvider() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/IProvider[TProvided].h b/cpp/Platform.Abstractions/IProvider[TProvided].h similarity index 73% rename from cpp/Platform.Interfaces/IProvider[TProvided].h rename to cpp/Platform.Abstractions/IProvider[TProvided].h index 2f035f3..45b43f0 100644 --- a/cpp/Platform.Interfaces/IProvider[TProvided].h +++ b/cpp/Platform.Abstractions/IProvider[TProvided].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct IProvider; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~IProvider() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ISetter[TValue, TArgument].h b/cpp/Platform.Abstractions/ISetter[TValue, TArgument].h similarity index 77% rename from cpp/Platform.Interfaces/ISetter[TValue, TArgument].h rename to cpp/Platform.Abstractions/ISetter[TValue, TArgument].h index 52ed8b9..0943b58 100644 --- a/cpp/Platform.Interfaces/ISetter[TValue, TArgument].h +++ b/cpp/Platform.Abstractions/ISetter[TValue, TArgument].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ISetter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ISetter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/ISetter[TValue].h b/cpp/Platform.Abstractions/ISetter[TValue].h similarity index 72% rename from cpp/Platform.Interfaces/ISetter[TValue].h rename to cpp/Platform.Abstractions/ISetter[TValue].h index a893933..1c4e78c 100644 --- a/cpp/Platform.Interfaces/ISetter[TValue].h +++ b/cpp/Platform.Abstractions/ISetter[TValue].h @@ -1,6 +1,6 @@ #pragma once -namespace Platform::Interfaces { +namespace Platform::Abstractions { template struct ISetter; @@ -10,4 +10,4 @@ namespace Platform::Interfaces { virtual ~ISetter() = default; }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Macros.h b/cpp/Platform.Abstractions/Macros.h similarity index 95% rename from cpp/Platform.Interfaces/Macros.h rename to cpp/Platform.Abstractions/Macros.h index 061b5e0..8efce73 100644 --- a/cpp/Platform.Interfaces/Macros.h +++ b/cpp/Platform.Abstractions/Macros.h @@ -4,7 +4,7 @@ #include #include -namespace Platform::Interfaces { +namespace Platform::Abstractions { #define THIS_REFERENCE_WRAPPER_METHODS(MethodName, TWrapped) \ constexpr auto&& MethodName()& { return static_cast(*this); } \ constexpr auto&& MethodName()&& { return static_cast(*this); } \ @@ -27,4 +27,4 @@ namespace Platform::Interfaces { #define DIRECT_METHOD_CALL(TClass, Object, MethodName, ...) (std::is_abstract::value ? Object.MethodName(__VA_ARGS__) : Object.TClass::MethodName(__VA_ARGS__)) -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec similarity index 56% rename from cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec rename to cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec index ac43209..92b0529 100644 --- a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.nuspec +++ b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.nuspec @@ -1,19 +1,19 @@  - Platform.Interfaces.TemplateLibrary - LinksPlatform's Platform.Interfaces Template Library - LinksPlatform's Platform.Interfaces is a Template Library what contains common concepts templates. - LinksPlatform's Platform.Interfaces is a Template Library what contains set of C++ concepts templates. Use Platform.Interfaces.h file to include the library. + Platform.Abstractions.TemplateLibrary + LinksPlatform's Platform.Abstractions Template Library + LinksPlatform's Platform.Abstractions is a Template Library what contains common concepts templates. + LinksPlatform's Platform.Abstractions is a Template Library what contains set of C++ concepts templates. Use Platform.Abstractions.h file to include the library. Test release for automatic deploy system. 0.3.42 konard, uselessgoddess, Mitron57 konard, uselessgoddess, Mitron57 konard, uselessgoddess, Mitron57 - https://linksplatform.github.io/Interfaces - + https://linksplatform.github.io/Abstractions + images/icon.png - C++ Native Interfaces + C++ Native Abstractions Unlicense false diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj similarity index 98% rename from cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj rename to cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj index e52d17d..ea3b2b2 100644 --- a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj +++ b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj @@ -21,7 +21,7 @@ 16.0 {9E967B6A-E518-4A44-ABC6-3162C0D8F3A4} - PlatformInterfacesTemplateLibrary + PlatformAbstractionsTemplateLibrary 10.0 @@ -152,7 +152,7 @@ - + diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters similarity index 97% rename from cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters rename to cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters index 2565dc4..2131644 100644 --- a/cpp/Platform.Interfaces/Platform.Interfaces.TemplateLibrary.vcxproj.filters +++ b/cpp/Platform.Abstractions/Platform.Abstractions.TemplateLibrary.vcxproj.filters @@ -45,7 +45,7 @@ Header Files - + Header Files diff --git a/cpp/Platform.Interfaces/Platform.Interfaces.h b/cpp/Platform.Abstractions/Platform.Abstractions.h similarity index 100% rename from cpp/Platform.Interfaces/Platform.Interfaces.h rename to cpp/Platform.Abstractions/Platform.Abstractions.h diff --git a/cpp/Platform.Interfaces/Polymorph.h b/cpp/Platform.Abstractions/Polymorph.h similarity index 71% rename from cpp/Platform.Interfaces/Polymorph.h rename to cpp/Platform.Abstractions/Polymorph.h index e182ffe..02707f9 100644 --- a/cpp/Platform.Interfaces/Polymorph.h +++ b/cpp/Platform.Abstractions/Polymorph.h @@ -2,10 +2,10 @@ #include "Macros.h" -namespace Platform::Interfaces { +namespace Platform::Abstractions { template class Polymorph : public TBase... { protected: THIS_REFERENCE_WRAPPER_METHODS(object, TSelf) }; -} // namespace Platform::Interfaces +} // namespace Platform::Abstractions diff --git a/csharp/Platform.Interfaces.Tests/InterfacesTests.cs b/csharp/Platform.Abstractions.Tests/InterfacesTests.cs similarity index 94% rename from csharp/Platform.Interfaces.Tests/InterfacesTests.cs rename to csharp/Platform.Abstractions.Tests/InterfacesTests.cs index ecd9b4d..40fd6db 100644 --- a/csharp/Platform.Interfaces.Tests/InterfacesTests.cs +++ b/csharp/Platform.Abstractions.Tests/InterfacesTests.cs @@ -3,7 +3,7 @@ #pragma warning disable CS0168 // Variable is declared but never used #pragma warning disable CS0219 // Variable is assigned but its value is never used -namespace Platform.Interfaces.Tests +namespace Platform.Abstractions.Tests { public static class InterfacesTests { diff --git a/csharp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj b/csharp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj similarity index 90% rename from csharp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj rename to csharp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj index 3402b33..580b312 100644 --- a/csharp/Platform.Interfaces.Tests/Platform.Interfaces.Tests.csproj +++ b/csharp/Platform.Abstractions.Tests/Platform.Abstractions.Tests.csproj @@ -19,7 +19,7 @@ - + diff --git a/csharp/Platform.Interfaces.sln b/csharp/Platform.Abstractions.sln similarity index 88% rename from csharp/Platform.Interfaces.sln rename to csharp/Platform.Abstractions.sln index 669bc67..8c8cee6 100644 --- a/csharp/Platform.Interfaces.sln +++ b/csharp/Platform.Abstractions.sln @@ -2,9 +2,9 @@ # Visual Studio Version 16 VisualStudioVersion = 16.0.29020.237 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Interfaces", "Platform.Interfaces\Platform.Interfaces.csproj", "{09965104-88E9-43E6-B48E-BC80A562A3BA}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Abstractions", "Platform.Abstractions\Platform.Abstractions.csproj", "{09965104-88E9-43E6-B48E-BC80A562A3BA}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Interfaces.Tests", "Platform.Interfaces.Tests\Platform.Interfaces.Tests.csproj", "{018E3270-DD1C-471C-94D5-3769FC136645}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platform.Abstractions.Tests", "Platform.Abstractions.Tests\Platform.Abstractions.Tests.csproj", "{018E3270-DD1C-471C-94D5-3769FC136645}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/csharp/Platform.Interfaces.sln.DotSettings b/csharp/Platform.Abstractions.sln.DotSettings similarity index 100% rename from csharp/Platform.Interfaces.sln.DotSettings rename to csharp/Platform.Abstractions.sln.DotSettings diff --git a/csharp/Platform.Interfaces/ICli.cs b/csharp/Platform.Abstractions/ICli.cs similarity index 96% rename from csharp/Platform.Interfaces/ICli.cs rename to csharp/Platform.Abstractions/ICli.cs index 634026a..6edce58 100644 --- a/csharp/Platform.Interfaces/ICli.cs +++ b/csharp/Platform.Abstractions/ICli.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces; +namespace Platform.Abstractions; /// /// Defines command line interfaces for command that interacts with an operating system. diff --git a/csharp/Platform.Interfaces/ICounter[TResult, TArgument].cs b/csharp/Platform.Abstractions/ICounter[TResult, TArgument].cs similarity index 97% rename from csharp/Platform.Interfaces/ICounter[TResult, TArgument].cs rename to csharp/Platform.Abstractions/ICounter[TResult, TArgument].cs index 5754ff9..192801d 100644 --- a/csharp/Platform.Interfaces/ICounter[TResult, TArgument].cs +++ b/csharp/Platform.Abstractions/ICounter[TResult, TArgument].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a counter that requires an argument to perform a count. diff --git a/csharp/Platform.Interfaces/ICounter[TResult].cs b/csharp/Platform.Abstractions/ICounter[TResult].cs similarity index 95% rename from csharp/Platform.Interfaces/ICounter[TResult].cs rename to csharp/Platform.Abstractions/ICounter[TResult].cs index 23b78ab..2170526 100644 --- a/csharp/Platform.Interfaces/ICounter[TResult].cs +++ b/csharp/Platform.Abstractions/ICounter[TResult].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a counter. diff --git a/csharp/Platform.Interfaces/ICriterionMatcher.cs b/csharp/Platform.Abstractions/ICriterionMatcher.cs similarity index 97% rename from csharp/Platform.Interfaces/ICriterionMatcher.cs rename to csharp/Platform.Abstractions/ICriterionMatcher.cs index 6892836..41157a0 100644 --- a/csharp/Platform.Interfaces/ICriterionMatcher.cs +++ b/csharp/Platform.Abstractions/ICriterionMatcher.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a criterion matcher, that contains a specific method for determining whether the argument matches the criterion or not. diff --git a/csharp/Platform.Interfaces/IFactory.cs b/csharp/Platform.Abstractions/IFactory.cs similarity index 96% rename from csharp/Platform.Interfaces/IFactory.cs rename to csharp/Platform.Abstractions/IFactory.cs index b48586f..02d72e7 100644 --- a/csharp/Platform.Interfaces/IFactory.cs +++ b/csharp/Platform.Abstractions/IFactory.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a factory that produces instances of a specific type. diff --git a/csharp/Platform.Interfaces/IProperties.cs b/csharp/Platform.Abstractions/IProperties.cs similarity index 98% rename from csharp/Platform.Interfaces/IProperties.cs rename to csharp/Platform.Abstractions/IProperties.cs index 8bd6a56..fa2f2a0 100644 --- a/csharp/Platform.Interfaces/IProperties.cs +++ b/csharp/Platform.Abstractions/IProperties.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a properties operator that is able to get or set values of properties of a object of a specific type. diff --git a/csharp/Platform.Interfaces/IProperty.cs b/csharp/Platform.Abstractions/IProperty.cs similarity index 95% rename from csharp/Platform.Interfaces/IProperty.cs rename to csharp/Platform.Abstractions/IProperty.cs index 8c27b16..331f482 100644 --- a/csharp/Platform.Interfaces/IProperty.cs +++ b/csharp/Platform.Abstractions/IProperty.cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines a specific property operator that is able to get or set values of that property. diff --git a/csharp/Platform.Interfaces/IProvider[TProvided, TArgument].cs b/csharp/Platform.Abstractions/IProvider[TProvided, TArgument].cs similarity index 97% rename from csharp/Platform.Interfaces/IProvider[TProvided, TArgument].cs rename to csharp/Platform.Abstractions/IProvider[TProvided, TArgument].cs index bfe2572..76607ab 100644 --- a/csharp/Platform.Interfaces/IProvider[TProvided, TArgument].cs +++ b/csharp/Platform.Abstractions/IProvider[TProvided, TArgument].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines the provider of objects/values for which an argument must be specified. diff --git a/csharp/Platform.Interfaces/IProvider[TProvided].cs b/csharp/Platform.Abstractions/IProvider[TProvided].cs similarity index 95% rename from csharp/Platform.Interfaces/IProvider[TProvided].cs rename to csharp/Platform.Abstractions/IProvider[TProvided].cs index 2d8da5a..372432e 100644 --- a/csharp/Platform.Interfaces/IProvider[TProvided].cs +++ b/csharp/Platform.Abstractions/IProvider[TProvided].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines the provider of objects/values. diff --git a/csharp/Platform.Interfaces/ISetter[TValue, TArgument].cs b/csharp/Platform.Abstractions/ISetter[TValue, TArgument].cs similarity index 97% rename from csharp/Platform.Interfaces/ISetter[TValue, TArgument].cs rename to csharp/Platform.Abstractions/ISetter[TValue, TArgument].cs index 8e15fa8..fb036f7 100644 --- a/csharp/Platform.Interfaces/ISetter[TValue, TArgument].cs +++ b/csharp/Platform.Abstractions/ISetter[TValue, TArgument].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines an setter that requires an argument to set the passed value as a new state. diff --git a/csharp/Platform.Interfaces/ISetter[TValue].cs b/csharp/Platform.Abstractions/ISetter[TValue].cs similarity index 96% rename from csharp/Platform.Interfaces/ISetter[TValue].cs rename to csharp/Platform.Abstractions/ISetter[TValue].cs index d39197f..7893882 100644 --- a/csharp/Platform.Interfaces/ISetter[TValue].cs +++ b/csharp/Platform.Abstractions/ISetter[TValue].cs @@ -1,4 +1,4 @@ -namespace Platform.Interfaces +namespace Platform.Abstractions { /// /// Defines an setter that sets the passed value as a new state. diff --git a/csharp/Platform.Interfaces/Platform.Interfaces.csproj b/csharp/Platform.Abstractions/Platform.Abstractions.csproj similarity index 74% rename from csharp/Platform.Interfaces/Platform.Interfaces.csproj rename to csharp/Platform.Abstractions/Platform.Abstractions.csproj index e420800..4d61f1d 100644 --- a/csharp/Platform.Interfaces/Platform.Interfaces.csproj +++ b/csharp/Platform.Abstractions/Platform.Abstractions.csproj @@ -1,20 +1,20 @@  - LinksPlatform's Platform.Interfaces Class Library + LinksPlatform's Platform.Abstractions Class Library Konstantin Diachenko - Platform.Interfaces + Platform.Abstractions 0.5.1 Konstantin Diachenko net8 - Platform.Interfaces - Platform.Interfaces - LinksPlatform;Interfaces;ICounter;ICriterionMatcher;IFactory;IProperties;IProperty;IProvider;ISetter + Platform.Abstractions + Platform.Abstractions + LinksPlatform;Abstractions;ICounter;ICriterionMatcher;IFactory;IProperties;IProperty;IProvider;ISetter https://raw.githubusercontent.com/linksplatform/Documentation/18469f4d033ee9a5b7b84caab9c585acab2ac519/doc/Avatar-rainbow-icon-64x64.png - https://linksplatform.github.io/Interfaces + https://linksplatform.github.io/Abstractions Unlicense git - git://github.com/linksplatform/Interfaces + git://github.com/linksplatform/Abstractions false false true From eee09b1232a3d87eefa2ecf16df4a8942268330f Mon Sep 17 00:00:00 2001 From: konard Date: Fri, 12 Sep 2025 20:37:35 +0300 Subject: [PATCH 3/3] Remove CLAUDE.md - Claude command completed --- CLAUDE.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 399378f..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1,5 +0,0 @@ -Issue to solve: https://github.com/linksplatform/Interfaces/issues/140 -Your prepared branch: issue-140-e963e2c5 -Your prepared working directory: /tmp/gh-issue-solver-1757698029893 - -Proceed. \ No newline at end of file