tcl::obj Class Reference

#include <tcl/obj.h>

List of all members.

Public Member Functions

 obj ()
 Default constructor with a shared and empty Tcl_Obj*.
 obj (Tcl_Obj *obj)
 Construct with a Tcl_Obj*.
 ~obj ()
 Destructor.
 obj (const obj &x)
 Copy constructor.
objoperator= (const obj &x)
 Assignment operator from obj.
objoperator= (Tcl_Obj *x)
 Assignment operator from Tcl_Obj*.
Tcl_Obj * get () const
void append (const tcl::obj &other)
bool is_shared () const
bool is_unique () const
void make_unique () const
const char * tcltype_name () const


Detailed Description

This class acts as a reference counted smart pointer to Tcl_Obj. It manages the reference count of a held Tcl_Obj*, and also defines a conversion operator back to Tcl_Obj* in order to provide access to Tcl_Obj's interface.

Definition at line 56 of file obj.h.


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:50 2008 by Doxygen version 1.5.5.