library of assembled shared sources

http://lass.cocamware.com

Extended_algorithm

extra algorithms More...


Functions

template<class InputIterator , class Size , class OutputIterator >
OutputIterator lass::stde::copy_n (InputIterator first, Size count, OutputIterator result)
 copy count elements from sequence starting at first to sequence starting at result
template<class InputIterator , class OutputIterator , class Size >
OutputIterator lass::stde::repeat (InputIterator first, InputIterator last, OutputIterator output, Size n)
 copy sequence first to last n times to sequence starting at output
template<class Container , class Size >
Container lass::stde::repeat_c (const Container &iC, Size n)
template<class Container , class Size >
Container & lass::stde::inplace_repeat_c (Container &iC, Size n)


Detailed Description

extra algorithms

Author:
Bram de Greve [BdG]

Function Documentation

template<class InputIterator , class Size , class OutputIterator >
OutputIterator lass::stde::copy_n ( InputIterator  first,
Size  count,
OutputIterator  result 
) [inline]

copy count elements from sequence starting at first to sequence starting at result

Precondition:
there should be enough room in output sequence to hold n elements

Definition at line 67 of file extended_algorithm.h.

Referenced by lass::io::Image::HeaderRadianceHdr::HeaderRadianceHdr().

template<class InputIterator , class OutputIterator , class Size >
OutputIterator lass::stde::repeat ( InputIterator  first,
InputIterator  last,
OutputIterator  output,
Size  n 
) [inline]

copy sequence first to last n times to sequence starting at output

Precondition:
there should be enough room in output sequence to hold n times the input sequence.

Definition at line 80 of file extended_algorithm.h.

Referenced by lass::stde::inplace_repeat_c(), and lass::stde::repeat_c().

template<class Container , class Size >
Container lass::stde::repeat_c ( const Container &  iC,
Size  n 
) [inline]

template<class Container , class Size >
Container& lass::stde::inplace_repeat_c ( Container &  iC,
Size  n 
) [inline]


Generated on Mon Nov 10 14:22:06 2008 for Library of Assembled Shared Sources by doxygen 1.5.7.1
SourceForge.net Logo