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..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
ucommon::typeref< T, R >::value Class Reference
Inheritance diagram for ucommon::typeref< T, R >::value:
[legend]
Collaboration diagram for ucommon::typeref< T, R >::value:
[legend]

Public Member Functions

 value (caddr_t mem, const T &object, TypeRelease *ar=&R)
 
- Public Member Functions inherited from ucommon::TypeRef::Counted
bool is () const
 Is this object not empty? More...
 
unsigned copies () const
 Number of retains (smart pointers) referencing us. More...
 
TypeReleasegetRelease () 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

data
 

Private Member Functions

 __DELETE_COPY (value)
 

Additional Inherited Members

- Protected Member Functions inherited from ucommon::TypeRef::Counted
 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...
 
- Protected Attributes inherited from ucommon::TypeRef::Counted
union {
   TypeRelease *   autorelease
 
   Counted *   linkrelease
 
}; 
 
Atomic::counter count
 
unsigned offset
 
size_t size
 

Detailed Description

template<typename T, TypeRelease & R = auto_release>
class ucommon::typeref< T, R >::value

Definition at line 329 of file typeref.h.

Constructor & Destructor Documentation

◆ value()

template<typename T , TypeRelease & R = auto_release>
ucommon::typeref< T, R >::value::value ( caddr_t  mem,
const T &  object,
TypeRelease ar = &R 
)
inline

Definition at line 337 of file typeref.h.

References ucommon::typeref< T, R >::value::data.

Member Function Documentation

◆ __DELETE_COPY()

template<typename T , TypeRelease & R = auto_release>
ucommon::typeref< T, R >::value::__DELETE_COPY ( value  )
private

Member Data Documentation

◆ data


The documentation for this class was generated from the following files: