ucommon
7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
![]() ![]() |
Public Member Functions | |
value (caddr_t mem, const T &object, TypeRelease *ar=&R) | |
![]() | |
bool | is () const |
Is this object not empty? More... | |
unsigned | copies () const |
Number of retains (smart pointers) referencing us. More... | |
TypeRelease * | getRelease () const |
void | operator delete (void *address) |
Override delete to de-allocate actual heap. More... | |
void | retain () |
Retain a copy of this object. More... | |
void | release () |
Release a copy of this object. More... | |
Public Attributes | |
T | data |
Private Member Functions | |
__DELETE_COPY (value) | |
Additional Inherited Members | |
![]() | |
Counted (void *address, size_t size, TypeRelease *ar=NULL) | |
Construction of aligned container. More... | |
virtual void | dealloc (void) |
Release memory and delete object when no longer referenced. More... | |
![]() | |
union { | |
TypeRelease * autorelease | |
Counted * linkrelease | |
}; | |
Atomic::counter | count |
unsigned | offset |
size_t | size |
|
inline |
Definition at line 337 of file typeref.h.
References ucommon::typeref< T, R >::value::data.
|
private |
T ucommon::typeref< T, R >::value::data |
Definition at line 335 of file typeref.h.
Referenced by ucommon::typeref< T, R >::operator const T &(), ucommon::typeref< T, R >::operator()(), ucommon::typeref< T, R >::operator*(), ucommon::typeref< T, R >::operator->(), ucommon::typeref< T, R >::operator==(), and ucommon::typeref< T, R >::value::value().