FTData defines a subclass of FTObject to contain immutable
generic data, including derived types.
The initializer
copies the data and takes ownership of that copy. FTData
gives a way to use derived types without having to subclass
FTObject.
Variables
Type |
Visibility | Attributes |
|
Name |
| Initial | |
integer,
|
public, |
parameter
|
:: |
DATA_CLASS_TYPE_LENGTH |
= |
32 |
|
Interfaces
-
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData),
|
|
|
POINTER
|
:: |
self |
|
Derived Types
Type-Bound Procedures
procedure, public ::
init => initFTObject |
|
procedure, public ::
destruct => destructFTObject |
|
procedure, public ::
description => FTObjectDescription |
|
procedure, public ::
printDescription => printFTObjectDescription |
|
procedure, public, non_overridable ::
copy => copyFTObject |
|
procedure, public, non_overridable ::
retain => retainFTObject |
|
procedure, public, non_overridable ::
isUnreferenced |
|
procedure, public, non_overridable ::
refCount |
|
procedure, public ::
initWithDataOfType |
|
procedure, public ::
storedData |
|
procedure, public ::
className => dataClassName |
|
Functions
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData)
|
|
|
|
:: |
self |
|
Return Value
character(len=1), (SIZE(self%dataStorage))
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData)
|
|
|
|
:: |
self |
|
Return Value
character(len=DATA_CLASS_TYPE_LENGTH)
Class name returns a string with the name of the type of the object
Read more…
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData)
|
|
|
|
:: |
self |
|
Return Value
character(len=CLASS_NAME_CHARACTER_LENGTH)
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData)
|
|
|
|
:: |
self |
|
character(len=DATA_CLASS_TYPE_LENGTH)
|
|
|
|
:: |
dataType |
|
Return Value
logical
Subroutines
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData)
|
|
|
|
:: |
self |
|
character(len=1)
|
|
|
|
:: |
genericData(:) |
|
character(len=*)
|
|
|
|
:: |
dataType |
|
Arguments
Type |
Intent | Optional | Attributes |
|
Name |
|
class(FTData),
|
|
|
POINTER
|
:: |
self |
|