cgv
debug_reflection_handler.h
1 #pragma once
2 
3 #include "find_reflection_handler.h"
4 
5 #include "lib_begin.h"
6 
7 namespace cgv {
8  namespace reflect {
9 
13 {
14 private:
15  std::string tab;
16 protected:
17  std::string extend_name(const std::string& name) const;
18 public:
20  std::string output;
22  int reflect_group_begin(GroupKind group_kind, const std::string& group_name, void* group_ptr, abst_reflection_traits* rt, unsigned grp_size);
24  void reflect_group_end(GroupKind group_kind);
26  bool reflect_member_void(const std::string& member_name, void* member_ptr, abst_reflection_traits* rt);
28  bool reflect_method_void(const std::string& method_name, method_interface* mi_ptr,
29  abst_reflection_traits* return_traits, const std::vector<abst_reflection_traits*>& param_value_traits);
30 };
31  }
32 }
33 
34 #include <cgv/config/lib_end.h>
cgv::reflect::debug_reflection_handler
Definition: debug_reflection_handler.h:13
cgv::reflect::abst_reflection_traits
abstract interface for type reflection with basic type management and optional string conversion
Definition: reflection_traits.h:24
cgv::reflect::method_interface
Definition: reflection_handler.h:24
cgv::reflect::reflection_handler::GroupKind
GroupKind
different support group types
Definition: reflection_handler.h:85
cgv::reflect::reflection_handler
Definition: reflection_handler.h:63
cgv::math::reflect
vec< T > reflect(const vec< T > &v, const vec< T > &n)
calculates the reflected direction of v; n is the normal of the reflecting surface
Definition: vec.h:822
cgv::reflect::debug_reflection_handler::output
std::string output
contains the description in form of a string
Definition: debug_reflection_handler.h:20
cgv
the cgv namespace
Definition: vr_calib.cxx:9