FARGOS/VISTA Object Management Environment Core
..
|
Templated type-specific reference to a reference-counted object. More...
#include <OMErefCount.h>
Public Member Functions | |
void | getUniqueReference () |
Force unique reference to the data, which will trigger duplication if necessary (copy-on-write). More... | |
int_fast32_t | totalReferences () const OME_ALWAYS_INLINE |
Get current reference total. More... | |
Protected Member Functions | |
void | addReadOnlyReference () OME_ALWAYS_INLINE |
void | dropReference (C *newData=nullptr) OME_ALWAYS_INLINE |
OMEreferenceToData () | |
OMEreferenceToData (C *existingData) NONNULL_CLASS_PARAMETERS(2) | |
OMEreferenceToData (const OMEreferenceToData< C > &org) | |
virtual | ~OMEreferenceToData () |
Protected Attributes | |
C * | data |
Templated type-specific reference to a reference-counted object.
C | specifies the class of the object being referenced. |
OMEreferenceToData<C> is a template to provide a type-specific handle to reference-counted data and enable support for copy-on-write.
The class argument C should be the name of a class that both inherits from class OMEreferenceCount and holds the data.
|
inlineprotected |
|
inlineexplicitprotected |
|
inlineexplicitprotected |
|
inlineprotectedvirtual |
|
inlineprotected |
Referenced by OMEfixed::OMEfixed().
|
inlineprotected |
|
inline |
Force unique reference to the data, which will trigger duplication if necessary (copy-on-write).
Referenced by OMEarray::deleteIndex(), OMEassoc::deleteIndex(), OMEset::operator&=(), OMEset::operator+=(), OMEset::operator-=(), OMEarray::operator[](), OMEassoc::operator[](), OMEset::operator|=(), and OMEstring::truncateToLength().
|
inline |
Get current reference total.
-1234 | indicates improper initialization. |
Referenced by makeUnique(), OMEset::operator=(), OMEnlm::operator=(), and OMEfixed::operator=().
|
protected |
Referenced by OMEstring::lastSubstr(), OMEfixed::OMEfixed(), OMEreferenceToData< OMEfixedStorage >::OMEreferenceToData(), OMEset::operator!=(), OMEarray::operator!=(), OMEassoc::operator!=(), OMEnlm::operator!=(), OMEfixed::operator!=(), OMEoid::operator!=(), OMEstring::operator!=(), OMEfixed::operator*=(), OMEstring::operator+(), OMEfixed::operator+=(), OMEfixed::operator-=(), OMEfixed::operator/=(), OMEfixed::operator<(), OMEfixed::operator<=(), OMEset::operator=(), OMEarray::operator=(), OMEassoc::operator=(), OMEnlm::operator=(), OMEfixed::operator=(), OMEoid::operator=(), OMEstring::operator=(), OMEset::operator==(), OMEarray::operator==(), OMEassoc::operator==(), OMEnlm::operator==(), OMEfixed::operator==(), OMEoid::operator==(), OMEstring::operator==(), OMEfixed::operator>(), OMEfixed::operator>=(), OMEarray::operator[](), OMEassoc::operator[](), OMEnlm::operator[](), and OMEstring::substr().
![]() | Generated: Fri Jul 31 2020 18:19:16
Support Information |