4#include <cgv/reflect/reflection_handler.h>
5#include <cgv/reflect/reflect_enum.h>
13enum IOReflectionError { RE_NO_ERROR, RE_FILE_OPEN_ERROR, RE_FILE_READ_ERROR, RE_FILE_WRITE_ERROR, RE_CONTENT_MISMATCH, RE_VERSION_MISMATCH };
23 std::string file_content;
29 io_reflection_handler(
const std::string& _content,
unsigned _ver);
45#include <cgv/config/lib_end.h>
bool reflect_method_void(const std::string &method_name, cgv::reflect::method_interface *mi_ptr, cgv::reflect::abst_reflection_traits *return_traits, const std::vector< cgv::reflect::abst_reflection_traits * > ¶m_value_traits)
abstract interface to reflect a method, where return and parameter types are specified as strings.
the self reflection handler is passed to the virtual self_reflect() method of cgv::base::base.
namespace for data management components
IOReflectionError
different error codes
this header is dependency free
abstract interface for type reflection with basic type management and optional string conversion
this type specific reflection traits class is used by the reflect_enum function to reflect enum types
abstract interface to call a method of a given instance.