nodes::basket< contents > Class Template Reference

the basket class holds an object and supports connecting them as nodes. More...

#include <node.h>

Inheritance diagram for nodes::basket< contents >:

Inheritance graph
[legend]
Collaboration diagram for nodes::basket< contents >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 basket (int links, const contents &to_store=contents())
 basket (const basket &to_copy)
basketoperator= (const contents &to_copy)
const contents & stored () const
 allows a peek at the stored object.
contents & stored ()
 provides access to the stored object.

Detailed Description

template<class contents>
class nodes::basket< contents >

the basket class holds an object and supports connecting them as nodes.

the templated object is required to provide both a default constructor and a copy constructor.

Definition at line 114 of file node.h.


Constructor & Destructor Documentation

template<class contents>
nodes::basket< contents >::basket ( int  links,
const contents &  to_store = contents() 
) [inline]

Definition at line 117 of file node.h.

template<class contents>
nodes::basket< contents >::basket ( const basket< contents > &  to_copy  )  [inline]

Definition at line 120 of file node.h.


Member Function Documentation

template<class contents>
basket& nodes::basket< contents >::operator= ( const contents &  to_copy  )  [inline]

Definition at line 122 of file node.h.

template<class contents>
const contents& nodes::basket< contents >::stored (  )  const [inline]

allows a peek at the stored object.

Definition at line 125 of file node.h.

template<class contents>
contents& nodes::basket< contents >::stored (  )  [inline]

provides access to the stored object.

Definition at line 127 of file node.h.


The documentation for this class was generated from the following file:
Generated on Fri Aug 29 04:30:56 2008 for HOOPLE Libraries by  doxygen 1.5.1