Base class for anything that keeps a reference count. Base class for anything that keeps a reference count. Resource and many other helper objects inherit this. References keep an internal reference counter so they are only released when no longer in use. Increase the internal reference counter. Use this only if you really know what you are doing. Decrease the internal reference counter. Use this only if you really know what you are doing.