Add 'xo-reflect/' from commit '5dce303fe1'
git-subtree-dir: xo-reflect git-subtree-mainline:8111f3846cgit-subtree-split:5dce303fe1
This commit is contained in:
commit
820f431d66
45 changed files with 3834 additions and 0 deletions
32
xo-reflect/src/reflect/atomic/AtomicTdx.cpp
Normal file
32
xo-reflect/src/reflect/atomic/AtomicTdx.cpp
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* @file AtomicTdx.cpp */
|
||||
|
||||
#include "atomic/AtomicTdx.hpp"
|
||||
#include "TaggedPtr.hpp"
|
||||
#include "TypeDescr.hpp"
|
||||
#include <sys/types.h>
|
||||
|
||||
namespace xo {
|
||||
namespace reflect {
|
||||
std::unique_ptr<AtomicTdx>
|
||||
AtomicTdx::make() {
|
||||
return std::unique_ptr<AtomicTdx>(new AtomicTdx());
|
||||
} /*make*/
|
||||
|
||||
TaggedPtr
|
||||
AtomicTdx::child_tp(uint32_t /*i*/, void * /*object*/) const {
|
||||
return TaggedPtr::universal_null();
|
||||
} /*child_tp*/
|
||||
|
||||
TypeDescr
|
||||
AtomicTdx::fixed_child_td(uint32_t /*i*/) const {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
std::string const &
|
||||
AtomicTdx::struct_member_name(uint32_t i) const {
|
||||
return TypeDescrExtra::struct_member_name(i);
|
||||
} /*struct_member_name*/
|
||||
} /*namespace reflect*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end AtomicTdx.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue