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< const char * >::value Class Reference

#include <typeref.h>

Inheritance diagram for ucommon::typeref< const char * >::value:
[legend]
Collaboration diagram for ucommon::typeref< const char * >::value:
[legend]

Public Member Functions

char * get ()
 
size_t len ()
 
size_t max ()
 
 operator char * ()
 
- 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...
 

Protected Member Functions

 value (caddr_t addr, size_t size, const char *str, TypeRelease *ar=&auto_release)
 
void destroy (void)
 
- 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

char mem [1]
 
- Protected Attributes inherited from ucommon::TypeRef::Counted
union {
   TypeRelease *   autorelease
 
   Counted *   linkrelease
 
}; 
 
Atomic::counter count
 
unsigned offset
 
size_t size
 

Private Member Functions

 __DELETE_COPY (value)
 

Friends

class typeref
 

Detailed Description

Definition at line 440 of file typeref.h.

Constructor & Destructor Documentation

◆ value()

ucommon::typeref< const char * >::value::value ( caddr_t  addr,
size_t  size,
const char *  str,
TypeRelease ar = &auto_release 
)
protected

Member Function Documentation

◆ __DELETE_COPY()

ucommon::typeref< const char * >::value::__DELETE_COPY ( value  )
private

◆ destroy()

void ucommon::typeref< const char * >::value::destroy ( void  )
protected

◆ get()

char * ucommon::typeref< const char * >::value::get ( )
inline

Definition at line 455 of file typeref.h.

◆ len()

size_t ucommon::typeref< const char * >::value::len ( )
inline

Definition at line 459 of file typeref.h.

◆ max()

size_t ucommon::typeref< const char * >::value::max ( )
inline

Definition at line 463 of file typeref.h.

◆ operator char *()

ucommon::typeref< const char * >::value::operator char * ( )
inline

Definition at line 467 of file typeref.h.

Friends And Related Function Documentation

◆ typeref

friend class typeref
friend

Definition at line 446 of file typeref.h.

Member Data Documentation

◆ mem

char ucommon::typeref< const char * >::value::mem[1]
protected

Definition at line 448 of file typeref.h.


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