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  ("inofficial" and yet experimental doxygen-generated source code documentation)  

typeref.h File Reference
#include <ucommon/cpr.h>
#include <ucommon/atomic.h>
#include <ucommon/protocols.h>
#include <ucommon/generics.h>
#include <ucommon/object.h>
#include <ucommon/thread.h>
Include dependency graph for typeref.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ucommon::TypeRef
class  ucommon::TypeRef::Counted
class  ucommon::TypeRelease
class  ucommon::typeref_guard
class  ucommon::typeref< T, R >
class  ucommon::typeref< T, R >::value
class  ucommon::typeref< const char * >
class  ucommon::typeref< const char * >::value
class  ucommon::typeref< const uint8_t * >
class  ucommon::typeref< const uint8_t * >::value
class  ucommon::stringref< R >
class  ucommon::byteref< R >




typedef int32_t ucommon::Type::Integer
typedef double ucommon::Type::Real
typedef typeref< Type::Chars >::value * ucommon::charvalues_t
typedef typeref< Type::Bytes >::value * ucommon::bytevalues_t
typedef typeref< Type::Chars > ucommon::stringref_t
typedef typeref< Type::Bytes > ucommon::byteref_t
typedef typeref< Type::Bools > ucommon::boolref_t


template<typename T >
typeref< T > ucommon::typeref_cast (T x)


const typedef char * ucommon::Type::Chars
const typedef uint8_t * ucommon::Type::Bytes
const typedef uint8_t * ucommon::Type::Bools
__EXPORT TypeRelease ucommon::secure_release
__EXPORT TypeRelease ucommon::release_later

Detailed Description

A thread-safe atomic heap management system. This is used to manage immutable heap instances of object types that are reference counted and automatically deleted when no longer used. All references to the object are through smart typeref pointers. Both specific classes for strings and byte arrays, and generic templates to support generic types in the heap are offered.

Definition in file typeref.h.