From 9a68fb6b494f8b2649bacc4bb6f2ef5855ce445f Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Thu, 25 Dec 2025 13:02:56 -0500 Subject: [PATCH] xo-facet: support facet files in separate subdir --- include/xo/object2/ASequence.hpp | 75 -------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 include/xo/object2/ASequence.hpp diff --git a/include/xo/object2/ASequence.hpp b/include/xo/object2/ASequence.hpp deleted file mode 100644 index 4c4c806..0000000 --- a/include/xo/object2/ASequence.hpp +++ /dev/null @@ -1,75 +0,0 @@ -/** @file ASequence.hpp - * - * Generated automagically from ingredients: - * 1. code generator: - * [/Users/roland/proj/xo-umbrella2/xo-object2/../xo-facet/codegen/genfacet.py] - * arguments: - * --input [./idl/Sequence.json5] - * 2. jinja2 template for abstract facet .hpp file: - * [abstract_facet.hpp.j2] - * 3. idl for facet methods - * [./idl/Sequence.json5] - **/ - -#pragma once - -// includes (via {facet_includes}) -#include -#include -#include -#include - -namespace xo { -namespace scm { - -using Copaque = const void *; -using Opaque = void *; - -/** -Elements appear in some determinstic order. -Sequence is GC-aware --> elements must be GC-aware -**/ -class ASequence { -public: - /** @defgroup scm-sequence-type-traits **/ - ///@{ - // types - /** type for length of a sequence **/ - using size_type = std::size_t; - /** facet for types with GC support **/ - using AGCObject = xo::mm::AGCObject; - ///@} - - /** @defgroup scm-sequence-methods **/ - ///@{ - // const methods - /** RTTI: unique id# for actual runtime data representation **/ - virtual int32_t _typeseq() const noexcept = 0; - /** true iff sequence is empty **/ - virtual bool is_empty(Copaque data) const noexcept = 0; - /** true iff sequence is finite **/ - virtual bool is_finite(Copaque data) const noexcept = 0; - /** return element @p index of this sequence **/ - virtual obj at(Copaque data, size_type index) const = 0; - - // nonconst methods - ///@} -}; /*ASequence*/ - -/** Implementation ISequence_DRepr of ASequence for state DRepr - * should provide a specialization: - * - * template <> - * struct xo::facet::FacetImplementation { - * using Impltype = ISequence_DRepr; - * }; - * - * then ISequence_ImplType --> ISequence_DRepr - **/ -template -using ISequence_ImplType = xo::facet::FacetImplType; - -} /*namespace scm*/ -} /*namespace xo*/ - -/* */ \ No newline at end of file