LibreOffice
LibreOffice 5.3 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions
any2.h File Reference
#include <cppu/cppudllapi.h>
#include <uno/data.h>

Go to the source code of this file.

Classes

struct  _uno_Any
 This is the binary specification of an UNO any. More...
 

Typedefs

typedef struct
SAL_DLLPUBLIC_RTTI _uno_Any 
uno_Any
 This is the binary specification of an UNO any. More...
 

Functions

CPPU_DLLPUBLIC void uno_any_assign (uno_Any *pDest, void *pSource, struct _typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
 Assign an any with a given value. More...
 
CPPU_DLLPUBLIC void uno_type_any_assign (uno_Any *pDest, void *pSource, struct _typelib_TypeDescriptionReference *pType, uno_AcquireFunc acquire, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
 Assign an any with a given value. More...
 
CPPU_DLLPUBLIC void uno_any_construct (uno_Any *pDest, void *pSource, struct _typelib_TypeDescription *pTypeDescr, uno_AcquireFunc acquire) SAL_THROW_EXTERN_C()
 Constructs an any with a given value. More...
 
CPPU_DLLPUBLIC void uno_type_any_construct (uno_Any *pDest, void *pSource, struct _typelib_TypeDescriptionReference *pType, uno_AcquireFunc acquire) SAL_THROW_EXTERN_C()
 Constructs an any with a given value. More...
 
CPPU_DLLPUBLIC void uno_any_constructAndConvert (uno_Any *pDest, void *pSource, struct _typelib_TypeDescription *pTypeDescr, struct _uno_Mapping *mapping) SAL_THROW_EXTERN_C()
 Constructs an any with a given value and converts/ maps interfaces. More...
 
CPPU_DLLPUBLIC void uno_type_any_constructAndConvert (uno_Any *pDest, void *pSource, struct _typelib_TypeDescriptionReference *pType, struct _uno_Mapping *mapping) SAL_THROW_EXTERN_C()
 Constructs an any with a given value and converts/ maps interfaces. More...
 
CPPU_DLLPUBLIC void uno_any_destruct (uno_Any *pValue, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
 Destructs an any. More...
 
CPPU_DLLPUBLIC void uno_any_clear (uno_Any *pValue, uno_ReleaseFunc release) SAL_THROW_EXTERN_C()
 Sets value to void. More...
 

Typedef Documentation

typedef struct SAL_DLLPUBLIC_RTTI _uno_Any uno_Any

This is the binary specification of an UNO any.

Function Documentation

CPPU_DLLPUBLIC void uno_any_assign ( uno_Any pDest,
void *  pSource,
struct _typelib_TypeDescription pTypeDescr,
uno_AcquireFunc  acquire,
uno_ReleaseFunc  release 
)

Assign an any with a given value.

Interfaces are acquired or released by the given callback functions.

Parameters
pDestpointer memory of destination any
pSourcepointer to source value; defaults (0) to default constructed value
pTypeDescrtype description of value; defaults (0) to void
acquirefunction called each time an interface needs to be acquired; defaults (0) to uno
releasefunction called each time an interface needs to be released; defaults (0) to uno
CPPU_DLLPUBLIC void uno_any_clear ( uno_Any pValue,
uno_ReleaseFunc  release 
)

Sets value to void.

Parameters
pValuepointer to any
releasefunction called each time an interface needs to be released; defaults (0) to uno
CPPU_DLLPUBLIC void uno_any_construct ( uno_Any pDest,
void *  pSource,
struct _typelib_TypeDescription pTypeDescr,
uno_AcquireFunc  acquire 
)

Constructs an any with a given value.

Interfaces are acquired by the given callback function.

Parameters
pDestpointer memory of destination any
pSourcepointer to source value; defaults (0) to default constructed value
pTypeDescrtype description of value; defaults (0) to void
acquirefunction called each time an interface needs to be acquired; defaults (0) to uno
CPPU_DLLPUBLIC void uno_any_constructAndConvert ( uno_Any pDest,
void *  pSource,
struct _typelib_TypeDescription pTypeDescr,
struct _uno_Mapping mapping 
)

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

Parameters
pDestpointer memory of destination any
pSourcepointer to source value; defaults (0) to default constructed value
pTypeDescrtype description of value; defaults (0) to void
mappingmapping to convert/ map interfaces
CPPU_DLLPUBLIC void uno_any_destruct ( uno_Any pValue,
uno_ReleaseFunc  release 
)

Destructs an any.

Parameters
pValuepointer to any
releasefunction called each time an interface needs to be released; defaults (0) to uno
CPPU_DLLPUBLIC void uno_type_any_assign ( uno_Any pDest,
void *  pSource,
struct _typelib_TypeDescriptionReference pType,
uno_AcquireFunc  acquire,
uno_ReleaseFunc  release 
)

Assign an any with a given value.

Interfaces are acquired or released by the given callback functions.

Parameters
pDestpointer memory of destination any
pSourcepointer to source value; defaults (0) to default constructed value
pTypetype description of value; defaults (0) to void
acquirefunction called each time an interface needs to be acquired; defaults (0) to uno
releasefunction called each time an interface needs to be released; defaults (0) to uno
CPPU_DLLPUBLIC void uno_type_any_construct ( uno_Any pDest,
void *  pSource,
struct _typelib_TypeDescriptionReference pType,
uno_AcquireFunc  acquire 
)

Constructs an any with a given value.

Interfaces are acquired by the given callback function.

Parameters
pDestpointer memory of destination any
pSourcepointer to source value; defaults (0) to default constructed value
pTypetype of value; defaults (0) to void
acquirefunction called each time an interface needs to be acquired; defaults (0) to uno
CPPU_DLLPUBLIC void uno_type_any_constructAndConvert ( uno_Any pDest,
void *  pSource,
struct _typelib_TypeDescriptionReference pType,
struct _uno_Mapping mapping 
)

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

Parameters
pDestpointer memory of destination any
pSourcepointer to source value; defaults (0) to default constructed value
pTypetype of value; defaults (0) to void
mappingmapping to convert/ map interfaces