19 #ifndef INCLUDED_COM_SUN_STAR_UNO_SEQUENCE_H
20 #define INCLUDED_COM_SUN_STAR_UNO_SEQUENCE_H
29 #if defined LIBO_INTERNAL_ONLY
30 #include <initializer_list>
65 inline static void * SAL_CALL
operator new ( ::size_t nSize )
67 inline static void SAL_CALL
operator delete (
void * pMem )
69 inline static void * SAL_CALL
operator new ( ::size_t,
void * pMem )
71 inline static void SAL_CALL
operator delete (
void *,
void * )
108 inline Sequence(
const E * pElements, sal_Int32 len );
114 inline explicit Sequence( sal_Int32 len );
116 #if defined LIBO_INTERNAL_ONLY
123 inline Sequence(std::initializer_list<E> init);
144 {
return _pSequence->nElements; }
152 {
return (_pSequence->nElements > 0); }
161 {
return reinterpret_cast< const E *
>( _pSequence->elements ); }
172 inline E * SAL_CALL getArray();
186 inline E
const * begin()
const;
200 inline E
const * end()
const;
212 inline E & SAL_CALL operator [] ( sal_Int32 nIndex );
220 inline const E & SAL_CALL operator [] ( sal_Int32 nIndex )
const;
246 inline void SAL_CALL realloc( sal_Int32 nSize );
253 {
return _pSequence; }
267 inline ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL
toUnoSequence(
268 const ::rtl::ByteSequence & rByteSequence );
289 inline const ::com::sun::star::uno::Type &
290 SAL_CALL
getCppuType( const ::com::sun::star::uno::Sequence< E > * );
306 inline const ::com::sun::star::uno::Type &
320 inline const ::com::sun::star::uno::Type &