From 65526649cc02b12b9938b88d32e7daafe9fdf2b2 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Mon, 16 Feb 2026 17:46:51 -0500 Subject: [PATCH] xo-interpreter2 stack: OUTPUT_CPP_DIR cmake->idl/ --- CMakeLists.txt | 17 ----------------- idl/IGCObject_DArray.json5 | 1 + idl/IGCObject_DBoolean.json5 | 1 + idl/IGCObject_DFloat.json5 | 1 + idl/IGCObject_DInteger.json5 | 1 + idl/IGCObject_DList.json5 | 1 + idl/IGCObject_DRuntimeError.json5 | 1 + idl/IGCObject_DString.json5 | 1 + idl/IPrintable_DArray.json5 | 1 + idl/IPrintable_DBoolean.json5 | 1 + idl/IPrintable_DFloat.json5 | 1 + idl/IPrintable_DInteger.json5 | 1 + idl/IPrintable_DList.json5 | 1 + idl/IPrintable_DRuntimeError.json5 | 1 + idl/IPrintable_DString.json5 | 1 + idl/ISequence_DArray.json5 | 1 + idl/ISequence_DList.json5 | 1 + idl/Sequence.json5 | 2 ++ include/xo/object2/Sequence.hpp | 4 ++-- include/xo/object2/array/IGCObject_DArray.hpp | 2 +- include/xo/object2/array/IPrintable_DArray.hpp | 2 +- include/xo/object2/array/ISequence_DArray.hpp | 2 +- .../xo/object2/boolean/IGCObject_DBoolean.hpp | 2 +- .../xo/object2/boolean/IPrintable_DBoolean.hpp | 2 +- include/xo/object2/list/IGCObject_DList.hpp | 2 +- include/xo/object2/list/IPrintable_DList.hpp | 2 +- include/xo/object2/list/ISequence_DList.hpp | 2 +- include/xo/object2/number/IGCObject_DFloat.hpp | 2 +- .../xo/object2/number/IGCObject_DInteger.hpp | 2 +- include/xo/object2/number/IPrintable_DFloat.hpp | 2 +- .../xo/object2/number/IPrintable_DInteger.hpp | 2 +- include/xo/object2/sequence/ASequence.hpp | 6 ++++-- include/xo/object2/sequence/ISequence_Any.hpp | 9 ++++++--- include/xo/object2/sequence/ISequence_Xfer.hpp | 9 ++++++--- include/xo/object2/sequence/RSequence.hpp | 11 ++++++++--- include/xo/object2/string/IGCObject_DString.hpp | 2 +- .../xo/object2/string/IPrintable_DString.hpp | 2 +- src/object2/IGCObject_DArray.cpp | 4 ++-- src/object2/IGCObject_DBoolean.cpp | 4 ++-- src/object2/IGCObject_DFloat.cpp | 4 ++-- src/object2/IGCObject_DInteger.cpp | 4 ++-- src/object2/IGCObject_DList.cpp | 4 ++-- src/object2/IGCObject_DString.cpp | 4 ++-- src/object2/IPrintable_DArray.cpp | 4 ++-- src/object2/IPrintable_DBoolean.cpp | 4 ++-- src/object2/IPrintable_DFloat.cpp | 4 ++-- src/object2/IPrintable_DInteger.cpp | 4 ++-- src/object2/IPrintable_DList.cpp | 4 ++-- src/object2/IPrintable_DString.cpp | 4 ++-- src/object2/ISequence_Any.cpp | 2 +- src/object2/ISequence_DArray.cpp | 4 ++-- src/object2/ISequence_DList.cpp | 4 ++-- 52 files changed, 87 insertions(+), 73 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fc0ae29..09faf6b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,6 @@ xo_add_genfacet( INPUT idl/Sequence.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR sequence - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -39,7 +38,6 @@ xo_add_genfacetimpl( INPUT idl/ISequence_DList.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR list - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -51,7 +49,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DList.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR list - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -63,7 +60,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DList.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR list - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -77,7 +73,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DBoolean.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR boolean - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -89,7 +84,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DBoolean.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR boolean - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -103,7 +97,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DFloat.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR number - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -115,7 +108,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DFloat.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR number - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -129,7 +121,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DInteger.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR number - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -141,7 +132,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DInteger.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR number - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -155,7 +145,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DString.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR string - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -167,7 +156,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DString.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR string - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -181,7 +169,6 @@ xo_add_genfacetimpl( INPUT idl/ISequence_DArray.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR array - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -193,7 +180,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DArray.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR array - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -205,7 +191,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DArray.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR array - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- @@ -219,7 +204,6 @@ xo_add_genfacetimpl( INPUT idl/IPrintable_DRuntimeError.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR error - OUTPUT_CPP_DIR src/object2 ) # note: manual target; generated code committed to git @@ -231,7 +215,6 @@ xo_add_genfacetimpl( INPUT idl/IGCObject_DRuntimeError.json5 OUTPUT_HPP_DIR include/xo/object2 OUTPUT_IMPL_SUBDIR error - OUTPUT_CPP_DIR src/object2 ) # ---------------------------------------------------------------- diff --git a/idl/IGCObject_DArray.json5 b/idl/IGCObject_DArray.json5 index e8aeed3b..3e1115e0 100644 --- a/idl/IGCObject_DArray.json5 +++ b/idl/IGCObject_DArray.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" diff --git a/idl/IGCObject_DBoolean.json5 b/idl/IGCObject_DBoolean.json5 index de3663c4..be131a38 100644 --- a/idl/IGCObject_DBoolean.json5 +++ b/idl/IGCObject_DBoolean.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" diff --git a/idl/IGCObject_DFloat.json5 b/idl/IGCObject_DFloat.json5 index 9aba2a34..2791de0b 100644 --- a/idl/IGCObject_DFloat.json5 +++ b/idl/IGCObject_DFloat.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "", diff --git a/idl/IGCObject_DInteger.json5 b/idl/IGCObject_DInteger.json5 index 65f24371..6b865a4c 100644 --- a/idl/IGCObject_DInteger.json5 +++ b/idl/IGCObject_DInteger.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" diff --git a/idl/IGCObject_DList.json5 b/idl/IGCObject_DList.json5 index 342fc299..e660b0c1 100644 --- a/idl/IGCObject_DList.json5 +++ b/idl/IGCObject_DList.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ // "", // "" diff --git a/idl/IGCObject_DRuntimeError.json5 b/idl/IGCObject_DRuntimeError.json5 index 9e416b24..60d30cc7 100644 --- a/idl/IGCObject_DRuntimeError.json5 +++ b/idl/IGCObject_DRuntimeError.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ // "", // "" diff --git a/idl/IGCObject_DString.json5 b/idl/IGCObject_DString.json5 index 8d0e14e0..60c2165e 100644 --- a/idl/IGCObject_DString.json5 +++ b/idl/IGCObject_DString.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" diff --git a/idl/IPrintable_DArray.json5 b/idl/IPrintable_DArray.json5 index df0ef171..eee19b52 100644 --- a/idl/IPrintable_DArray.json5 +++ b/idl/IPrintable_DArray.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/IPrintable_DBoolean.json5 b/idl/IPrintable_DBoolean.json5 index 599a1923..09245363 100644 --- a/idl/IPrintable_DBoolean.json5 +++ b/idl/IPrintable_DBoolean.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/IPrintable_DFloat.json5 b/idl/IPrintable_DFloat.json5 index 7351c1b2..427c5dce 100644 --- a/idl/IPrintable_DFloat.json5 +++ b/idl/IPrintable_DFloat.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/IPrintable_DInteger.json5 b/idl/IPrintable_DInteger.json5 index 1a2e5490..92c74376 100644 --- a/idl/IPrintable_DInteger.json5 +++ b/idl/IPrintable_DInteger.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/IPrintable_DList.json5 b/idl/IPrintable_DList.json5 index 640d7d1d..58b8ea82 100644 --- a/idl/IPrintable_DList.json5 +++ b/idl/IPrintable_DList.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/IPrintable_DRuntimeError.json5 b/idl/IPrintable_DRuntimeError.json5 index 2d0f3eff..b9e291e0 100644 --- a/idl/IPrintable_DRuntimeError.json5 +++ b/idl/IPrintable_DRuntimeError.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/IPrintable_DString.json5 b/idl/IPrintable_DString.json5 index f032ca46..8caffaab 100644 --- a/idl/IPrintable_DString.json5 +++ b/idl/IPrintable_DString.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "", "" ], local_types: [ ], diff --git a/idl/ISequence_DArray.json5 b/idl/ISequence_DArray.json5 index 198410da..1f09b0bb 100644 --- a/idl/ISequence_DArray.json5 +++ b/idl/ISequence_DArray.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ ], local_types: [ ], namespace1: "xo", diff --git a/idl/ISequence_DList.json5 b/idl/ISequence_DList.json5 index 677285da..edf0e8dc 100644 --- a/idl/ISequence_DList.json5 +++ b/idl/ISequence_DList.json5 @@ -1,5 +1,6 @@ { mode: "implementation", + output_cpp_dir: "src/object2", includes: [ "" ], local_types: [ ], namespace1: "xo", diff --git a/idl/Sequence.json5 b/idl/Sequence.json5 index 9ceda9ea..5c5139da 100644 --- a/idl/Sequence.json5 +++ b/idl/Sequence.json5 @@ -1,5 +1,6 @@ { mode: "facet", + output_cpp_dir: "src/object2", includes: [""], // extra includes in Sequence.hpp, if any user_hpp_includes: [], @@ -67,4 +68,5 @@ ], nonconst_methods: [ ], + router_facet_explicit_content: [] } diff --git a/include/xo/object2/Sequence.hpp b/include/xo/object2/Sequence.hpp index 7866f91b..0478fa8b 100644 --- a/include/xo/object2/Sequence.hpp +++ b/include/xo/object2/Sequence.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/Sequence.json5] * 2. jinja2 template for facet .hpp file: @@ -19,4 +19,4 @@ #include "sequence/RSequence.hpp" -/* end Sequence.hpp */ \ No newline at end of file +/* end Sequence.hpp */ diff --git a/include/xo/object2/array/IGCObject_DArray.hpp b/include/xo/object2/array/IGCObject_DArray.hpp index 0b2279f1..9af6d3c7 100644 --- a/include/xo/object2/array/IGCObject_DArray.hpp +++ b/include/xo/object2/array/IGCObject_DArray.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DArray.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/array/IPrintable_DArray.hpp b/include/xo/object2/array/IPrintable_DArray.hpp index 1b3a4663..890cbab5 100644 --- a/include/xo/object2/array/IPrintable_DArray.hpp +++ b/include/xo/object2/array/IPrintable_DArray.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DArray.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/array/ISequence_DArray.hpp b/include/xo/object2/array/ISequence_DArray.hpp index 27f47db3..3b756b94 100644 --- a/include/xo/object2/array/ISequence_DArray.hpp +++ b/include/xo/object2/array/ISequence_DArray.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/ISequence_DArray.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/boolean/IGCObject_DBoolean.hpp b/include/xo/object2/boolean/IGCObject_DBoolean.hpp index e075874c..1d90b60e 100644 --- a/include/xo/object2/boolean/IGCObject_DBoolean.hpp +++ b/include/xo/object2/boolean/IGCObject_DBoolean.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DBoolean.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/boolean/IPrintable_DBoolean.hpp b/include/xo/object2/boolean/IPrintable_DBoolean.hpp index e17f169a..b650c435 100644 --- a/include/xo/object2/boolean/IPrintable_DBoolean.hpp +++ b/include/xo/object2/boolean/IPrintable_DBoolean.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DBoolean.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/list/IGCObject_DList.hpp b/include/xo/object2/list/IGCObject_DList.hpp index 19000df6..7e1f1428 100644 --- a/include/xo/object2/list/IGCObject_DList.hpp +++ b/include/xo/object2/list/IGCObject_DList.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DList.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/list/IPrintable_DList.hpp b/include/xo/object2/list/IPrintable_DList.hpp index d068bda1..77e7b1d3 100644 --- a/include/xo/object2/list/IPrintable_DList.hpp +++ b/include/xo/object2/list/IPrintable_DList.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DList.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/list/ISequence_DList.hpp b/include/xo/object2/list/ISequence_DList.hpp index d7c44e3b..ac468764 100644 --- a/include/xo/object2/list/ISequence_DList.hpp +++ b/include/xo/object2/list/ISequence_DList.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/ISequence_DList.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/number/IGCObject_DFloat.hpp b/include/xo/object2/number/IGCObject_DFloat.hpp index a5a01fff..9a1dcbdc 100644 --- a/include/xo/object2/number/IGCObject_DFloat.hpp +++ b/include/xo/object2/number/IGCObject_DFloat.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DFloat.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/number/IGCObject_DInteger.hpp b/include/xo/object2/number/IGCObject_DInteger.hpp index 6aa3c9fc..1136b577 100644 --- a/include/xo/object2/number/IGCObject_DInteger.hpp +++ b/include/xo/object2/number/IGCObject_DInteger.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DInteger.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/number/IPrintable_DFloat.hpp b/include/xo/object2/number/IPrintable_DFloat.hpp index 2bcaf1d2..9506055a 100644 --- a/include/xo/object2/number/IPrintable_DFloat.hpp +++ b/include/xo/object2/number/IPrintable_DFloat.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DFloat.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/number/IPrintable_DInteger.hpp b/include/xo/object2/number/IPrintable_DInteger.hpp index a13334d6..1b5df6c4 100644 --- a/include/xo/object2/number/IPrintable_DInteger.hpp +++ b/include/xo/object2/number/IPrintable_DInteger.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DInteger.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/sequence/ASequence.hpp b/include/xo/object2/sequence/ASequence.hpp index 5281e0ea..53d112e7 100644 --- a/include/xo/object2/sequence/ASequence.hpp +++ b/include/xo/object2/sequence/ASequence.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/Sequence.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -51,6 +51,8 @@ public: // const methods /** RTTI: unique id# for actual runtime data representation **/ virtual typeseq _typeseq() const noexcept = 0; + /** destroy instance @p d; calls c++ dtor only for actual runtime type; does not recover memory **/ + virtual void _drop(Opaque d) const noexcept = 0; /** true iff sequence is empty **/ virtual bool is_empty(Copaque data) const noexcept = 0; /** true iff sequence is finite **/ @@ -78,4 +80,4 @@ using ISequence_ImplType = xo::facet::FacetImplType; } /*namespace scm*/ } /*namespace xo*/ -/* ASequence.hpp */ \ No newline at end of file +/* ASequence.hpp */ diff --git a/include/xo/object2/sequence/ISequence_Any.hpp b/include/xo/object2/sequence/ISequence_Any.hpp index 0e7c5c10..e878f729 100644 --- a/include/xo/object2/sequence/ISequence_Any.hpp +++ b/include/xo/object2/sequence/ISequence_Any.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/Sequence.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -55,8 +55,11 @@ namespace scm { // from ASequence - // const methods + // builtin methods typeseq _typeseq() const noexcept override { return s_typeseq; } + [[noreturn]] void _drop(Opaque) const noexcept override { _fatal(); } + + // const methods [[noreturn]] bool is_empty(Copaque) const noexcept override { _fatal(); } [[noreturn]] bool is_finite(Copaque) const noexcept override { _fatal(); } [[noreturn]] obj at(Copaque, size_type) const override { _fatal(); } @@ -86,4 +89,4 @@ namespace scm { } /*namespace scm */ } /*namespace xo */ -/* ISequence_Any.hpp */ \ No newline at end of file +/* ISequence_Any.hpp */ diff --git a/include/xo/object2/sequence/ISequence_Xfer.hpp b/include/xo/object2/sequence/ISequence_Xfer.hpp index f3dc8b35..42d6cb1b 100644 --- a/include/xo/object2/sequence/ISequence_Xfer.hpp +++ b/include/xo/object2/sequence/ISequence_Xfer.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/Sequence.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -40,8 +40,11 @@ namespace scm { // from ASequence - // const methods + // builtin methods typeseq _typeseq() const noexcept override { return s_typeseq; } + void _drop(Opaque d) const noexcept override { _dcast(d).~DRepr(); } + + // const methods bool is_empty(Copaque data) const noexcept override { return I::is_empty(_dcast(data)); } @@ -85,4 +88,4 @@ namespace scm { } /*namespace scm */ } /*namespace xo*/ -/* end ISequence_Xfer.hpp */ \ No newline at end of file +/* end ISequence_Xfer.hpp */ diff --git a/include/xo/object2/sequence/RSequence.hpp b/include/xo/object2/sequence/RSequence.hpp index be4fafb0..76f60059 100644 --- a/include/xo/object2/sequence/RSequence.hpp +++ b/include/xo/object2/sequence/RSequence.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/Sequence.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -47,8 +47,13 @@ public: /** @defgroup scm-sequence-router-methods **/ ///@{ - // const methods + // explicit injected content + + // builtin methods typeseq _typeseq() const noexcept { return O::iface()->_typeseq(); } + void _drop() const noexcept { O::iface()->_drop(O::data()); } + + // const methods bool is_empty() const noexcept { return O::iface()->is_empty(O::data()); } @@ -84,4 +89,4 @@ namespace xo { namespace facet { }; } } -/* end RSequence.hpp */ \ No newline at end of file +/* end RSequence.hpp */ diff --git a/include/xo/object2/string/IGCObject_DString.hpp b/include/xo/object2/string/IGCObject_DString.hpp index 95a19483..159b9e49 100644 --- a/include/xo/object2/string/IGCObject_DString.hpp +++ b/include/xo/object2/string/IGCObject_DString.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DString.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/include/xo/object2/string/IPrintable_DString.hpp b/include/xo/object2/string/IPrintable_DString.hpp index f1be1374..f898a17c 100644 --- a/include/xo/object2/string/IPrintable_DString.hpp +++ b/include/xo/object2/string/IPrintable_DString.hpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DString.json5] * 2. jinja2 template for abstract facet .hpp file: diff --git a/src/object2/IGCObject_DArray.cpp b/src/object2/IGCObject_DArray.cpp index a2ee4bc1..1063bd45 100644 --- a/src/object2/IGCObject_DArray.cpp +++ b/src/object2/IGCObject_DArray.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DArray.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -36,4 +36,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IGCObject_DArray.cpp */ \ No newline at end of file +/* end IGCObject_DArray.cpp */ diff --git a/src/object2/IGCObject_DBoolean.cpp b/src/object2/IGCObject_DBoolean.cpp index 72aa0b1b..3ef60aea 100644 --- a/src/object2/IGCObject_DBoolean.cpp +++ b/src/object2/IGCObject_DBoolean.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DBoolean.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -36,4 +36,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IGCObject_DBoolean.cpp */ \ No newline at end of file +/* end IGCObject_DBoolean.cpp */ diff --git a/src/object2/IGCObject_DFloat.cpp b/src/object2/IGCObject_DFloat.cpp index 3c44db5d..9e31cf68 100644 --- a/src/object2/IGCObject_DFloat.cpp +++ b/src/object2/IGCObject_DFloat.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DFloat.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -36,4 +36,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IGCObject_DFloat.cpp */ \ No newline at end of file +/* end IGCObject_DFloat.cpp */ diff --git a/src/object2/IGCObject_DInteger.cpp b/src/object2/IGCObject_DInteger.cpp index 91d8e4a1..55e1fae7 100644 --- a/src/object2/IGCObject_DInteger.cpp +++ b/src/object2/IGCObject_DInteger.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DInteger.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -36,4 +36,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IGCObject_DInteger.cpp */ \ No newline at end of file +/* end IGCObject_DInteger.cpp */ diff --git a/src/object2/IGCObject_DList.cpp b/src/object2/IGCObject_DList.cpp index b9d36cc5..f4e9472b 100644 --- a/src/object2/IGCObject_DList.cpp +++ b/src/object2/IGCObject_DList.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DList.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -36,4 +36,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IGCObject_DList.cpp */ \ No newline at end of file +/* end IGCObject_DList.cpp */ diff --git a/src/object2/IGCObject_DString.cpp b/src/object2/IGCObject_DString.cpp index 1eff4da5..d34f0eaf 100644 --- a/src/object2/IGCObject_DString.cpp +++ b/src/object2/IGCObject_DString.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IGCObject_DString.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -36,4 +36,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IGCObject_DString.cpp */ \ No newline at end of file +/* end IGCObject_DString.cpp */ diff --git a/src/object2/IPrintable_DArray.cpp b/src/object2/IPrintable_DArray.cpp index d444800b..b9248516 100644 --- a/src/object2/IPrintable_DArray.cpp +++ b/src/object2/IPrintable_DArray.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DArray.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -25,4 +25,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DArray.cpp */ \ No newline at end of file +/* end IPrintable_DArray.cpp */ diff --git a/src/object2/IPrintable_DBoolean.cpp b/src/object2/IPrintable_DBoolean.cpp index d8fddd87..3b85aa27 100644 --- a/src/object2/IPrintable_DBoolean.cpp +++ b/src/object2/IPrintable_DBoolean.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DBoolean.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -25,4 +25,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DBoolean.cpp */ \ No newline at end of file +/* end IPrintable_DBoolean.cpp */ diff --git a/src/object2/IPrintable_DFloat.cpp b/src/object2/IPrintable_DFloat.cpp index 0c0a6789..f1e8be6d 100644 --- a/src/object2/IPrintable_DFloat.cpp +++ b/src/object2/IPrintable_DFloat.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DFloat.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -25,4 +25,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DFloat.cpp */ \ No newline at end of file +/* end IPrintable_DFloat.cpp */ diff --git a/src/object2/IPrintable_DInteger.cpp b/src/object2/IPrintable_DInteger.cpp index 8924a72c..7a9bbdaa 100644 --- a/src/object2/IPrintable_DInteger.cpp +++ b/src/object2/IPrintable_DInteger.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DInteger.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -25,4 +25,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DInteger.cpp */ \ No newline at end of file +/* end IPrintable_DInteger.cpp */ diff --git a/src/object2/IPrintable_DList.cpp b/src/object2/IPrintable_DList.cpp index 095b323d..a8f9b657 100644 --- a/src/object2/IPrintable_DList.cpp +++ b/src/object2/IPrintable_DList.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DList.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -25,4 +25,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DList.cpp */ \ No newline at end of file +/* end IPrintable_DList.cpp */ diff --git a/src/object2/IPrintable_DString.cpp b/src/object2/IPrintable_DString.cpp index 86d4565e..f5ec4967 100644 --- a/src/object2/IPrintable_DString.cpp +++ b/src/object2/IPrintable_DString.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/IPrintable_DString.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -25,4 +25,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end IPrintable_DString.cpp */ \ No newline at end of file +/* end IPrintable_DString.cpp */ diff --git a/src/object2/ISequence_Any.cpp b/src/object2/ISequence_Any.cpp index 8461d750..372571f7 100644 --- a/src/object2/ISequence_Any.cpp +++ b/src/object2/ISequence_Any.cpp @@ -38,4 +38,4 @@ ISequence_Any::_valid } /*namespace scm*/ } /*namespace xo*/ -/* end ISequence_Any.cpp */ \ No newline at end of file +/* end ISequence_Any.cpp */ diff --git a/src/object2/ISequence_DArray.cpp b/src/object2/ISequence_DArray.cpp index 40ffe36a..abeeaeee 100644 --- a/src/object2/ISequence_DArray.cpp +++ b/src/object2/ISequence_DArray.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/ISequence_DArray.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -37,4 +37,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end ISequence_DArray.cpp */ \ No newline at end of file +/* end ISequence_DArray.cpp */ diff --git a/src/object2/ISequence_DList.cpp b/src/object2/ISequence_DList.cpp index 3c9c2437..2bc21862 100644 --- a/src/object2/ISequence_DList.cpp +++ b/src/object2/ISequence_DList.cpp @@ -2,7 +2,7 @@ * * Generated automagically from ingredients: * 1. code generator: - * [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet] + * [xo-facet/codegen/genfacet] * arguments: * --input [idl/ISequence_DList.json5] * 2. jinja2 template for abstract facet .hpp file: @@ -37,4 +37,4 @@ namespace xo { } /*namespace scm*/ } /*namespace xo*/ -/* end ISequence_DList.cpp */ \ No newline at end of file +/* end ISequence_DList.cpp */