rtti
Delphi 2010 RTTI and Interface fields
I have a problem with the properties of IInterface type. I don\'t know how to assign values to these properties using RTTI[详细]
2023-01-14 22:39 分类:问答Does C++11 provide hashing functions for std::type_info?
I\'m still working on a good solution to my One-Of-A-Type Container Problem -- and upon reflection I think it would be nice to be able to just use something like a std::map<std::type_info, boost::a[详细]
2023-01-13 06:39 分类:问答Inter-module exception name resolution through boost python does not work?
Here is my problem: I have two C++ modules, A and B, which are built as dynamically-linked libraries. A offers basic math functions, and custom exception types. B is a higher level module that uses A[详细]
2023-01-11 17:36 分类:问答C++ - downcasting a diamond shape inherited object without RTTI/dynamic_cast
I\'m currently working on integrating a third-party package that uses lots of RTTI stuff on a non-RTTI platform (Android). Basically, I did my own RTTI implementation but I\'m stuck on a p开发者_Pytho[详细]
2023-01-08 22:19 分类:问答Avoiding dynamic_cast in implementation of virtual functions in derived class
Here is some sample code explaining what I am trying to achieve. Basically, I have an algorithm that depends on some basic operations available in a class. I have defined those operations in a pure a[详细]
2023-01-05 22:29 分类:问答TRttiMethod::Invoke use
I wo开发者_开发百科uld like to know how to use the Invoke method of the TRttiMethod class in C++Builder 2010.[详细]
2023-01-05 03:18 分类:问答How to create an instance of object with RTTI in Delphi 2010?
As we all known, when we call 开发者_如何学JAVAa constructor of a class like this: instance := TSomeClass.Create;[详细]
2023-01-04 02:57 分类:问答Delphi 2010 RTTI and Pointer fields
I have problems in a following code: program Project4; {$APPTYPE CONSOLE} uses SysUtils, RTTI; type TRecord2 = record[详细]
2023-01-04 00:52 分类:问答Enumerated types with specified values do not have TypeInfo, why? [duplicate]
This question already has answers here: Why do I get "type has no typeinfo" error with an enum type[详细]
2023-01-03 21:31 分类:问答Okay to compare pointers returned by RUNTIME_CLASS() macro?
I\'ve got a function that takes a list of CRuntimeClass pointers in order to setup a view. I\'d like to return without doing anything if the function is called with a list of the same classes that are[详细]
2023-01-03 17:55 分类:问答