REST.JsonReflect.TTypeMarshaller.DecomposeTypeName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class procedure DecomposeTypeName(TypeName: string; out UnitName: string; out ClassName: string);

C++

__classmethod void __fastcall DecomposeTypeName(System::UnicodeString TypeName, /* out */ System::UnicodeString &UnitName, /* out */ System::UnicodeString &ClassName);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
REST.JsonReflect.pas
REST.JsonReflect.hpp
REST.JsonReflect TTypeMarshaller

Description

Given a fully-qualified class name, such as those that ComposeTypeName returns, fills UnitName with the unit name and ClassName with the unqualified class name.

For example, given "System.TObject" as TypeName, DecomposeTypeName makes UnitName "System" and ClassName "TObject".

See Also