xo-object2: + IGCObject_DArray
This commit is contained in:
parent
47a2158354
commit
fdd9753e44
6 changed files with 136 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
set(SELF_LIB xo_object2)
|
||||
set(SELF_SRCS
|
||||
IGCObject_DArray.cpp
|
||||
IGCObject_DFloat.cpp
|
||||
IGCObject_DInteger.cpp
|
||||
IGCObject_DList.cpp
|
||||
|
|
|
|||
39
xo-object2/src/object2/IGCObject_DArray.cpp
Normal file
39
xo-object2/src/object2/IGCObject_DArray.cpp
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/** @file IGCObject_DArray.cpp
|
||||
*
|
||||
* Generated automagically from ingredients:
|
||||
* 1. code generator:
|
||||
* [/home/roland/proj/xo-umbrella2-claude1/xo-facet/codegen/genfacet]
|
||||
* arguments:
|
||||
* --input [idl/IGCObject_DArray.json5]
|
||||
* 2. jinja2 template for abstract facet .hpp file:
|
||||
* [iface_facet_any.hpp.j2]
|
||||
* 3. idl for facet methods
|
||||
* [idl/IGCObject_DArray.json5]
|
||||
**/
|
||||
|
||||
#include "array/IGCObject_DArray.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
auto
|
||||
IGCObject_DArray::shallow_size(const DArray & self) noexcept -> size_type
|
||||
{
|
||||
return self.shallow_size();
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DArray::shallow_copy(const DArray & self, obj<AAllocator> mm) noexcept -> Opaque
|
||||
{
|
||||
return self.shallow_copy(mm);
|
||||
}
|
||||
|
||||
auto
|
||||
IGCObject_DArray::forward_children(DArray & self, obj<ACollector> gc) noexcept -> size_type
|
||||
{
|
||||
return self.forward_children(gc);
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end IGCObject_DArray.cpp */
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "object2_register_facets.hpp"
|
||||
|
||||
#include <xo/object2/array/IGCObject_DArray.hpp>
|
||||
#include <xo/object2/list/IGCObject_DList.hpp>
|
||||
#include <xo/object2/number/IGCObject_DFloat.hpp>
|
||||
#include <xo/object2/number/IGCObject_DInteger.hpp>
|
||||
|
|
@ -53,6 +54,7 @@ namespace xo {
|
|||
FacetRegistry::register_impl<AGCObject, DString>();
|
||||
FacetRegistry::register_impl<APrintable, DString>();
|
||||
|
||||
FacetRegistry::register_impl<AGCObject, DArray>();
|
||||
FacetRegistry::register_impl<ASequence, DArray>();
|
||||
|
||||
log && log(xtag("DList.tseq", typeseq::id<DList>()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue