8#ifndef SCANBOTSDK_OBJECTPOOLTYPES_H
9#define SCANBOTSDK_OBJECTPOOLTYPES_H
17#include <ScanbotSDKDefs.h>
49 const char* unique_id,
50 int64_t timestamp_created,
51 int strong_references,
52 int serialized_references,
67 const char* unique_id,
68 int64_t timestamp_created,
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_create(const char *unique_id, int64_t timestamp_created, int strong_references, int serialized_references, scanbotsdk_ref_counted_object_profile_t **result)
Creates a new instance of scanbotsdk_ref_counted_object_profile with given params and stores it in th...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_serialized_references(scanbotsdk_ref_counted_object_profile_t *self, int *serialized_references)
Returns value of serialized_references field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_create_with_defaults(const char *unique_id, int64_t timestamp_created, scanbotsdk_ref_counted_object_profile_t **result)
Creates a new instance of scanbotsdk_ref_counted_object_profile_t with given required params and stor...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_timestamp_created(scanbotsdk_ref_counted_object_profile_t *self, int64_t *timestamp_created)
Returns value of timestamp_created field of the given object.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_strong_references(scanbotsdk_ref_counted_object_profile_t *self, int *strong_references)
Returns value of strong_references field of the given object.
struct scanbotsdk_ref_counted_object_profile_t scanbotsdk_ref_counted_object_profile_t
scanbotsdk_ref_counted_object_profile_t class
Definition ScanbotSDKObjectPoolTypes.h:29
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_get_unique_id(scanbotsdk_ref_counted_object_profile_t *self, const char **unique_id)
Returns value of unique_id field of the given object. The returned pointers do NOT own the underlying...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_ref_counted_object_profile_free(scanbotsdk_ref_counted_object_profile_t *object)
Frees the memory allocated for the instance of scanbotsdk_ref_counted_object_profile_t....