rtti
Delphi Rtti for interfaces in a generic context
for a framework I wrote a wrapper which ta开发者_运维技巧kes any object, interface or record type to explore its properties or fields. The class declaration is as follows:[详细]
2023-03-11 16:37 分类:问答How does the Linux C++ compiler (and linker) decide where to put typeinfo?
I have a class defined in one h file and implemented in a cpp that is part of one lib (we\'ll call it libdef).[详细]
2023-03-07 15:22 分类:问答Delphi: Is it possible to enumerate all instances of a record (~typed constants) in the global namespace?
From the research I\'ve done so far, I\'m already guessing the answer is no but just to make sure... (also, this entry can be updated once support for this is available).[详细]
2023-03-06 13:05 分类:问答how i can set the value of a nested property using the RTTI
Check this simplified sample (the real scenario is different), I want to set tne value of a nested property of a object, in this case set the color of the Font for a TLabel component to clRed using RT[详细]
2023-03-06 12:10 分类:问答GDB warning: RTTI symbol not found for class
I use Eclipse with GDB. For any smart pointer class I have such as a MyString, I keep getting warning: RTTI symbol not found for class MyString[详细]
2023-02-23 01:14 分类:问答Enumerating published properties and subproperties in Delphi
Apologies if the question was asked before. I have some definition of some components as follows (please guide me if it\'s wrong, because I\'m a beginner). What I am trying, is to enumerate all publis[详细]
2023-02-20 11:48 分类:问答RTTI Overhead in C++
What are the memory/performance overheads of enabling RTTI in a C++ program? Can anyone please throw some light between the开发者_C百科 internal implementation of RTTI mechanism and the relevant overh[详细]
2023-02-19 11:20 分类:问答How do I typecast with type_info?
I\'ve stored a pointer to a type_info object. int MyVariable = 123; const std::type_info* Datatype = &typeid(MyVariable);[详细]
2023-02-09 20:10 分类:问答Virtual Interface Dtor && Dynamic_Cast
I\'m trying to downcast from an interface to a derived class but my virtual dtor kills it? class IFOO {[详细]
2023-02-06 03:47 分类:问答How to use Delphi RTTI to get and set Record Values
I\'m attempting to use the enhanced RTTI features in Delphi XE or later,to read and write objects to XML. So far I\'ve been successful with integers, floats, strings, enumerated types, sets and classe[详细]
2023-02-05 08:21 分类:问答