UCommon
object.h File Reference

A common object base class with auto-pointer support. More...

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

Go to the source code of this file.

Data Structures

class  ucommon::object_pointer< T >
 Typed smart pointer class. More...
 
class  ucommon::sarray< T >
 Generate a typed sparse managed object array. More...
 

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Functions

class ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol
 An exclusive locking protocol interface base.
 

Detailed Description

A common object base class with auto-pointer support.

A common object class is used which may be referenced counted and associated with a smart auto-pointer class. A lot of the things found here were inspired by working with Objective-C. Many of the classes are designed to offer automatic heap management through smart pointers and temporary objects controlled through the scope of the stack frame of method calls.

Definition in file object.h.