23#ifdef COUCHBASE_ENTERPRISE
93#pragma mark - CREATING:
127#pragma mark - READING:
137#pragma mark - FLEECE:
#define CBLAPI
Definition: CBL_Compat.h:98
#define _cbl_nullable
Definition: CBL_Compat.h:86
#define CBL_CAPI_BEGIN
Definition: CBL_Compat.h:99
#define CBL_CAPI_END
Definition: CBL_Compat.h:100
#define CBL_PUBLIC
Definition: CBL_Compat.h:117
FLDict FLValue_AsDict(FLValue) FLPURE
If a FLValue represents a dictionary, returns it as an FLDict, else NULL.
MUST_USE_RESULT FLSlot FLMutableDict_Set(FLMutableDict FL_NONNULL, FLString key)
Returns an FLSlot that refers to the given key/value pair of the given dictionary.
const CBLEncryptable *_cbl_nullable FLDict_GetEncryptableValue(FLDict _cbl_nullable encryptableDict)
Returns a CBLEncryptable object corresponding to the given encryptable dictionary in a document or NU...
CBLEncryptable * CBLEncryptable_CreateWithValue(FLValue value)
Creates CBLEncryptable object with an FLValue value.
CBLEncryptable * CBLEncryptable_CreateWithUInt(uint64_t value)
Creates CBLEncryptable object with an unsigned int value.
CBLEncryptable * CBLEncryptable_CreateWithInt(int64_t value)
Creates CBLEncryptable object with an int value.
static const CBLEncryptable *_cbl_nullable FLValue_GetEncryptableValue(FLValue _cbl_nullable value)
Returns a CBLEncryptable object corresponding to the given Fleece Value Accessors in a document or NU...
Definition: CBLEncryptable.h:156
CBLEncryptable * CBLEncryptable_CreateWithBool(bool value)
Creates CBLEncryptable object with a boolean value.
CBLEncryptable * CBLEncryptable_CreateWithDict(FLDict value)
Creates CBLEncryptable object with an FLDict value.
CBLEncryptable * CBLEncryptable_CreateWithNull(void)
Creates CBLEncryptable object with null value.
CBLEncryptable * CBLEncryptable_CreateWithString(FLString value)
Creates CBLEncryptable object with a string value.
CBL_PUBLIC const FLSlice kCBLEncryptableValueProperty
"value"
CBLEncryptable * CBLEncryptable_CreateWithArray(FLArray value)
Creates CBLEncryptable object with an FLArray value.
FLDict CBLEncryptable_Properties(const CBLEncryptable *encryptable)
Returns the dictionary format of the CBLEncryptable object.
static void FLMutableDict_SetEncryptableValue(FLMutableDict dict, FLString key, CBLEncryptable *encryptable)
Set a CBLEncryptable's dictionary into a mutable dictionary.
Definition: CBLEncryptable.h:164
void FLSlot_SetEncryptableValue(FLSlot slot, const CBLEncryptable *encryptable)
Set a CBLEncryptable's dictionary into a mutable dictionary's slot.
CBL_PUBLIC const FLSlice kCBLEncryptableType
"encryptable"
struct CBLEncryptable CBLEncryptable
An encryptable value.
Definition: CBLBase.h:223
bool FLDict_IsEncryptableValue(FLDict _cbl_nullable)
Checks whether the given dictionary is a CBLEncryptable or not.
CBLEncryptable * CBLEncryptable_CreateWithFloat(float value)
Creates CBLEncryptable object with a float value.
static bool FLValue_IsEncryptableValue(FLValue _cbl_nullable value)
Checks whether the given FLValue is a CBLEncryptable or not.
Definition: CBLEncryptable.h:144
CBLEncryptable * CBLEncryptable_CreateWithDouble(double value)
Creates CBLEncryptable object with a double value.
FLValue CBLEncryptable_Value(const CBLEncryptable *encryptable)
Returns the value to be encrypted by the push replicator.
#define CBL_REFCOUNTED(TYPE, NAME)
Definition: CBLBase.h:170
struct _FLDict * FLMutableDict
A reference to a mutable dictionary.
Definition: Fleece.h:54
const struct _FLDict * FLDict
A reference to a dictionary (map) value.
Definition: Fleece.h:51
struct _FLSlot * FLSlot
A reference to a mutable array/dict item.
Definition: Fleece.h:52
const struct _FLArray * FLArray
A reference to an array value.
Definition: Fleece.h:50
const struct _FLValue * FLValue
A reference to a value of any type.
Definition: Fleece.h:49
A simple reference to a block of memory.
Definition: FLSlice.h:46