REST.JsonReflect.TTypeMarshaller.DecomposeTypeName
Delphi
class procedure DecomposeTypeName(const TypeName: string; out UnitName: string; out ClassName: string);
C++
__classmethod void __fastcall DecomposeTypeName(const 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".