LibreOffice
LibreOffice 24.2 SDK API Reference
|
Dump any UNOIDL value as a string. More...
import"XDump.idl";
Public Member Functions | |
string | dumpValue ([in] any value) |
Dump a UNOIDL value as a string. More... | |
string | dumpAny ([in] any value) |
Dump the value of a UNOIDL ANY as a string. More... | |
string | dumpConstant ([in] string constantsGroup, [in] any value) raises (com::sun::star::lang::IllegalArgumentException) |
Dump a numeric UNOIDL value, interpreted relative to a UNOIDL constants group, as a string. More... | |
Dump any UNOIDL value as a string.
Mainly useful for logging and debugging purposes.
string dumpAny | ( | [in] any | value | ) |
Dump the value of a UNOIDL ANY as a string.
This dumps the type and value of the given ANY.
value | any UNOIDL ANY |
string dumpConstant | ( | [in] string | constantsGroup, |
[in] any | value | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
Dump a numeric UNOIDL value, interpreted relative to a UNOIDL constants group, as a string.
constantsGroup | the name (in dotted notation, as supported by /singletons/theTypeDescriptionManager) of a UNOIDL constants group |
value | a UNOIDL value of type BOOLEAN, BYTE, SHORT, UNSIGNED SHORT, LONG, UNSIGNED LONG, HYPER, UNSIGNED HYPER, FLOAT, or DOUBLE |
com::sun::star::lang::IllegalArgumentException | if the constantsGroup argument does not represent a UNOIDL constants group or the value argument is of wrong type |
string dumpValue | ( | [in] any | value | ) |
Dump a UNOIDL value as a string.
This just dumps the value itself, without any further decoration.
value | any UNOIDL value |