xo-object2: + DBoolean w/ AGCObject, APrintable facets
This commit is contained in:
parent
fde4199422
commit
b456d7ac85
12 changed files with 390 additions and 0 deletions
|
|
@ -7,11 +7,13 @@
|
|||
|
||||
#include <xo/object2/array/IGCObject_DArray.hpp>
|
||||
#include <xo/object2/list/IGCObject_DList.hpp>
|
||||
#include <xo/object2/boolean/IGCObject_DBoolean.hpp>
|
||||
#include <xo/object2/number/IGCObject_DFloat.hpp>
|
||||
#include <xo/object2/number/IGCObject_DInteger.hpp>
|
||||
#include <xo/object2/string/IGCObject_DString.hpp>
|
||||
|
||||
#include <xo/object2/list/IPrintable_DList.hpp>
|
||||
#include <xo/object2/boolean/IPrintable_DBoolean.hpp>
|
||||
#include <xo/object2/number/IPrintable_DFloat.hpp>
|
||||
#include <xo/object2/number/IPrintable_DInteger.hpp>
|
||||
#include <xo/object2/string/IPrintable_DString.hpp>
|
||||
|
|
@ -29,9 +31,11 @@ namespace xo {
|
|||
using xo::mm::AAllocator;
|
||||
using xo::mm::AGCObject;
|
||||
using xo::scm::DList;
|
||||
using xo::scm::DBoolean;
|
||||
using xo::scm::DFloat;
|
||||
using xo::scm::DString;
|
||||
using xo::scm::DArray;
|
||||
using xo::facet::DVariantPlaceholder;
|
||||
using xo::facet::FacetRegistry;
|
||||
using xo::facet::typeseq;
|
||||
|
||||
|
|
@ -45,6 +49,9 @@ namespace xo {
|
|||
FacetRegistry::register_impl<APrintable, DList>();
|
||||
FacetRegistry::register_impl<ASequence, DList>();
|
||||
|
||||
FacetRegistry::register_impl<AGCObject, DBoolean>();
|
||||
FacetRegistry::register_impl<APrintable, DBoolean>();
|
||||
|
||||
FacetRegistry::register_impl<AGCObject, DFloat>();
|
||||
FacetRegistry::register_impl<APrintable, DFloat>();
|
||||
|
||||
|
|
@ -57,7 +64,10 @@ namespace xo {
|
|||
FacetRegistry::register_impl<AGCObject, DArray>();
|
||||
FacetRegistry::register_impl<ASequence, DArray>();
|
||||
|
||||
log && log(xtag("DVariantPlaceholder.tseq", typeseq::id<DVariantPlaceholder>()));
|
||||
|
||||
log && log(xtag("DList.tseq", typeseq::id<DList>()));
|
||||
log && log(xtag("DBoolean.tseq", typeseq::id<DFloat>()));
|
||||
log && log(xtag("DFloat.tseq", typeseq::id<DFloat>()));
|
||||
log && log(xtag("DInteger.tseq", typeseq::id<DInteger>()));
|
||||
log && log(xtag("DString.tseq", typeseq::id<DString>()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue