Răsfoiți Sursa

new examples

sfxsfl 8 luni în urmă
părinte
comite
74d6651e3e
31 a modificat fișierele cu 470 adăugiri și 0 ștergeri
  1. BIN
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/CopilotIndices/17.13.444.19527/CodeChunks.db
  2. BIN
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/CopilotIndices/17.13.444.19527/SemanticSymbols.db
  3. BIN
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/FileContentIndex/5bf0efd8-f5d9-4563-bd1f-3a2b30e2eb1c.vsidx
  4. BIN
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/.suo
  5. BIN
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/Browse.VC.db
  6. 45 0
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/DocumentLayout.backup.json
  7. 45 0
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/DocumentLayout.json
  8. BIN
      Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/ipch/AutoPCH/3f72d5fb3dc1e15b/COMPOSITE SOFTWARE PATTERN C++ EXAMPLES.ipch
  9. 31 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.sln
  10. 139 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.cpp
  11. 135 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.vcxproj
  12. 22 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.vcxproj.filters
  13. 4 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.vcxproj.user
  14. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/CL.command.1.tlog
  15. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/CL.read.1.tlog
  16. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/CL.write.1.tlog
  17. 1 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/Cl.items.tlog
  18. 2 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/Composite Software Pattern C++ Examples.lastbuildstate
  19. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.command.1.tlog
  20. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.read.1.tlog
  21. 2 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.secondary.1.tlog
  22. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.write.1.tlog
  23. 11 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.exe.recipe
  24. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.ilk
  25. 32 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.log
  26. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.obj
  27. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/vc143.idb
  28. BIN
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/vc143.pdb
  29. 1 0
      Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/vcpkg.applocal.log
  30. BIN
      Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.exe
  31. BIN
      Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.pdb

BIN
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/CopilotIndices/17.13.444.19527/CodeChunks.db


BIN
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/CopilotIndices/17.13.444.19527/SemanticSymbols.db


BIN
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/FileContentIndex/5bf0efd8-f5d9-4563-bd1f-3a2b30e2eb1c.vsidx


BIN
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/.suo


BIN
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/Browse.VC.db


+ 45 - 0
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/DocumentLayout.backup.json

@@ -0,0 +1,45 @@
+{
+  "Version": 1,
+  "WorkspaceRootPath": "C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\",
+  "Documents": [
+    {
+      "AbsoluteMoniker": "D:0:0:{AAF38708-8A1D-48D3-A352-001385DE306C}|Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.vcxproj|C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
+      "RelativeMoniker": "D:0:0:{AAF38708-8A1D-48D3-A352-001385DE306C}|Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.vcxproj|solutionrelative:Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
+    }
+  ],
+  "DocumentGroupContainers": [
+    {
+      "Orientation": 0,
+      "VerticalTabListWidth": 256,
+      "DocumentGroups": [
+        {
+          "DockedWidth": 200,
+          "SelectedChildIndex": 2,
+          "Children": [
+            {
+              "$type": "Bookmark",
+              "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:0:0:{40ea2e6b-2121-4bb8-a43e-c83c04b51041}"
+            },
+            {
+              "$type": "Document",
+              "DocumentIndex": 0,
+              "Title": "Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "DocumentMoniker": "C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "RelativeDocumentMoniker": "Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "ToolTip": "C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "RelativeToolTip": "Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "ViewState": "AgIAAG0AAAAAAAAAAAAgwH4AAAAAAAAAAAAAAA==",
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
+              "WhenOpened": "2025-04-28T07:35:15.535Z",
+              "EditorCaption": ""
+            }
+          ]
+        }
+      ]
+    }
+  ]
+}

+ 45 - 0
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/DocumentLayout.json

@@ -0,0 +1,45 @@
+{
+  "Version": 1,
+  "WorkspaceRootPath": "C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\",
+  "Documents": [
+    {
+      "AbsoluteMoniker": "D:0:0:{AAF38708-8A1D-48D3-A352-001385DE306C}|Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.vcxproj|C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}",
+      "RelativeMoniker": "D:0:0:{AAF38708-8A1D-48D3-A352-001385DE306C}|Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.vcxproj|solutionrelative:Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp||{D0E1A5C6-B359-4E41-9B60-3365922C2A22}"
+    }
+  ],
+  "DocumentGroupContainers": [
+    {
+      "Orientation": 0,
+      "VerticalTabListWidth": 256,
+      "DocumentGroups": [
+        {
+          "DockedWidth": 200,
+          "SelectedChildIndex": 2,
+          "Children": [
+            {
+              "$type": "Bookmark",
+              "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
+            },
+            {
+              "$type": "Bookmark",
+              "Name": "ST:0:0:{40ea2e6b-2121-4bb8-a43e-c83c04b51041}"
+            },
+            {
+              "$type": "Document",
+              "DocumentIndex": 0,
+              "Title": "Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "DocumentMoniker": "C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "RelativeDocumentMoniker": "Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "ToolTip": "C:\\Users\\wruser\\source\\repos\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "RelativeToolTip": "Composite Software Pattern C\u002B\u002B Examples\\Composite Software Pattern C\u002B\u002B Examples.cpp",
+              "ViewState": "AgIAAD0AAAAAAAAAAAAgwEsAAAABAAAAAAAAAA==",
+              "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000677|",
+              "WhenOpened": "2025-04-28T07:35:15.535Z",
+              "EditorCaption": ""
+            }
+          ]
+        }
+      ]
+    }
+  ]
+}

BIN
Composite Software Pattern C++ Examples/.vs/Composite Software Pattern C++ Examples/v17/ipch/AutoPCH/3f72d5fb3dc1e15b/COMPOSITE SOFTWARE PATTERN C++ EXAMPLES.ipch


+ 31 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.sln

@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.13.35931.197 d17.13
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Composite Software Pattern C++ Examples", "Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples.vcxproj", "{AAF38708-8A1D-48D3-A352-001385DE306C}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|x64 = Debug|x64
+		Debug|x86 = Debug|x86
+		Release|x64 = Release|x64
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Debug|x64.ActiveCfg = Debug|x64
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Debug|x64.Build.0 = Debug|x64
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Debug|x86.ActiveCfg = Debug|Win32
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Debug|x86.Build.0 = Debug|Win32
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Release|x64.ActiveCfg = Release|x64
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Release|x64.Build.0 = Release|x64
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Release|x86.ActiveCfg = Release|Win32
+		{AAF38708-8A1D-48D3-A352-001385DE306C}.Release|x86.Build.0 = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {8D130835-BCD4-4383-AD7E-55A464F11456}
+	EndGlobalSection
+EndGlobal

+ 139 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.cpp

@@ -0,0 +1,139 @@
+#include <iostream>
+#include <vector>
+#include <string>
+#include <memory>
+#include <functional>
+
+#if 0
+
+
+// https://softwarepatterns.com/cpp/composite-software-pattern-cpp-example#example-6-standardized-window-menu-system
+
+
+// Base component
+class MenuItem {
+public:
+    virtual void display() const = 0;
+    virtual ~MenuItem() = default;
+};
+
+// Leaf component
+class ActionItem : public MenuItem {
+private:
+    std::string title;
+    std::function<void()> action;
+public:
+    ActionItem(std::string title, std::function<void()> action)
+        : title(std::move(title)), action(std::move(action)) {
+    }
+
+    void display() const override {
+        std::cout << "Action: " << title << std::endl;
+    }
+
+    void trigger() const {
+        action();
+    }
+};
+
+// Composite component
+class Menu : public MenuItem {
+private:
+    std::string title;
+    std::vector<std::shared_ptr<MenuItem>> items;
+public:
+    Menu(std::string title) : title(std::move(title)) {}
+
+    void addItem(const std::shared_ptr<MenuItem>& item) {
+        items.push_back(item);
+    }
+
+    void display() const override {
+        std::cout << "Menu: " << title << std::endl;
+        for (const auto& item : items) {
+            item->display();
+        }
+    }
+};
+
+int main() {
+    auto fileMenu = std::make_shared<Menu>("File");
+    fileMenu->addItem(std::make_shared<ActionItem>("Open", []() { std::cout << "Opening file...\n"; }));
+    fileMenu->addItem(std::make_shared<ActionItem>("Save", []() { std::cout << "Saving file...\n"; }));
+
+    auto editMenu = std::make_shared<Menu>("Edit");
+    editMenu->addItem(std::make_shared<ActionItem>("Copy", []() { std::cout << "Copying...\n"; }));
+    editMenu->addItem(std::make_shared<ActionItem>("Paste", []() { std::cout << "Pasting...\n"; }));
+
+    auto mainMenu = std::make_shared<Menu>("Main Menu");
+    mainMenu->addItem(fileMenu);
+    mainMenu->addItem(editMenu);
+
+    // Display the entire menu system
+    mainMenu->display();
+
+    return 0;
+}
+
+#else
+
+// https://softwarepatterns.com/cpp/composite-software-pattern-cpp-example#example-2-standardized-drawing-interface-for-graphics
+
+// Component class
+class Graphic {
+public:
+    virtual void draw() = 0;
+};
+
+// Leaf class: Circle
+class Circle : public Graphic {
+private:
+    std::string name;
+    int radius;
+
+public:
+    Circle(const std::string& name, int radius) : name(name), radius(radius) {}
+
+    void draw() override {
+        std::cout << "Drawing Circle: " << name << " (Radius: " << radius << ")" << std::endl;
+    }
+};
+
+// Composite class: CompoundGraphic
+class CompoundGraphic : public Graphic {
+private:
+    std::string name;
+    std::vector<Graphic*> children;
+
+public:
+    CompoundGraphic(const std::string& name) : name(name) {}
+
+    void draw() override {
+        std::cout << "Drawing Composite: " << name << std::endl;
+        for (Graphic* child : children) {
+            child->draw();
+        }
+    }
+
+    void add(Graphic* graphic) {
+        children.push_back(graphic);
+    }
+};
+
+int main() {
+    Circle circle1("Circle 1", 10);
+    Circle circle2("Circle 2", 20);
+
+    CompoundGraphic compound("Compound Graphic");
+    compound.add(&circle1);
+    compound.add(&circle2);
+
+    circle1.draw();
+    circle2.draw();
+
+    compound.draw();
+
+    return 0;
+}
+
+#endif

+ 135 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.vcxproj

@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <VCProjectVersion>17.0</VCProjectVersion>
+    <Keyword>Win32Proj</Keyword>
+    <ProjectGuid>{aaf38708-8a1d-48d3-a352-001385de306c}</ProjectGuid>
+    <RootNamespace>CompositeSoftwarePatternCExamples</RootNamespace>
+    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v143</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v143</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v143</PlatformToolset>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v143</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="Shared">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <SDLCheck>true</SDLCheck>
+      <PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <ConformanceMode>true</ConformanceMode>
+    </ClCompile>
+    <Link>
+      <SubSystem>Console</SubSystem>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="Composite Software Pattern C++ Examples.cpp" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>

+ 22 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.vcxproj.filters

@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Quelldateien">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Headerdateien">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
+    </Filter>
+    <Filter Include="Ressourcendateien">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="Composite Software Pattern C++ Examples.cpp">
+      <Filter>Quelldateien</Filter>
+    </ClCompile>
+  </ItemGroup>
+</Project>

+ 4 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples.vcxproj.user

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup />
+</Project>

BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/CL.command.1.tlog


BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/CL.read.1.tlog


BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/CL.write.1.tlog


+ 1 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/Cl.items.tlog

@@ -0,0 +1 @@
+C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples.cpp;C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.obj

+ 2 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/Composite Software Pattern C++ Examples.lastbuildstate

@@ -0,0 +1,2 @@
+PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.43.34808:TargetPlatformVersion=10.0.22621.0:VcpkgTriplet=x64-windows:
+Debug|x64|C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\|

BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.command.1.tlog


BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.read.1.tlog


+ 2 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.secondary.1.tlog

@@ -0,0 +1,2 @@
+^C:\USERS\WRUSER\SOURCE\REPOS\COMPOSITE SOFTWARE PATTERN C++ EXAMPLES\COMPOSITE SOFTWARE PATTERN C++ EXAMPLES\X64\DEBUG\COMPOSITE SOFTWARE PATTERN C++ EXAMPLES.OBJ
+C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.ilk

BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composit.aaf38708.tlog/link.write.1.tlog


+ 11 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.exe.recipe

@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project>
+  <ProjectOutputs>
+    <ProjectOutput>
+      <FullPath>C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.exe</FullPath>
+    </ProjectOutput>
+  </ProjectOutputs>
+  <ContentFiles />
+  <SatelliteDlls />
+  <NonRecipeFileRefs />
+</Project>

BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.ilk


+ 32 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.log

