4#include "io_reflection_handler.h"
13class CGV_API binary_reflection_handler :
public io_reflection_handler
19 binary_reflection_handler(
const std::string& _content,
unsigned _ver);
21 bool reflect_header();
27class CGV_API binary_read_reflection_handler :
public binary_reflection_handler
30 bool read_reflect_header(
const std::string& _content,
unsigned _ver);
32 binary_read_reflection_handler(
const std::string& file_name,
const std::string& _content,
unsigned _ver);
34 binary_read_reflection_handler(FILE* _fp,
const std::string& _content,
unsigned _ver);
60#include <cgv/config/lib_end.h>
bool reflect_member_void(const std::string &member_name, void *member_ptr, cgv::reflect::abst_reflection_traits *rt)
abstract interface to reflect a member variable, where the member type is specified as a string.
bool is_creative() const
this should return true
binary_write_reflection_handler(const std::string &file_name, const std::string &_content, unsigned _ver)
construct from file_name by opening file in ascii mode
bool reflect_member_void(const std::string &member_name, void *member_ptr, cgv::reflect::abst_reflection_traits *rt)
abstract interface to reflect a member variable, where the member type is specified as a string.
namespace for data management components
this header is dependency free
abstract interface for type reflection with basic type management and optional string conversion