object_list_node< T, Base > Class Template Reference

#include <object_list.h>

Inheritance diagram for object_list_node< T, Base >:

Protected Types

typedef Base::base_t node_t
 

Protected Member Functions

T & get_ref ()
 
const T & get_ref () const
 

Static Protected Member Functions

template<typename UnaryOp >
static void visit (this_t &node, UnaryOp &op)
 
template<typename UnaryOp >
static void visit (this_t &node, const UnaryOp &op)
 
template<typename UnaryOp >
static void visit (const this_t &node, UnaryOp &op)
 
template<typename UnaryOp >
static void visit (const this_t &node, const UnaryOp &op)
 

Detailed Description

template<class T, class Base>
class illumina::interop::object_list_node< T, Base >

This is a single node within the list

A node provides the following functionality:

  1. It stores the object
  2. It provides a getter for the object
  3. It provides a getter for the object in the next node
  4. It provides a visitor to act on the object

Member Typedef Documentation

typedef Base::base_t node_t
protected

Next node of this hierarchy

Member Function Documentation

T& get_ref ( )
inlineprotected

Get the object in this node

Returns
object
const T& get_ref ( ) const
inlineprotected

Get the object in this node

Returns
object
static void visit ( this_t node,
UnaryOp &  op 
)
inlinestaticprotected

Apply the given operator to the object in this node and to its parent

Parameters
nodecurrent node
opunary operator
static void visit ( this_t node,
const UnaryOp &  op 
)
inlinestaticprotected

Apply the given operator to the object in this node and to its parent

Parameters
nodecurrent node
opunary operator
static void visit ( const this_t node,
UnaryOp &  op 
)
inlinestaticprotected

Apply the given operator to the object in this node and to its parent

Parameters
nodecurrent node
opunary operator
static void visit ( const this_t node,
const UnaryOp &  op 
)
inlinestaticprotected

Apply the given operator to the object in this node and to its parent

Parameters
nodecurrent node
opunary operator

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