Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(FTLinkedListRecord), | public, | POINTER | :: | head | => | NULL() | |
class(FTLinkedListRecord), | public, | POINTER | :: | tail | => | NULL() | |
integer, | public | :: | nRecords | ||||
logical, | public | :: | isCircular_ |
Base class implementation of the assignment function. Call this from within any subclasses copy assignment function. All FTObject's implementation does is set the reference count to one, implying no additional ownership to the caller that is creating the copy.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject), | intent(in) | :: | self |
Retain increases the reference count by one and implies ownership to the caller. ### Usage: CALL obj\ % retain()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Owners of objects should call isUnreferenced after releasing a pointer object. If true, the object should be deallocated and then set to point to NULL()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Returns the reference count for the object. Normally this is done only for debugging purposes.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
class(FTObject), | POINTER | :: | obj |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
class(FTObject), | POINTER | :: | obj |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
class(FTLinkedListRecord), | POINTER | :: | listRecord |
The destructor must only be called from within the destructors of subclasses It is automatically called by release().
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
class(FTLinkedList), | POINTER | :: | list |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
logical | :: | circular |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
class(FTObject), | POINTER | :: | obj | |||
class(FTLinkedListRecord), | POINTER | :: | after |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTLinkedList) | :: | self | ||||
class(FTObject), | POINTER | :: | obj | |||
class(FTObject), | POINTER | :: | after |
Public, generic name: init()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTStack) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTStack) | :: | self | ||||
integer | :: | iUnit |
Class name returns a string with the name of the type of the object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTStack) | :: | self |