Collision Checker
collision_object_export_final.cc
Go to the documentation of this file.
2 
3 #if ENABLE_SERIALIZER
4 
6 namespace collision {
7 namespace serialize {
9  s11nlite::node_type &dest) const {
10  typedef s11nlite::node_traits TR;
11  TR::class_name(dest, "CollisionObjectExport_final_s11");
12  return s11nlite::serialize_subnode(dest, "base", base);
13 }
14 
16  const s11nlite::node_type &src) {
17  typedef s11nlite::node_traits TR;
18 
19  const s11nlite::node_type *ch = s11n::find_child_by_name(src, "base");
20  if (!ch) {
21  // CERR << "Deser of 'base' member failed: node not found!\n";
22  return false;
23  }
24  base = s11nlite::deserialize<ICollisionObjectExport_s11>(*ch);
25  return 0 != base;
26 }
27 
28 } // namespace serialize
29 } // namespace collision
30 
31 #endif
virtual bool operator()(s11nlite::node_type &dest) const
int serialize(const test::BroadphaseFailureCCObj &bf_object, std::ostream &output_stream, const char *format=SERIALIZER_DEFAULT_FORMAT)