TStreamOwnership indicates whether a stream object should be freed by the object that uses it.
TStreamOwnership = ( soReference, soOwned );
enum TStreamOwnership { soReference, soOwned };
The following are possible values of TStreamOwnership:
Value |
Meaning |
soReference |
The stream is an independent object with a different Owner. The object that uses the stream does not free it when it is destroyed. |
soOwned |
The stream is owned by the object that uses it (and exists solely for that object). The object that uses the stream frees the associated stream when it no longer needs to use the stream. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|