Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

unary_compose Class Template Reference

#include <stl_function.h>

Inheritance diagram for unary_compose:

Inheritance graph
[legend]
Collaboration diagram for unary_compose:

Collaboration graph
[legend]
List of all members.

Public Methods

 unary_compose (const Operation1 &x, const Operation2 &y)
Operation1::result_type operator() (const typename Operation2::argument_type &x) const

Protected Attributes

Operation1 op1
Operation2 op2

template<class Operation1, class Operation2>
class unary_compose< Operation1, Operation2 >


Constructor & Destructor Documentation

template<class Operation1, class Operation2>
unary_compose< Operation1, Operation2 >::unary_compose const Operation1 &    x,
const Operation2 &    y
[inline]
 

Definition at line 218 of file stl_function.h.

References op1, and op2.

00218 : op1(x), op2(y) {}


Member Function Documentation

template<class Operation1, class Operation2>
Operation1::result_type unary_compose< Operation1, Operation2 >::operator() const typename Operation2::argument_type &    x const [inline]
 

Definition at line 220 of file stl_function.h.

References op1, and op2.

00220                                                               {
00221     return op1(op2(x));
00222   }


Member Data Documentation

template<class Operation1, class Operation2>
Operation1 unary_compose::op1 [protected]
 

Definition at line 215 of file stl_function.h.

Referenced by operator(), and unary_compose.

template<class Operation1, class Operation2>
Operation2 unary_compose::op2 [protected]
 

Definition at line 216 of file stl_function.h.

Referenced by operator(), and unary_compose.


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

Documentation generated on Thu May 2 15:03:46 2002

Generated with doxygen 1.2.12 by Dimitri van Heesch ,   1997-2001