xo-object2: tidy: IPrintable_DList -> list/ subdir

This commit is contained in:
Roland Conybeare 2026-01-15 00:13:27 -05:00
commit a3b4853f55
9 changed files with 24 additions and 20 deletions

View file

@ -40,18 +40,6 @@ xo_add_genfacetimpl(
OUTPUT_CPP_DIR src/object2
)
# note: manual target; generated code committed to git
xo_add_genfacetimpl(
TARGET xo-object2-facetimpl-printable-float
FACET_PKG xo_printable2
FACET Printable
REPR Float
INPUT idl/IPrintable_DFloat.json5
OUTPUT_HPP_DIR include/xo/object2
OUTPUT_IMPL_SUBDIR .
OUTPUT_CPP_DIR src/object2
)
# note: manual target; generated code committed to git
xo_add_genfacetimpl(
TARGET xo-object2-facetimpl-printable-list
@ -60,6 +48,18 @@ xo_add_genfacetimpl(
REPR List
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
xo_add_genfacetimpl(
TARGET xo-object2-facetimpl-printable-float
FACET_PKG xo_printable2
FACET Printable
REPR Float
INPUT idl/IPrintable_DFloat.json5
OUTPUT_HPP_DIR include/xo/object2
OUTPUT_IMPL_SUBDIR .
OUTPUT_CPP_DIR src/object2
)

View file

@ -2,6 +2,7 @@
mode: "implementation",
includes: [ "<xo/printable2/Printable.hpp>",
"<xo/printable2/detail/IPrintable_Xfer.hpp>" ],
local_types: [ ],
namespace1: "xo",
namespace2: "scm",
facet_idl: "idl/Printable.json5",

View file

@ -8,6 +8,5 @@
brief: "provide ASequence interface for DList state",
using_doxygen: true,
repr: "DList",
doc: [ "doc for something or other"
],
doc: [ "implement ASequence for DList" ],
}

View file

@ -2,17 +2,18 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* arguments:
* --input [idl/IPrintable_DList.json5]
* 2. jinja2 template for abstract facet .hpp file:
* [iface_facet_any.hpp.j2]
* [iface_facet_repr.hpp.j2]
* 3. idl for facet methods
* [idl/IPrintable_DList.json5]
**/
#pragma once
#include "Printable.hpp"
#include <xo/printable2/Printable.hpp>
#include <xo/printable2/detail/IPrintable_Xfer.hpp>
#include "DList.hpp"
@ -41,17 +42,21 @@ namespace xo {
/** @defgroup scm-printable-dlist-type-traits **/
///@{
using ppindentinfo = xo::print::APrintable::ppindentinfo;
using Copaque = xo::print::APrintable::Copaque;
using Opaque = xo::print::APrintable::Opaque;
///@}
/** @defgroup scm-printable-dlist-methods **/
///@{
// const methods
/** Pretty-printing support for this object.
See [xo-indentlog/xo/indentlog/pretty.hpp] **/
static bool pretty(const DList & self, const ppindentinfo & ppii);
// non-const methods
///@}
};
} /*namespace scm*/
} /*namespace xo*/
/* end */
/* end */

View file

@ -4,7 +4,7 @@
**/
#include "DList.hpp"
#include "IPrintable_DList.hpp"
#include "list/IPrintable_DList.hpp"
#include <xo/gc/GCObject.hpp>
#include <xo/printable2/Printable.hpp>
#include <xo/facet/FacetRegistry.hpp>

View file

@ -2,7 +2,7 @@
*
* Generated automagically from ingredients:
* 1. code generator:
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
* arguments:
* --input [idl/IPrintable_DList.json5]
* 2. jinja2 template for abstract facet .hpp file:
@ -11,8 +11,7 @@
* [idl/IPrintable_DList.json5]
**/
#include "IPrintable_DList.hpp"
#include <xo/indentlog/scope.hpp>
#include "list/IPrintable_DList.hpp"
namespace xo {
namespace scm {
@ -26,4 +25,4 @@ namespace xo {
} /*namespace scm*/
} /*namespace xo*/
/* end IPrintable_DList.cpp */
/* end IPrintable_DList.cpp */

View file

@ -10,7 +10,7 @@
#include <xo/object2/IGCObject_DInteger.hpp>
#include <xo/object2/string/IGCObject_DString.hpp>
#include <xo/object2/IPrintable_DList.hpp>
#include <xo/object2/list/IPrintable_DList.hpp>
#include <xo/object2/IPrintable_DFloat.hpp>
#include <xo/object2/IPrintable_DInteger.hpp>
#include <xo/object2/string/IPrintable_DString.hpp>

View file

@ -10,7 +10,7 @@
#include "IGCObject_DInteger.hpp"
#include "string/IGCObject_DString.hpp"
#include "IPrintable_DList.hpp"
#include "list/IPrintable_DList.hpp"
//#include "IPrintable_DFloat.hpp"
#include "IPrintable_DInteger.hpp"

View file

@ -10,7 +10,7 @@
#include <xo/object2/DList.hpp>
#include <xo/object2/IGCObject_DList.hpp>
#include <xo/object2/IPrintable_DList.hpp>
#include <xo/object2/list/IPrintable_DList.hpp>
#include <xo/object2/DString.hpp>
#include <xo/object2/string/IGCObject_DString.hpp>