UDK 3.2.7 C/C++ API Reference
Namespaces | Functions
com/sun/star/uno/Sequence.hxx File Reference
#include "osl/diagnose.h"
#include "osl/interlck.h"
#include "com/sun/star/uno/Sequence.h"
#include "typelib/typedescription.h"
#include "uno/data.h"
#include "com/sun/star/uno/genfunc.hxx"
#include "cppu/unotype.hxx"

Go to the source code of this file.

Namespaces

namespace  com
namespace  com::sun
namespace  com::sun::star
namespace  com::sun::star::uno
namespace  cppu

Functions

inline::com::sun::star::uno::Sequence
< sal_Int8
com::sun::star::uno::toUnoSequence (const ::rtl::ByteSequence &rByteSequence) throw ()
 Creates a UNO byte sequence from a SAL byte sequence.
template<typename T >
::com::sun::star::uno::Type const & cppu::getTypeFavourUnsigned (SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *)
template<typename T >
::com::sun::star::uno::Type const & cppu::getTypeFavourChar (SAL_UNUSED_PARAMETER::com::sun::star::uno::Sequence< T > const *)
template<class E >
const ::com::sun::star::uno::TypegetCppuType (SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Sequence< E > *) throw ()
template<class E >
const ::com::sun::star::uno::TypegetCppuSequenceType (const ::com::sun::star::uno::Type &rElementType) throw ()
 Gets the meta type of IDL sequence.
const ::com::sun::star::uno::TypegetCharSequenceCppuType () throw ()
 Gets the meta type of IDL sequence< char >.

Function Documentation

const ::com::sun::star::uno::Type& getCharSequenceCppuType ( ) throw () [inline]

Gets the meta type of IDL sequence< char >.

This function has been introduced due to ambiguities with unsigned short.

The dummy parameter is just a typed pointer for function signature.

Returns:
type of IDL sequence< char >
template<class E >
const ::com::sun::star::uno::Type& getCppuSequenceType ( const ::com::sun::star::uno::Type rElementType) throw () [inline]

Gets the meta type of IDL sequence.

This function has been introduced, because one cannot get the (templated) cppu type out of C++ array types. Array types have special getCppuArrayTypeN() functions.

Attention:
the given element type must be the same as the template argument type!
Template Parameters:
Eelement type of sequence
Parameters:
rElementTypeelement type of sequence
Returns:
type of IDL sequence
template<class E >
const ::com::sun::star::uno::Type& getCppuType ( SAL_UNUSED_PARAMETER const ::com::sun::star::uno::Sequence< E > *  ) throw () [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines