9 #ifndef __AFW_OBJECT_OPTIONS_H__
10 #define __AFW_OBJECT_OPTIONS_H__
52 #define AFW_OBJECT_OPTION_checkRequired (1 << 0)
61 #define AFW_OBJECT_OPTION_composite (1 << 1)
71 #define AFW_OBJECT_OPTION_includeDefaultValues (1 << 3)
82 #define AFW_OBJECT_OPTION_includeDescendentObjectTypes (1 << 4)
94 #define AFW_OBJECT_OPTION_inheritedFrom (1 << 5)
111 #define AFW_OBJECT_OPTION_integersAsString (1 << 6)
130 #define AFW_OBJECT_OPTION_largeIntegersAsString (1 << 7)
141 #define AFW_OBJECT_OPTION_metaFull (1 << 8)
151 #define AFW_OBJECT_OPTION_metaLimited (1 << 9)
167 #define AFW_OBJECT_OPTION_normalize (1 << 10)
176 #define AFW_OBJECT_OPTION_objectId (1 << 11)
185 #define AFW_OBJECT_OPTION_objectType (1 << 12)
196 #define AFW_OBJECT_OPTION_objectTypes (1 << 13)
205 #define AFW_OBJECT_OPTION_path (1 << 14)
214 #define AFW_OBJECT_OPTION_pathEmbedded (1 << 15)
226 #define AFW_OBJECT_OPTION_reconcilable (1 << 16)
236 #define AFW_OBJECT_OPTION_resolvedParentPaths (1 << 17)
245 #define AFW_OBJECT_OPTION_typedValues (1 << 18)
256 #define AFW_OBJECT_OPTION_whitespace (1 << 19)
284 afw_object_options_composite_normalize_defaults_required;
317 #define AFW_OBJECT_OPTION_IS(_options, _option) \
318 ((_options) && (((((_options)->mask) & (AFW_OBJECT_OPTION_ ## _option))) != 0))
322 #define AFW_OBJECT_OPTION_SET_ON(_options, _option) \
323 (_options)->mask |= AFW_OBJECT_OPTION_ ## _option
327 #define AFW_OBJECT_OPTION_SET_OFF(_options, _option) \
328 (_options)->mask &= ~(AFW_OBJECT_OPTION_ ## _option)
332 #define AFW_OBJECT_OPTION_SET(_options, _option, _bool_value) \
335 AFW_OBJECT_OPTION_SET_ON(_options, _option); \
338 AFW_OBJECT_OPTION_SET_OFF(_options, _option); \
#define AFW_BEGIN_DECLARES
#define AFW_DECLARE(type)
Declare a public afw function.
Interfaceafw_interface header.
AFW_DECLARE_CONST_DATA(afw_utf8_t) afw_s_200
afw_utf8_t for string 200
apr_uint32_t afw_uint32_t
32-bit unsigned integer.
afw_object_options_essential_with_whitespace
Object processing options - metaLimited + whitespace.
afw_object_options_composite_inheritedFrom_resolvedParentPaths
Object processing options - composite + inheritance related.
afw_object_options_none
Object processing options - no options set.
const afw_object_options_t * afw_object_options_create(const afw_object_options_t *initial_options, const afw_object_options_t *options, const afw_pool_t *p, afw_xctx_t *xctx)
Create a options.
afw_object_options_essential
Object processing options - metaLimited.
afw_object_options_objectType
Object processing options - objectType.
afw_object_options_composite
Object processing options - composite only.
const afw_object_options_t * afw_object_options_set_from_object(const afw_object_options_t *initial_options, const afw_object_t *options_object, const afw_pool_t *p, afw_xctx_t *xctx)
Set object processing options from options object.
afw_object_options_whitespace
Whitespace only.
afw_object_options_reconcilable_meta_property
Object processing options to produce reconcilable meta property.
afw_object_options_composite_and_defaults
Object processing options - composite only and defaults.
Struct for object processing options.
Interface afw_object public struct.
Interface afw_pool public struct.
Interface afw_xctx public struct.