expression_tree  3.2
 All Classes Files Functions Variables Typedefs
Public Member Functions
expression_tree::detail::leaf< T * > Class Template Reference

Leaf class specialized to T*. More...

#include <expression_tree.h>

Inheritance diagram for expression_tree::detail::leaf< T * >:
Inheritance graph
[legend]
Collaboration diagram for expression_tree::detail::leaf< T * >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 leaf (const T *p)
 Constructor.
 leaf (const leaf< T * > &other)
 Copy constructor.
virtual leaf< T * > * clone () const
 Clones this object.
virtual bool constant () const
 Because this class stores a pointer to its data, it is not constant.
virtual T evaluate () const
 Dereference our pointer.

Detailed Description

template<typename T>
class expression_tree::detail::leaf< T * >

Leaf class specialized to T*.

This class stores a pointer to data.


Constructor & Destructor Documentation

template<typename T >
expression_tree::detail::leaf< T * >::leaf ( const T *  p) [inline]

Constructor.

Parameters:
pPointer to this node's value.

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