GMModelInterfaces Interface CATCGMRefCounted

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATCGMRefCounted

Class that implements ref-counting.
(Comment: This implementation is not thread-safe. To do.)


Method Index


o AddRef()
Increments the reference count for the given interface.
o Release()
Decrements the reference count for the given interface and deletes the object when the reference count reaches 0.

Methods


o AddRef
public AddRef()
Increments the reference count for the given interface.
Returns:
The reference count value.
o Release
public Release()
Decrements the reference count for the given interface and deletes the object when the reference count reaches 0.
Returns:
The reference count value.

This object is included in the file: CATCGMRefCounted.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.