From fa160113b36ac0887130ae1f875c2101b37d2511 Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Fri, 8 May 2020 13:16:07 +0300 Subject: [PATCH] Added missing methods/interfaces to documentation --- doc/Using_OO_API.html | 45 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/doc/Using_OO_API.html b/doc/Using_OO_API.html index 817ed04ef5..7ca41ac2ce 100644 --- a/doc/Using_OO_API.html +++ b/doc/Using_OO_API.html @@ -6,7 +6,7 @@ - + @@ -2125,6 +2125,12 @@ parameter replaced by FB_DEC34 for DecFloat34:

fromString(StatusType* status, const char* from, FB_DEC16* to) – make decimal float value from string.

+


+ +

+


+ +

Dtc interface – distributed transactions coordinator. Used to start distributed (working with 2 or more attachments) transaction. @@ -2235,6 +2241,25 @@ configuration value for different databases).


+

+

Int128 +interfaces that help to work with 128-bit integers (used as base type +for numeric and decimal with precision > 18).

+
    +
  1. void + toString(StatusType* status, const FB_I128* from, int scale, + unsigned bufferLength, char* buffer) – convert 128-bit integer + value to string taking scale into an account.

    +
  2. void + fromString(StatusType* status, int scale, const char* from, FB_I128* + to) – make 128-bit integer value from string taking scale into an + account.

    +
+


+ +

+


+

Master interface – main interface from which start all operations with @@ -2874,7 +2899,9 @@ interface – replaces isc_tr_handle.

replaces isc_transaction_info().

  • void prepare(StatusType* status, unsigned msgLength, const unsigned char* - message) – replaces isc_prepare_transaction2().

    + message) – replaces isc_prepare_transaction2(), with zero + msgLength behaves like isc_prepare_transaction() automatically + generating appropriate message.

  • void commit(StatusType* status) – replaces isc_commit_transaction().

  • void @@ -3012,6 +3039,20 @@ interface – various helper methods required here or there.

    unsigned year, unsigned month, unsigned day, unsigned hours, unsigned minutes, unsigned seconds, unsigned fractions, const char* timeZone) – encode timestamp taking time zone into an account.

    +
  • IInt128* + getInt128(Status status) – access Int128 + interface.

    +
  • void + decodeTimeTzEx(Status status, const ISC_TIME_TZ_EX* timeTz, uint* + hours, uint* minutes, uint* seconds, uint* fractions, uint + timeZoneBufferLength, string timeZoneBuffer) – decode time taking + extended time zone into an account.

    +
  • void + decodeTimeStampTzEx(Status status, const ISC_TIMESTAMP_TZ_EX* + timeStampTz, uint* year, uint* month, uint* day, uint* hours, uint* + minutes, uint* seconds, uint* fractions, uint timeZoneBufferLength, + string timeZoneBuffer) – decode timestamp taking extended time + zone into an account.