Reflection Package for C++(unix) Background
Reflection Package for C++(unix) Icon

Extracting type descriptors from debug information

24
Downloads
-
0 Ratings
All Versions
24
Total Downloads
0
Downloads Last Week
Current Version
24
Total Downloads
0
Downloads Last Week
Downloads Last 10 Weeks
All Versions
-
0 Ratings
5
4
3
2
1
Current Version
-
0 Ratings
5
4
3
2
1

Reflection Package for C++(unix)Overview

Reflection is a mechanism making it possible to INVESTigate yourself. If we are speaking about programming languages, reflection is used to investigate format of objects at runtime, invoke methods and access fields of these objects. Reflection is required if you want to implement some generic code which can work with objects of unknown (at the time of creation of this code) types. There are several tasks in which reflection can be used: remote method invocation, serialization, object dumps, database Interfaces. How it works? Given some object we first should ask for its type. As a result we are given class descriptor, which provides information about class methods and fields. We can use these field descriptors to fetch/store object fields and can use method descriptors to lookup and invoke methods.
Many programming languages provide built-in reflection mechanism. For example, in Java there is special package java.lang.reflect . But unfortunately C++ doesn't support reflection. Not so long ago first step was made in this direction - RTTI support was added to the language. But RTTI provides only very restricted subset of reflection: it allows to get object compile-time and runtime type (it is possible to get object runtime type only if object class contains virtual functions). You can compare types and you can get type name - and that is all you can do with RTTI.

New

Fixed some bugs.

Reflection Package for C++(unix)Tech Specs

Version
1.02
Date
08.04.08
License
Free
Language
English
File Size
169KB
Developer
Category
SubCategory
Operating Systems
Unix
System Requirements
No additional system requirements.

SelectedFor You

Turbo C Icon
vaibhavweb.tripod.com
This is a free C++ compiler from Borland. It comes with an IDE and debugger.
VectorC Icon
Codeplay Software Ltd.
A high performance C/C++ compiler which offers the fastest possible gains.
C 2 Delphi or C 2 Pascal Converter Icon
CAD-KAS GbR
Convert C source code into Delphi/Pascal source code.
ANSI/Turbo Pascal to C/C++(win) Icon
garret.ru
Pascal to C/C++ converter
QRCode 2D Barcode Win32 DLL Icon
MW6 Technologies, Inc.
QRCode 2D Barcode Win32 DLL
BGI for Windows Icon
garret.ru
Emulation of Borland Graphic Interface library for MS-Windows (C language)