__delphirtti

From RAD Studio
Jump to: navigation, search

Go Up to C++ Keyword Extensions


Syntax

__delphirtti(TYPE)

__delphirtti(TYPE) returns the Delphi type information for TYPE. Example:

class T50 : public TObject {
__published:
	void f() {
	}
};

// ...
TTypeInfo *ti = __delphirtti(T50);

__delphirtti(TYPE) is the C++ counterpart of the TypeInfo function available in Delphi.

See Also