dynamic::shared_var_impl Class Reference

The base class for all shared objects. More...

#include <extensions.hpp>

Inheritance diagram for dynamic::shared_var_impl:

dynamic::gc::gc_object dynamic::var_impl dynamic::internal::variant_base dynamic::internal::container_base< B > dynamic::internal::wrap_cpp_container< Impl > dynamic::internal::wrap_cpp_container< Impl >::wrap_iterator< Iterator > dynamic::types::bind_impl< Args > dynamic::types::dispatcher_impl dynamic::types::enumerate_enumerator dynamic::types::enumerate_impl dynamic::types::filter_impl dynamic::types::iterator dynamic::types::range_impl dynamic::types::reverse_impl dynamic::types::tail_impl dynamic::types::transform_impl dynamic::types::varargs_impl dynamic::internal::wrap_cpp_container< set_traits >

List of all members.

Public Member Functions

var clone ()
 Clones the object.
var_cmp_result compare2 (const var &other)
 Compares two objects of the same comparison_index().
void copy_to (void *) const
 Copies the value to another location (in-place copy).
var proxy ()
 Returns a proxy to this object.
void mark_reachable (gc::garbage_collector &)
 Call this to mark the object as reachable (so that the garbage collector does not destroy it).


Detailed Description

The base class for all shared objects.

Definition at line 34 of file extensions.hpp.


Member Function Documentation

void dynamic::shared_var_impl::mark_reachable ( gc::garbage_collector  )  [virtual]

Call this to mark the object as reachable (so that the garbage collector does not destroy it).

Call this method from dynamic::gc::gc_object::mark_children() method

Reimplemented from dynamic::var_impl.


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

Generated on Thu Dec 18 22:14:18 2008 for C++Script by  doxygen 1.5.7.1