Portable reflection for C++ with the Mirror library
Reflection and reflective programming can be used for a wide range of tasks such as implementation<br />of serialization-like operations, remote procedure calls, scripting, automated GUIgeneration,<br />implementation of several software design patterns, etc. C++ as one of the most<br...
Main Author: | |
---|---|
Format: | Article |
Language: | English |
Published: |
University of Zagreb, Faculty of organization and informatics
2012-06-01
|
Series: | Journal of Information and Organizational Sciences |
Subjects: | |
Online Access: | http://jios.foi.hr/index.php/jios/article/view/204 |
_version_ | 1818606668846465024 |
---|---|
author | Matus Chochlik |
author_facet | Matus Chochlik |
author_sort | Matus Chochlik |
collection | DOAJ |
description | Reflection and reflective programming can be used for a wide range of tasks such as implementation<br />of serialization-like operations, remote procedure calls, scripting, automated GUIgeneration,<br />implementation of several software design patterns, etc. C++ as one of the most<br />prevalent programming languages however, for various reasons, lacks a standardized reflection<br />facility. In this paper we present Mirror - a portable library adding reflection to C++ with a<br />command-line utility automating its usage. This library supports functional style static compiletime<br />reflection and metaprogramming and also provides two different object-oriented run-time<br />polymorphic layers for dynamic reflection. |
first_indexed | 2024-12-16T14:14:31Z |
format | Article |
id | doaj.art-01ffdef15dc34ef18cfcb0a363b9196b |
institution | Directory Open Access Journal |
issn | 1846-3312 1846-9418 |
language | English |
last_indexed | 2024-12-16T14:14:31Z |
publishDate | 2012-06-01 |
publisher | University of Zagreb, Faculty of organization and informatics |
record_format | Article |
series | Journal of Information and Organizational Sciences |
spelling | doaj.art-01ffdef15dc34ef18cfcb0a363b9196b2022-12-21T22:28:39ZengUniversity of Zagreb, Faculty of organization and informaticsJournal of Information and Organizational Sciences1846-33121846-94182012-06-01361655Portable reflection for C++ with the Mirror libraryMatus Chochlik0University of ZilinaReflection and reflective programming can be used for a wide range of tasks such as implementation<br />of serialization-like operations, remote procedure calls, scripting, automated GUIgeneration,<br />implementation of several software design patterns, etc. C++ as one of the most<br />prevalent programming languages however, for various reasons, lacks a standardized reflection<br />facility. In this paper we present Mirror - a portable library adding reflection to C++ with a<br />command-line utility automating its usage. This library supports functional style static compiletime<br />reflection and metaprogramming and also provides two different object-oriented run-time<br />polymorphic layers for dynamic reflection.http://jios.foi.hr/index.php/jios/article/view/204reflectionreflective programmingmetaprogrammingdesign-pattern implementation |
spellingShingle | Matus Chochlik Portable reflection for C++ with the Mirror library Journal of Information and Organizational Sciences reflection reflective programming metaprogramming design-pattern implementation |
title | Portable reflection for C++ with the Mirror library |
title_full | Portable reflection for C++ with the Mirror library |
title_fullStr | Portable reflection for C++ with the Mirror library |
title_full_unstemmed | Portable reflection for C++ with the Mirror library |
title_short | Portable reflection for C++ with the Mirror library |
title_sort | portable reflection for c with the mirror library |
topic | reflection reflective programming metaprogramming design-pattern implementation |
url | http://jios.foi.hr/index.php/jios/article/view/204 |
work_keys_str_mv | AT matuschochlik portablereflectionforcwiththemirrorlibrary |