@@ -0,0 +1,32 @@
+Der Buildvorgang wurde am 28.04.2025 09:46:21 gestartet.
+Die Ausführlichkeit der Protokollierung ist auf "Normal" festgelegt.     1>Projekt "C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples.vcxproj" auf Knoten "2", Build Ziel(e).
+     1>PrepareForBuild:
+         Die strukturierte Ausgabe ist aktiviert. Die Formatierung der Compilerdiagnose spiegelt die Fehlerhierarchie wider. Weitere Informationen finden Sie unter https://aka.ms/cpp/structured-output.
+       InitializeBuildStatus:
+         "x64\Debug\Composit.aaf38708.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde.
+         Aktualisieren des Timestamps von "x64\Debug\Composit.aaf38708.tlog\unsuccessfulbuild".
+       VcpkgTripletSelection:
+         Using triplet "x64-windows" from "C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\"
+         Using normalized configuration "Debug"
+       ClCompile:
+         D:\Programme\VS2022\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64\CL.exe /c /I"C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\include" /ZI /JMC /nologo /W3 /WX- /diagnostics:column /sdl /Od /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /permissive- /Fo"x64\Debug\\" /Fd"x64\Debug\vc143.pdb" /external:W3 /Gd /TP /FC /errorReport:prompt "Composite Software Pattern C++ Examples.cpp"
+         Composite Software Pattern C++ Examples.cpp
+       Link:
+         D:\Programme\VS2022\VC\Tools\MSVC\14.43.34808\bin\HostX64\x64\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.exe" /INCREMENTAL /ILK:"x64\Debug\Composite Software Pattern C++ Examples.ilk" /NOLOGO /LIBPATH:"C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\debug\lib" /LIBPATH:"C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\debug\lib\manual-link" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\debug\lib\*.lib" /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.lib" /MACHINE:X64 "x64\Debug\Composite Software Pattern C++ Examples.obj"
+         Composite Software Pattern C++ Examples.vcxproj -> C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.exe
+       AppLocalFromInstalled:
+         pwsh.exe -ExecutionPolicy Bypass -noprofile -File "C:\Users\wruser\source\repos\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.exe" "C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\debug\bin" "x64\Debug\Composit.aaf38708.tlog\Composite Software Pattern C++ Examples.write.1u.tlog" "x64\Debug\vcpkg.applocal.log"
+         Der Befehl "pwsh.exe" ist entweder falsch geschrieben oder
+         konnte nicht gefunden werden.
+         Der Befehl "pwsh.exe -ExecutionPolicy Bypass -noprofile -File "C:\Users\wruser\source\repos\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.exe" "C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\debug\bin" "x64\Debug\Composit.aaf38708.tlog\Composite Software Pattern C++ Examples.write.1u.tlog" "x64\Debug\vcpkg.applocal.log"" wurde mit dem Code 9009 beendet.
+         "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -noprofile -File "C:\Users\wruser\source\repos\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\x64\Debug\Composite Software Pattern C++ Examples.exe" "C:\Users\wruser\source\repos\vcpkg\installed\x64-windows\debug\bin" "x64\Debug\Composit.aaf38708.tlog\Composite Software Pattern C++ Examples.write.1u.tlog" "x64\Debug\vcpkg.applocal.log"
+       FinalizeBuildStatus:
+         Die Datei "x64\Debug\Composit.aaf38708.tlog\unsuccessfulbuild" wird gelöscht.
+         Aktualisieren des Timestamps von "x64\Debug\Composit.aaf38708.tlog\Composite Software Pattern C++ Examples.lastbuildstate".
+     1>Die Erstellung von Projekt "C:\Users\wruser\source\repos\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples\Composite Software Pattern C++ Examples.vcxproj" ist abgeschlossen (Build Ziel(e)).
+
+Der Buildvorgang wurde erfolgreich ausgeführt.
+    0 Warnung(en)
+    0 Fehler
+
+Verstrichene Zeit 00:00:02.45

BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.obj


BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/vc143.idb


BIN
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/vc143.pdb


+ 1 - 0
Composite Software Pattern C++ Examples/Composite Software Pattern C++ Examples/x64/Debug/vcpkg.applocal.log

@@ -0,0 +1 @@
+

BIN
Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.exe


BIN
Composite Software Pattern C++ Examples/x64/Debug/Composite Software Pattern C++ Examples.pdb