Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
output.h File Reference
#include "groonga_in.h"
#include "ctx.h"
#include "store.h"
#include "ctx_impl.h"
Include dependency graph for output.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GRN_OUTPUT_ARRAY_OPEN(name, nelements)   (grn_ctx_output_array_open(ctx, name, nelements))
#define GRN_OUTPUT_ARRAY_CLOSE()   (grn_ctx_output_array_close(ctx))
#define GRN_OUTPUT_MAP_OPEN(name, nelements)   (grn_ctx_output_map_open(ctx, name, nelements))
#define GRN_OUTPUT_MAP_CLOSE()   (grn_ctx_output_map_close(ctx))
#define GRN_OUTPUT_INT32(value)   (grn_ctx_output_int32(ctx, value))
#define GRN_OUTPUT_INT64(value)   (grn_ctx_output_int64(ctx, value))
#define GRN_OUTPUT_FLOAT(value)   (grn_ctx_output_float(ctx, value))
#define GRN_OUTPUT_CSTR(value)   (grn_ctx_output_cstr(ctx, value))
#define GRN_OUTPUT_STR(value, value_len)   (grn_ctx_output_str(ctx, value, value_len))
#define GRN_OUTPUT_BOOL(value)   (grn_ctx_output_bool(ctx, value))
#define GRN_OUTPUT_OBJ(obj, format)   (grn_ctx_output_obj(ctx, obj, format))

Functions

GRN_API void grn_output_array_open (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *name, int nelements)
GRN_API void grn_output_array_close (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type)
GRN_API void grn_output_map_open (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *name, int nelements)
GRN_API void grn_output_map_close (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type)
void grn_output_int32 (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int32_t value)
GRN_API void grn_output_int64 (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, int64_t value)
void grn_output_float (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, double value)
GRN_API void grn_output_cstr (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *value)
GRN_API void grn_output_str (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, const char *value, size_t value_len)
GRN_API void grn_output_bool (grn_ctx *ctx, grn_obj *outbuf, grn_content_type output_type, grn_bool value)

Macro Definition Documentation

#define GRN_OUTPUT_ARRAY_CLOSE ( )    (grn_ctx_output_array_close(ctx))

Definition at line 64 of file output.h.

#define GRN_OUTPUT_ARRAY_OPEN (   name,
  nelements 
)    (grn_ctx_output_array_open(ctx, name, nelements))

Definition at line 62 of file output.h.

#define GRN_OUTPUT_BOOL (   value)    (grn_ctx_output_bool(ctx, value))

Definition at line 80 of file output.h.

#define GRN_OUTPUT_CSTR (   value)    (grn_ctx_output_cstr(ctx, value))

Definition at line 76 of file output.h.

#define GRN_OUTPUT_FLOAT (   value)    (grn_ctx_output_float(ctx, value))

Definition at line 74 of file output.h.

#define GRN_OUTPUT_INT32 (   value)    (grn_ctx_output_int32(ctx, value))

Definition at line 70 of file output.h.

#define GRN_OUTPUT_INT64 (   value)    (grn_ctx_output_int64(ctx, value))

Definition at line 72 of file output.h.

#define GRN_OUTPUT_MAP_CLOSE ( )    (grn_ctx_output_map_close(ctx))

Definition at line 68 of file output.h.

#define GRN_OUTPUT_MAP_OPEN (   name,
  nelements 
)    (grn_ctx_output_map_open(ctx, name, nelements))

Definition at line 66 of file output.h.

#define GRN_OUTPUT_OBJ (   obj,
  format 
)    (grn_ctx_output_obj(ctx, obj, format))

Definition at line 82 of file output.h.

#define GRN_OUTPUT_STR (   value,
  value_len 
)    (grn_ctx_output_str(ctx, value, value_len))

Definition at line 78 of file output.h.

Function Documentation

GRN_API void grn_output_array_close ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type 
)

Definition at line 100 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

GRN_API void grn_output_array_open ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
const char *  name,
int  nelements 
)

Definition at line 65 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

GRN_API void grn_output_bool ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
grn_bool  value 
)

Definition at line 343 of file output.c.

Here is the caller graph for this function:

GRN_API void grn_output_cstr ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
const char *  value 
)

Definition at line 336 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void grn_output_float ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
double  value 
)

Definition at line 280 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void grn_output_int32 ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
int32_t  value 
)
GRN_API void grn_output_int64 ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
int64_t  value 
)

Definition at line 226 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

GRN_API void grn_output_map_close ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type 
)

Definition at line 167 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

GRN_API void grn_output_map_open ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
const char *  name,
int  nelements 
)

Definition at line 132 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function:

GRN_API void grn_output_str ( grn_ctx ctx,
grn_obj outbuf,
grn_content_type  output_type,
const char *  value,
size_t  value_len 
)

Definition at line 307 of file output.c.

Here is the call graph for this function:

Here is the caller graph for this function: