Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions

Header file for Adaptive Framework YAML. More...

#include "afw_minimal.h"
#include "generated/afw_yaml_generated.h"

Go to the source code of this file.

Macros

#define AFW_ERROR_RV_SOURCE_ID_Z_yaml_parser   "yaml_parser"
 
#define AFW_ERROR_RV_SOURCE_ID_Z_yaml_token_type   "yaml_token_type"
 
#define AFW_YAML_Q_CONTENT_TYPE   "application/x-yaml"
 
#define AFW_YAML_S_CONTENT_TYPE   afw_s_a_application_yaml
 
#define AFW_YAML_Q_CONTENT_TYPE_SHORT   "yaml"
 
#define AFW_YAML_S_CONTENT_TYPE_SHORT   afw_s_yaml
 

Functions

void afw_yaml_register (afw_xctx_t *xctx)
 Register YAML support. More...
 
const afw_utf8_tafw_yaml_from_error (afw_xctx_t *xctx)
 Convert error from xctx to a YAML object. More...
 
const afw_utf8_tafw_yaml_from_value (const afw_value_t *value, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert an adaptive value to YAML. More...
 
const afw_value_tafw_yaml_to_value (const afw_memory_t *yaml, const afw_utf8_t *path, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert YAML to an adaptive value. More...
 
const afw_object_tafw_yaml_to_object (const afw_memory_t *yaml, const afw_utf8_t *source_location, const afw_utf8_t *adaptor_id, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_boolean_t cede_p, const afw_pool_t *p, afw_xctx_t *xctx)
 Convert from YAML to adaptive object. More...
 

Detailed Description

Header file for Adaptive Framework YAML.

Definition in file afw_yaml.h.