Couchbase Lite C
Couchbase Lite C API
Macros | Typedefs | Functions
FLKeyPath.h File Reference
#include "FLBase.h"

Go to the source code of this file.

Macros

#define _FLKEYPATH_H
 

Typedefs

typedef struct _FLKeyPath * FLKeyPath
 A reference to a key path. More...
 

Functions

FLEECE_PUBLIC FLKeyPath FL_NULLABLE FLKeyPath_New (FLSlice specifier, FLError *FL_NULLABLE outError)
 Creates a new FLKeyPath object by compiling a path specifier string. More...
 
FLEECE_PUBLIC void FLKeyPath_Free (FLKeyPath FL_NULLABLE)
 Frees a compiled FLKeyPath object. More...
 
FLEECE_PUBLIC FLValue FL_NULLABLE FLKeyPath_Eval (FLKeyPath, FLValue root)
 Evaluates a compiled key-path for a given Fleece root object. More...
 
FLEECE_PUBLIC FLValue FL_NULLABLE FLKeyPath_EvalOnce (FLSlice specifier, FLValue root, FLError *FL_NULLABLE outError)
 Evaluates a key-path from a specifier string, for a given Fleece root object. More...
 
FLEECE_PUBLIC FLStringResult FLKeyPath_ToString (FLKeyPath path)
 Returns a path in string form. More...
 
FLEECE_PUBLIC bool FLKeyPath_Equals (FLKeyPath path1, FLKeyPath path2)
 Equality test. More...
 
FLEECE_PUBLIC bool FLKeyPath_GetElement (FLKeyPath, size_t i, FLSlice *outDictKey, int32_t *outArrayIndex)
 Returns an element of a path, either a key or an array index. More...
 

Macro Definition Documentation

◆ _FLKEYPATH_H

#define _FLKEYPATH_H