Generic Name: init()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
Returns a character string of length DESCRIPTION_CHARACTER_LENGTH that represents the object. the base class implementation returns an empty string. Note that if the description is too long, the expected string will be truncated. In general, one wants to use printDescription.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTObject) | :: | self |
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 |
Designated initializer. Initializes the amount of storage, but the array remains empty.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
integer | :: | arraySize |
Destructor for the class. This is called automatically when the reference count reaches zero. Do not call this yourself.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self |
Add an object to the end of the array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
class(FTObject), | POINTER | :: | obj |
Replace an object at the index indx
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
integer | :: | indx | ||||
class(FTObject), | POINTER | :: | replacement |
Remove an object at the index indx
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
integer | :: | indx |
Access the object at the index indx
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
integer | :: | indx |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
integer | :: | iUnit |
Class name returns a string with the name of the type of the object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self |
Set the number of items to be added when the array needs to be re-sized
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self | ||||
integer | :: | chunkSize |
Returns the number of items to be added when the array needs to be re-sized
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self |
Generic name: count
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(FTMutableObjectArray) | :: | self |