LibreOffice Module comphelper (master)  1
Namespaces | Functions
sequence.hxx File Reference
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/diagnose.h>
#include <algorithm>
#include <vector>
Include dependency graph for sequence.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 comphelper
 

Functions

template<class T1 , class T2 >
sal_Int32 comphelper::findValue (const css::uno::Sequence< T1 > &_rList, const T2 &_rValue)
 Search the given value within the given sequence, return the position of the first occurrence. More...
 
template<class T , class... Ss>
css::uno::Sequence< T > comphelper::concatSequences (const css::uno::Sequence< T > &rS1, const Ss &...rSn)
 concat several sequences More...
 
template<typename T >
css::uno::Sequence< T > comphelper::combineSequences (css::uno::Sequence< T > const &left, css::uno::Sequence< T > const &right)
 concat additional elements from right sequence to left sequence More...
 
template<class T >
void comphelper::removeElementAt (css::uno::Sequence< T > &_rSeq, sal_Int32 _nPos)
 remove a specified element from a sequences More...
 
template<typename DstType , typename SrcType >
css::uno::Sequence< DstType > comphelper::arrayToSequence (const SrcType *i_pArray, sal_Int32 nNum)
 Copy from a plain C/C++ array into a Sequence. More...
 
template<typename DstType , typename SrcType >
DstType * comphelper::sequenceToArray (DstType *io_pArray, const css::uno::Sequence< SrcType > &i_Sequence)
 Copy from a Sequence into a plain C/C++ array. More...
 
template<typename DstElementType , typename SrcType >
css::uno::Sequence< DstElementType > comphelper::containerToSequence (const SrcType &i_Container)
 Copy from a container into a Sequence. More...
 
template<typename SrcType >
css::uno::Sequence< typename SrcType::value_type > comphelper::containerToSequence (const SrcType &i_Container)
 
template<typename ElementType , std::size_t SrcSize>
css::uno::Sequence< ElementTypecomphelper::containerToSequence (ElementType const (&i_Array)[SrcSize])
 
template<typename T >
css::uno::Sequence< T > comphelper::containerToSequence (::std::vector< T > const &v)
 
template<typename DstType , typename SrcType >
DstType comphelper::sequenceToContainer (const css::uno::Sequence< SrcType > &i_Sequence)
 Copy from a Sequence into a container. More...
 
template<typename DstType >
DstType comphelper::sequenceToContainer (const css::uno::Sequence< typename DstType::value_type > &i_Sequence)
 
template<typename DstType , typename SrcType >
DstType & comphelper::sequenceToContainer (DstType &o_Output, const css::uno::Sequence< SrcType > &i_Sequence)
 Copy from a Sequence into an existing container. More...
 
template<typename M >
css::uno::Sequence< typename M::key_type > comphelper::mapKeysToSequence (M const &map)
 Copy (keys or values) from an associate container into a Sequence. More...
 
template<typename M >
css::uno::Sequence< typename M::mapped_type > comphelper::mapValuesToSequence (M const &map)