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 any2.h


uno_any_assign
extern "C"
void uno_any_assign(
uno_Any * pDest,
void * pSource,
_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

Summary
Assign an any with a given value. Interfaces are acquired or released by the given callback
functions.

Parameters
pDest
pointer memory of destination any
pSource
pointer to source value; defaults (0) to default constructed value
pTypeDescr
type description of value; defaults (0) to void
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

uno_any_clear
extern "C"
void uno_any_clear(
uno_Any * pValue,
uno_ReleaseFunc release );

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

Summary
Sets value to void.

Parameters
pValue
pointer to any
release
function called each time an interface needs to be released;
                        defaults (0) to uno

uno_any_construct
extern "C"
void uno_any_construct(
uno_Any * pDest,
void * pSource,
_typelib_TypeDescription * pTypeDescr,
uno_AcquireFunc acquire );

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

Summary
Constructs an any with a given value. Interfaces are acquired by the given callback function.

Parameters
pDest
pointer memory of destination any
pSource
pointer to source value; defaults (0) to default constructed value
pTypeDescr
type description of value; defaults (0) to void
acquire
function called each time an interface needs to be acquired;
                        defaults (0) to uno

uno_any_constructAndConvert
extern "C"
void uno_any_constructAndConvert(
uno_Any * pDest,
void * pSource,
_typelib_TypeDescription * pTypeDescr,
_uno_Mapping * mapping );

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

Summary
Constructs an any with a given value and converts/ maps interfaces.

Parameters
pDest
pointer memory of destination any
pSource
pointer to source value; defaults (0) to default constructed value
pTypeDescr
type description of value; defaults (0) to void
mapping
mapping to convert/ map interfaces

uno_any_destruct
extern "C"
void uno_any_destruct(
uno_Any * pValue,
uno_ReleaseFunc release );

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

Summary
Destructs an any.

Parameters
pValue
pointer to any
release
function called each time an interface needs to be released;
                        defaults (0) to uno

uno_type_any_assign
extern "C"
void uno_type_any_assign(
uno_Any * pDest,
void * pSource,
_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

Summary
Assign an any with a given value. Interfaces are acquired or released by the given callback
functions.

Parameters
pDest
pointer memory of destination any
pSource
pointer to source value; defaults (0) to default constructed value
pTypeDescr
type description of value; defaults (0) to void
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

uno_type_any_construct
extern "C"
void uno_type_any_construct(
uno_Any * pDest,
void * pSource,
_typelib_TypeDescriptionReference * pType,
uno_AcquireFunc acquire );

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

Summary
Constructs an any with a given value. Interfaces are acquired by the given callback function.

Parameters
pDest
pointer memory of destination any
pSource
pointer to source value; defaults (0) to default constructed value
pType
type of value; defaults (0) to void
acquire
function called each time an interface needs to be acquired;
                        defaults (0) to uno

uno_type_any_constructAndConvert
extern "C"
void uno_type_any_constructAndConvert(
uno_Any * pDest,
void * pSource,
_typelib_TypeDescriptionReference * pType,
_uno_Mapping * mapping );

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

Summary
Constructs an any with a given value and converts/ maps interfaces.

Parameters
pDest
pointer memory of destination any
pSource
pointer to source value; defaults (0) to default constructed value
pType
type of value; defaults (0) to void
mapping
mapping to convert/ map interfaces

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.