Mirror library

Mirror C++ reflection library
Download

Mirror library Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Boost Software Licen...
  • Publisher Name:
  • Matus Chochlik
  • Publisher web site:

Mirror library Tags


Mirror library Description

Mirror C++ reflection library Mirror library's goal is to provide both compile-time and run-time meta-data describing common C++ constructs like namespaces, types (and as an important special case typedef-ined types), classes and their base classes and member variables, constructors, etc. and to provide uniform and generic interfaces for their introspection.Because standard C++ provides only a very limited set of meta-information to build upon, the main drawback of this library is, that namespace, types, classes, etc. need to be registered before they can be reflected. However Mirror tries to make the process of registering simple by providing a set of user-friendly registering macros and has the native and many of the other common types, classes, templates and namespaces pre-registered.Furthermore several tools for automatic / semi-automatic registering are being worked on.Once registered the meta-data can be reused in a large number of situations.Mirror is designed with the principle of stratification in mind and tries to be as less intrusive as possible. New or existing classes do not need to be designed to directly support Mirror and no Mirror-related code is necessary in the class' definition, as far as some general guidelines are followed.Mirror provides a compile-time reflection layer which can be used in compile-time meta-programs and a run-time layer with a similar, but dynamic interface based on the compile-time meta-data.


Mirror library Related Software