PrevUpHomeNext

Class node_proxy

boost::node_proxy

Synopsis

// In header: <boost/smart_ptr/root_ptr.hpp>


class node_proxy {
public:
  // construct/copy/destruct
  node_proxy();
  node_proxy(node_proxy const &);
  ~node_proxy();

  // private static functions
  static mutex & static_mutex();

  // private member functions
  bool destroying() const;
  void destroying(bool);
  size_t size();
  void unify(node_proxy const &) const;
  void init(smart_ptr::detail::node_base *) const;
  void reset();
};

Description

Set header.

Proxy object used to link a list of node<> blocks and a list of node_proxy .

node_proxy public construct/copy/destruct

  1. node_proxy();

    Initialization of a single node_proxy .

  2. node_proxy(node_proxy const & x);

    Copy of a single node_proxy and unification.

  3. ~node_proxy();

    Destruction of a single node_proxy and detaching itself from other node_proxy .

node_proxy private static functions

  1. static mutex & static_mutex();

    Main global mutex used for thread safety

node_proxy private member functions

  1. bool destroying() const;
  2. void destroying(bool b);
  3. size_t size();
  4. void unify(node_proxy const & p) const;

    Unification with a new node_proxy .

    Parameters:

    p

    New node_proxy to unify with.

  5. void init(smart_ptr::detail::node_base * p) const;

    Enlist & initialize pointee objects belonging to the same node_proxy .

    Parameters:

    p

    Pointee object to initialize.

  6. void reset();

    Get rid or delegate a series of node_proxy .


PrevUpHomeNext