UCommon
Data Structures | Namespaces
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::AutoObject
 A general purpose smart pointer helper class. More...
 
class  ucommon::CountedObject
 A base class for reference counted objects. More...
 
class  ucommon::object_pointer< T >
 Typed smart pointer class. More...
 
class  ucommon::sarray< T >
 Generate a typed sparse managed object array. More...
 
class  ucommon::SparseObjects
 A sparse array of managed objects. More...
 

Namespaces

 ucommon
 Common namespace for all ucommon objects.
 

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.