Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


Global Functions in Global Namespace C++
in Sourcefile sequence2.h


uno_sequence_assign
extern "C"
void uno_sequence_assign(
uno_Sequence * * ppDest,
uno_Sequence * pSource,
_typelib_TypeDescription * pTypeDescr,
uno_ReleaseFunc release );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Assigns a sequence.

Parameters
ppDest
destinstaion sequence
pSource
source sequence
pTypeDescr
type description of the sequence and NOT of an element
release
function called each time an interface needs to
                    be released; defaults (0) to uno

uno_sequence_construct
extern "C"
sal_Bool uno_sequence_construct(
uno_Sequence * * ppSequence,
_typelib_TypeDescription * pTypeDescr,
void * pElements,
sal_Int32 len,
uno_AcquireFunc acquire );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Constructs a new sequence with given elements.

Parameters
ppSequence
out parameter sequence;
                          0 if memory allocation has failed
pTypeDescr
type description of the sequence and NOT of an
                          element
pElements
if 0, then all elements are default constructed
len
number of elements
acquire
function called each time an interface needs to
                          be acquired; defaults (0) to uno
Return
false, if memoray allocation has failed

uno_sequence_realloc
extern "C"
sal_Bool uno_sequence_realloc(
uno_Sequence * * ppSequence,
_typelib_TypeDescription * pTypeDescr,
sal_Int32 nSize,
uno_AcquireFunc acquire,
uno_ReleaseFunc release );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Reallocates length of a sequence. This truncates a sequence or enlarges
it default constructing appended elements.

Parameters
ppSequence
inout sequence
pTypeDescr
type description of sequence
nSize
new size of sequence
acquire
function called each time an interface needs to
                        be acquired; defaults (0) to uno
release
function called each time an interface needs to
                        be released; defaults (0) to uno
Return
false, if memoray allocation has failed

uno_sequence_reference2One
extern "C"
sal_Bool uno_sequence_reference2One(
uno_Sequence * * ppSequence,
_typelib_TypeDescription * pTypeDescr,
uno_AcquireFunc acquire,
uno_ReleaseFunc release );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Description
Assures that the reference count of the given sequence is one.
Otherwise a new copy of the sequence is created with a reference count
of one.

Parameters
ppSequence
inout sequence
pTypeDescr
type description of sequence
acquire
function called each time an interface needs to
                        be acquired; defaults (0) to uno
release
function called each time an interface needs to
                        be released; defaults (0) to uno
Return
false, if memoray allocation has failed

uno_type_sequence_assign
extern "C"
void uno_type_sequence_assign(
uno_Sequence * * ppDest,
uno_Sequence * pSource,
_typelib_TypeDescriptionReference * pType,
uno_ReleaseFunc release );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Assigns a sequence.

Parameters
ppDest
destinstaion sequence
pSource
source sequence
pType
type of the sequence and NOT of an element
release
function called each time an interface needs to
                    be released; defaults (0) to uno

uno_type_sequence_construct
extern "C"
sal_Bool uno_type_sequence_construct(
uno_Sequence * * ppSequence,
_typelib_TypeDescriptionReference * pType,
void * pElements,
sal_Int32 len,
uno_AcquireFunc acquire );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Constructs a new sequence with given elements.

Parameters
ppSequence
out parameter sequence;
                          0 if memory allocation has failed
pType
type of the sequence and NOT of an element
pElements
if 0, then all elements are default constructed
len
number of elements
acquire
function called each time an interface needs to
                          be acquired; defaults (0) to uno
Return
false, if memoray allocation has failed

uno_type_sequence_realloc
extern "C"
sal_Bool uno_type_sequence_realloc(
uno_Sequence * * ppSequence,
_typelib_TypeDescriptionReference * pType,
sal_Int32 nSize,
uno_AcquireFunc acquire,
uno_ReleaseFunc release );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Summary
Reallocates length of a sequence. This truncates a sequence or enlarges
it default constructing appended elements.

Parameters
ppSequence
inout sequence
pType
type of sequence
nSize
new size of sequence
acquire
function called each time an interface needs to
                        be acquired; defaults (0) to uno
release
function called each time an interface needs to
                        be released; defaults (0) to uno
Return
false, if memoray allocation has failed

uno_type_sequence_reference2One
extern "C"
sal_Bool uno_type_sequence_reference2One(
uno_Sequence * * ppSequence,
_typelib_TypeDescriptionReference * pType,
uno_AcquireFunc acquire,
uno_ReleaseFunc release );

virtual abstract const volatile template static inline C-linkage
NO NO NO NO NO NO NO YES

Description
Assures that the reference count of the given sequence is one.
Otherwise a new copy of the sequence is created with a reference count
of one.

Parameters
ppSequence
inout sequence
pType
type of sequence
acquire
function called each time an interface needs to
                        be acquired; defaults (0) to uno
release
function called each time an interface needs to
                        be released; defaults (0) to uno
Return
false, if memoray allocation has failed

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.