xo-object2: tidy: IPrintable_DList -> list/ subdir
This commit is contained in:
parent
0a8f2c1cd9
commit
e6d1e935a5
9 changed files with 24 additions and 20 deletions
|
|
@ -40,18 +40,6 @@ xo_add_genfacetimpl(
|
||||||
OUTPUT_CPP_DIR src/object2
|
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
|
# note: manual target; generated code committed to git
|
||||||
xo_add_genfacetimpl(
|
xo_add_genfacetimpl(
|
||||||
TARGET xo-object2-facetimpl-printable-list
|
TARGET xo-object2-facetimpl-printable-list
|
||||||
|
|
@ -60,6 +48,18 @@ xo_add_genfacetimpl(
|
||||||
REPR List
|
REPR List
|
||||||
INPUT idl/IPrintable_DList.json5
|
INPUT idl/IPrintable_DList.json5
|
||||||
OUTPUT_HPP_DIR include/xo/object2
|
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_IMPL_SUBDIR .
|
||||||
OUTPUT_CPP_DIR src/object2
|
OUTPUT_CPP_DIR src/object2
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
mode: "implementation",
|
mode: "implementation",
|
||||||
includes: [ "<xo/printable2/Printable.hpp>",
|
includes: [ "<xo/printable2/Printable.hpp>",
|
||||||
"<xo/printable2/detail/IPrintable_Xfer.hpp>" ],
|
"<xo/printable2/detail/IPrintable_Xfer.hpp>" ],
|
||||||
|
local_types: [ ],
|
||||||
namespace1: "xo",
|
namespace1: "xo",
|
||||||
namespace2: "scm",
|
namespace2: "scm",
|
||||||
facet_idl: "idl/Printable.json5",
|
facet_idl: "idl/Printable.json5",
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,5 @@
|
||||||
brief: "provide ASequence interface for DList state",
|
brief: "provide ASequence interface for DList state",
|
||||||
using_doxygen: true,
|
using_doxygen: true,
|
||||||
repr: "DList",
|
repr: "DList",
|
||||||
doc: [ "doc for something or other"
|
doc: [ "implement ASequence for DList" ],
|
||||||
],
|
|
||||||
}
|
}
|
||||||
|
|
@ -2,17 +2,18 @@
|
||||||
*
|
*
|
||||||
* Generated automagically from ingredients:
|
* Generated automagically from ingredients:
|
||||||
* 1. code generator:
|
* 1. code generator:
|
||||||
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
||||||
* arguments:
|
* arguments:
|
||||||
* --input [idl/IPrintable_DList.json5]
|
* --input [idl/IPrintable_DList.json5]
|
||||||
* 2. jinja2 template for abstract facet .hpp file:
|
* 2. jinja2 template for abstract facet .hpp file:
|
||||||
* [iface_facet_any.hpp.j2]
|
* [iface_facet_repr.hpp.j2]
|
||||||
* 3. idl for facet methods
|
* 3. idl for facet methods
|
||||||
* [idl/IPrintable_DList.json5]
|
* [idl/IPrintable_DList.json5]
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "Printable.hpp"
|
||||||
#include <xo/printable2/Printable.hpp>
|
#include <xo/printable2/Printable.hpp>
|
||||||
#include <xo/printable2/detail/IPrintable_Xfer.hpp>
|
#include <xo/printable2/detail/IPrintable_Xfer.hpp>
|
||||||
#include "DList.hpp"
|
#include "DList.hpp"
|
||||||
|
|
@ -41,17 +42,21 @@ namespace xo {
|
||||||
/** @defgroup scm-printable-dlist-type-traits **/
|
/** @defgroup scm-printable-dlist-type-traits **/
|
||||||
///@{
|
///@{
|
||||||
using ppindentinfo = xo::print::APrintable::ppindentinfo;
|
using ppindentinfo = xo::print::APrintable::ppindentinfo;
|
||||||
|
using Copaque = xo::print::APrintable::Copaque;
|
||||||
|
using Opaque = xo::print::APrintable::Opaque;
|
||||||
///@}
|
///@}
|
||||||
/** @defgroup scm-printable-dlist-methods **/
|
/** @defgroup scm-printable-dlist-methods **/
|
||||||
///@{
|
///@{
|
||||||
|
// const methods
|
||||||
/** Pretty-printing support for this object.
|
/** Pretty-printing support for this object.
|
||||||
See [xo-indentlog/xo/indentlog/pretty.hpp] **/
|
See [xo-indentlog/xo/indentlog/pretty.hpp] **/
|
||||||
static bool pretty(const DList & self, const ppindentinfo & ppii);
|
static bool pretty(const DList & self, const ppindentinfo & ppii);
|
||||||
|
|
||||||
|
// non-const methods
|
||||||
///@}
|
///@}
|
||||||
};
|
};
|
||||||
|
|
||||||
} /*namespace scm*/
|
} /*namespace scm*/
|
||||||
} /*namespace xo*/
|
} /*namespace xo*/
|
||||||
|
|
||||||
/* end */
|
/* end */
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "DList.hpp"
|
#include "DList.hpp"
|
||||||
#include "IPrintable_DList.hpp"
|
#include "list/IPrintable_DList.hpp"
|
||||||
#include <xo/gc/GCObject.hpp>
|
#include <xo/gc/GCObject.hpp>
|
||||||
#include <xo/printable2/Printable.hpp>
|
#include <xo/printable2/Printable.hpp>
|
||||||
#include <xo/facet/FacetRegistry.hpp>
|
#include <xo/facet/FacetRegistry.hpp>
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
*
|
*
|
||||||
* Generated automagically from ingredients:
|
* Generated automagically from ingredients:
|
||||||
* 1. code generator:
|
* 1. code generator:
|
||||||
* [/home/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
* [/Users/roland/proj/xo-umbrella2/xo-facet/codegen/genfacet]
|
||||||
* arguments:
|
* arguments:
|
||||||
* --input [idl/IPrintable_DList.json5]
|
* --input [idl/IPrintable_DList.json5]
|
||||||
* 2. jinja2 template for abstract facet .hpp file:
|
* 2. jinja2 template for abstract facet .hpp file:
|
||||||
|
|
@ -11,8 +11,7 @@
|
||||||
* [idl/IPrintable_DList.json5]
|
* [idl/IPrintable_DList.json5]
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#include "IPrintable_DList.hpp"
|
#include "list/IPrintable_DList.hpp"
|
||||||
#include <xo/indentlog/scope.hpp>
|
|
||||||
|
|
||||||
namespace xo {
|
namespace xo {
|
||||||
namespace scm {
|
namespace scm {
|
||||||
|
|
@ -26,4 +25,4 @@ namespace xo {
|
||||||
} /*namespace scm*/
|
} /*namespace scm*/
|
||||||
} /*namespace xo*/
|
} /*namespace xo*/
|
||||||
|
|
||||||
/* end IPrintable_DList.cpp */
|
/* end IPrintable_DList.cpp */
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#include <xo/object2/IGCObject_DInteger.hpp>
|
#include <xo/object2/IGCObject_DInteger.hpp>
|
||||||
#include <xo/object2/string/IGCObject_DString.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_DFloat.hpp>
|
||||||
#include <xo/object2/IPrintable_DInteger.hpp>
|
#include <xo/object2/IPrintable_DInteger.hpp>
|
||||||
#include <xo/object2/string/IPrintable_DString.hpp>
|
#include <xo/object2/string/IPrintable_DString.hpp>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
#include "IGCObject_DInteger.hpp"
|
#include "IGCObject_DInteger.hpp"
|
||||||
#include "string/IGCObject_DString.hpp"
|
#include "string/IGCObject_DString.hpp"
|
||||||
|
|
||||||
#include "IPrintable_DList.hpp"
|
#include "list/IPrintable_DList.hpp"
|
||||||
//#include "IPrintable_DFloat.hpp"
|
//#include "IPrintable_DFloat.hpp"
|
||||||
#include "IPrintable_DInteger.hpp"
|
#include "IPrintable_DInteger.hpp"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#include <xo/object2/DList.hpp>
|
#include <xo/object2/DList.hpp>
|
||||||
#include <xo/object2/IGCObject_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/DString.hpp>
|
||||||
#include <xo/object2/string/IGCObject_DString.hpp>
|
#include <xo/object2/string/IGCObject_DString.hpp>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue