5 #ifndef ossimReferenced_HEADER 6 #define ossimReferenced_HEADER 40 inline void ref()
const;
48 inline void unref()
const;
84 bool needDelete =
false;
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
void ref() const
increment the reference count by one, indicating that this object has another pointer which is refere...
int referenceCount() const
std::atomic_int m_refCount
void unref() const
decrement the reference count by one, indicating that a pointer to this object is referencing it...
ossimReferenced(const ossimReferenced &)
void unref_nodelete() const
decrement the reference count by one, indicating that a pointer to this object is referencing it...