basegfx::RangeExpander< RangeType > Class Template Reference

Generic functor for expanding a range with a number of other ranges. More...

#include <rangeexpander.hxx>

List of all members.

Public Types

typedef RangeType ValueType
typedef void result_type

Public Member Functions

 RangeExpander (ValueType &rBounds)
void operator() (const ValueType &rBounds)

Private Attributes

ValueTypemrBounds


Detailed Description

template<typename RangeType>
class basegfx::RangeExpander< RangeType >

Generic functor for expanding a range with a number of other ranges.

Since *Rangeexpand() is overloaded, straight-forward application of boost::bind and friends fails (because of ambiguities). Thus, this functor template can be used, to expand the given range with a number of other ranges, passed in at the function operator.

Template parameter:
RangeType Range type to operate with. Preferrably, one of B1*Range, B2*Range, or B3*Range.

Definition at line 53 of file rangeexpander.hxx.


Member Typedef Documentation

template<typename RangeType>
typedef RangeType basegfx::RangeExpander< RangeType >::ValueType

Definition at line 56 of file rangeexpander.hxx.

template<typename RangeType>
typedef void basegfx::RangeExpander< RangeType >::result_type

Definition at line 57 of file rangeexpander.hxx.


Constructor & Destructor Documentation

template<typename RangeType>
basegfx::RangeExpander< RangeType >::RangeExpander ( ValueType rBounds  )  [inline, explicit]

Definition at line 59 of file rangeexpander.hxx.


Member Function Documentation

template<typename RangeType>
void basegfx::RangeExpander< RangeType >::operator() ( const ValueType rBounds  )  [inline]

Definition at line 64 of file rangeexpander.hxx.

References basegfx::RangeExpander< RangeType >::mrBounds.


Member Data Documentation

template<typename RangeType>
ValueType& basegfx::RangeExpander< RangeType >::mrBounds [private]

Definition at line 70 of file rangeexpander.hxx.

Referenced by basegfx::RangeExpander< RangeType >::operator()().


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

Generated on Thu Apr 29 13:57:20 2010 for ooo-build Module basegfx (ooo/OOO320_m15) by  doxygen 1.5.6