/* c/zx-dap-data.h - WARNING: This header was auto generated by xsd2sg.pl. DO NOT EDIT!
 * $Id$ */
/* Datastructure design, topography, and layout
 * Copyright (c) 2006,2010 Sampo Kellomaki (sampo@iki.fi),
 * All Rights Reserved. NO WARRANTY. See file COPYING for
 * terms and conditions of use. Element and attributes names as well
 * as some topography are derived from schema descriptions that were used as
 * input and may be subject to their own copright. */

#ifndef _c_zx_dap_data_h
#define _c_zx_dap_data_h

#include "zx.h"
#include "c/zx-const.h"
#include "c/zx-data.h"

#ifndef ZX_ELEM_EXT
#define ZX_ELEM_EXT  /* This extension point should be defined by who includes this file. */
#endif

/* -------------------------- dap_Create -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_Create_EXT
#define zx_dap_Create_EXT
#endif
struct zx_dap_Create_s {
  ZX_ELEM_EXT
  zx_dap_Create_EXT
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_Subscription_s* Subscription;	/* {0,-1} nada */
  struct zx_dap_CreateItem_s* CreateItem;	/* {1,-1} nada */
  struct zx_dap_ResultQuery_s* ResultQuery;	/* {0,-1} nada */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
};

#define zx_NEW_dap_Create(c, father) (struct zx_dap_Create_s*)zx_new_elem((c),(father),zx_dap_Create_ELEM)
int zx_DEC_ATTR_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x);
int zx_DEC_ELEM_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Create_s* zx_DEEP_CLONE_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x, int dup_strs);
void zx_DUP_STRS_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x);
int zx_WALK_SO_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Create(struct zx_ctx* c, struct zx_dap_Create_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Create_GET_itemID(struct zx_dap_Create_s* x);

struct zx_lu_Extension_s* zx_dap_Create_GET_Extension(struct zx_dap_Create_s* x, int n);
struct zx_dap_Subscription_s* zx_dap_Create_GET_Subscription(struct zx_dap_Create_s* x, int n);
struct zx_dap_CreateItem_s* zx_dap_Create_GET_CreateItem(struct zx_dap_Create_s* x, int n);
struct zx_dap_ResultQuery_s* zx_dap_Create_GET_ResultQuery(struct zx_dap_Create_s* x, int n);

int zx_dap_Create_NUM_Extension(struct zx_dap_Create_s* x);
int zx_dap_Create_NUM_Subscription(struct zx_dap_Create_s* x);
int zx_dap_Create_NUM_CreateItem(struct zx_dap_Create_s* x);
int zx_dap_Create_NUM_ResultQuery(struct zx_dap_Create_s* x);

struct zx_lu_Extension_s* zx_dap_Create_POP_Extension(struct zx_dap_Create_s* x);
struct zx_dap_Subscription_s* zx_dap_Create_POP_Subscription(struct zx_dap_Create_s* x);
struct zx_dap_CreateItem_s* zx_dap_Create_POP_CreateItem(struct zx_dap_Create_s* x);
struct zx_dap_ResultQuery_s* zx_dap_Create_POP_ResultQuery(struct zx_dap_Create_s* x);

void zx_dap_Create_PUSH_Extension(struct zx_dap_Create_s* x, struct zx_lu_Extension_s* y);
void zx_dap_Create_PUSH_Subscription(struct zx_dap_Create_s* x, struct zx_dap_Subscription_s* y);
void zx_dap_Create_PUSH_CreateItem(struct zx_dap_Create_s* x, struct zx_dap_CreateItem_s* y);
void zx_dap_Create_PUSH_ResultQuery(struct zx_dap_Create_s* x, struct zx_dap_ResultQuery_s* y);

void zx_dap_Create_PUT_itemID(struct zx_dap_Create_s* x, struct zx_attr_s* y);

void zx_dap_Create_PUT_Extension(struct zx_dap_Create_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_Create_PUT_Subscription(struct zx_dap_Create_s* x, int n, struct zx_dap_Subscription_s* y);
void zx_dap_Create_PUT_CreateItem(struct zx_dap_Create_s* x, int n, struct zx_dap_CreateItem_s* y);
void zx_dap_Create_PUT_ResultQuery(struct zx_dap_Create_s* x, int n, struct zx_dap_ResultQuery_s* y);

void zx_dap_Create_ADD_Extension(struct zx_dap_Create_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_Create_ADD_Subscription(struct zx_dap_Create_s* x, int n, struct zx_dap_Subscription_s* z);
void zx_dap_Create_ADD_CreateItem(struct zx_dap_Create_s* x, int n, struct zx_dap_CreateItem_s* z);
void zx_dap_Create_ADD_ResultQuery(struct zx_dap_Create_s* x, int n, struct zx_dap_ResultQuery_s* z);

void zx_dap_Create_DEL_Extension(struct zx_dap_Create_s* x, int n);
void zx_dap_Create_DEL_Subscription(struct zx_dap_Create_s* x, int n);
void zx_dap_Create_DEL_CreateItem(struct zx_dap_Create_s* x, int n);
void zx_dap_Create_DEL_ResultQuery(struct zx_dap_Create_s* x, int n);

void zx_dap_Create_REV_Extension(struct zx_dap_Create_s* x);
void zx_dap_Create_REV_Subscription(struct zx_dap_Create_s* x);
void zx_dap_Create_REV_CreateItem(struct zx_dap_Create_s* x);
void zx_dap_Create_REV_ResultQuery(struct zx_dap_Create_s* x);

#endif
/* -------------------------- dap_CreateItem -------------------------- */
/* refby( zx_dap_Create_s ) */
#ifndef zx_dap_CreateItem_EXT
#define zx_dap_CreateItem_EXT
#endif
struct zx_dap_CreateItem_s {
  ZX_ELEM_EXT
  zx_dap_CreateItem_EXT
  struct zx_dap_NewData_s* NewData;	/* {0,1} nada */
  struct zx_attr_s* id;	/* {0,1} attribute xs:ID */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* objectType;	/* {0,1} attribute xs:NCName */
};

#define zx_NEW_dap_CreateItem(c, father) (struct zx_dap_CreateItem_s*)zx_new_elem((c),(father),zx_dap_CreateItem_ELEM)
int zx_DEC_ATTR_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x);
int zx_DEC_ELEM_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_CreateItem_s* zx_DEEP_CLONE_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x, int dup_strs);
void zx_DUP_STRS_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x);
int zx_WALK_SO_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_CreateItem(struct zx_ctx* c, struct zx_dap_CreateItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_CreateItem_GET_id(struct zx_dap_CreateItem_s* x);
struct zx_attr_s* zx_dap_CreateItem_GET_itemID(struct zx_dap_CreateItem_s* x);
struct zx_attr_s* zx_dap_CreateItem_GET_objectType(struct zx_dap_CreateItem_s* x);

struct zx_dap_NewData_s* zx_dap_CreateItem_GET_NewData(struct zx_dap_CreateItem_s* x, int n);

int zx_dap_CreateItem_NUM_NewData(struct zx_dap_CreateItem_s* x);

struct zx_dap_NewData_s* zx_dap_CreateItem_POP_NewData(struct zx_dap_CreateItem_s* x);

void zx_dap_CreateItem_PUSH_NewData(struct zx_dap_CreateItem_s* x, struct zx_dap_NewData_s* y);

void zx_dap_CreateItem_PUT_id(struct zx_dap_CreateItem_s* x, struct zx_attr_s* y);
void zx_dap_CreateItem_PUT_itemID(struct zx_dap_CreateItem_s* x, struct zx_attr_s* y);
void zx_dap_CreateItem_PUT_objectType(struct zx_dap_CreateItem_s* x, struct zx_attr_s* y);

void zx_dap_CreateItem_PUT_NewData(struct zx_dap_CreateItem_s* x, int n, struct zx_dap_NewData_s* y);

void zx_dap_CreateItem_ADD_NewData(struct zx_dap_CreateItem_s* x, int n, struct zx_dap_NewData_s* z);

void zx_dap_CreateItem_DEL_NewData(struct zx_dap_CreateItem_s* x, int n);

void zx_dap_CreateItem_REV_NewData(struct zx_dap_CreateItem_s* x);

#endif
/* -------------------------- dap_CreateResponse -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_CreateResponse_EXT
#define zx_dap_CreateResponse_EXT
#endif
struct zx_dap_CreateResponse_s {
  ZX_ELEM_EXT
  zx_dap_CreateResponse_EXT
  struct zx_lu_Status_s* Status;	/* {1,1} nada */
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_ItemData_s* ItemData;	/* {0,-1} nada */
  struct zx_attr_s* timeStamp;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
};

#define zx_NEW_dap_CreateResponse(c, father) (struct zx_dap_CreateResponse_s*)zx_new_elem((c),(father),zx_dap_CreateResponse_ELEM)
int zx_DEC_ATTR_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x);
int zx_DEC_ELEM_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_CreateResponse_s* zx_DEEP_CLONE_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x, int dup_strs);
void zx_DUP_STRS_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x);
int zx_WALK_SO_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_CreateResponse(struct zx_ctx* c, struct zx_dap_CreateResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_CreateResponse_GET_timeStamp(struct zx_dap_CreateResponse_s* x);
struct zx_attr_s* zx_dap_CreateResponse_GET_itemIDRef(struct zx_dap_CreateResponse_s* x);

struct zx_lu_Status_s* zx_dap_CreateResponse_GET_Status(struct zx_dap_CreateResponse_s* x, int n);
struct zx_lu_Extension_s* zx_dap_CreateResponse_GET_Extension(struct zx_dap_CreateResponse_s* x, int n);
struct zx_dap_ItemData_s* zx_dap_CreateResponse_GET_ItemData(struct zx_dap_CreateResponse_s* x, int n);

int zx_dap_CreateResponse_NUM_Status(struct zx_dap_CreateResponse_s* x);
int zx_dap_CreateResponse_NUM_Extension(struct zx_dap_CreateResponse_s* x);
int zx_dap_CreateResponse_NUM_ItemData(struct zx_dap_CreateResponse_s* x);

struct zx_lu_Status_s* zx_dap_CreateResponse_POP_Status(struct zx_dap_CreateResponse_s* x);
struct zx_lu_Extension_s* zx_dap_CreateResponse_POP_Extension(struct zx_dap_CreateResponse_s* x);
struct zx_dap_ItemData_s* zx_dap_CreateResponse_POP_ItemData(struct zx_dap_CreateResponse_s* x);

void zx_dap_CreateResponse_PUSH_Status(struct zx_dap_CreateResponse_s* x, struct zx_lu_Status_s* y);
void zx_dap_CreateResponse_PUSH_Extension(struct zx_dap_CreateResponse_s* x, struct zx_lu_Extension_s* y);
void zx_dap_CreateResponse_PUSH_ItemData(struct zx_dap_CreateResponse_s* x, struct zx_dap_ItemData_s* y);

void zx_dap_CreateResponse_PUT_timeStamp(struct zx_dap_CreateResponse_s* x, struct zx_attr_s* y);
void zx_dap_CreateResponse_PUT_itemIDRef(struct zx_dap_CreateResponse_s* x, struct zx_attr_s* y);

void zx_dap_CreateResponse_PUT_Status(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Status_s* y);
void zx_dap_CreateResponse_PUT_Extension(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_CreateResponse_PUT_ItemData(struct zx_dap_CreateResponse_s* x, int n, struct zx_dap_ItemData_s* y);

void zx_dap_CreateResponse_ADD_Status(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Status_s* z);
void zx_dap_CreateResponse_ADD_Extension(struct zx_dap_CreateResponse_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_CreateResponse_ADD_ItemData(struct zx_dap_CreateResponse_s* x, int n, struct zx_dap_ItemData_s* z);

void zx_dap_CreateResponse_DEL_Status(struct zx_dap_CreateResponse_s* x, int n);
void zx_dap_CreateResponse_DEL_Extension(struct zx_dap_CreateResponse_s* x, int n);
void zx_dap_CreateResponse_DEL_ItemData(struct zx_dap_CreateResponse_s* x, int n);

void zx_dap_CreateResponse_REV_Status(struct zx_dap_CreateResponse_s* x);
void zx_dap_CreateResponse_REV_Extension(struct zx_dap_CreateResponse_s* x);
void zx_dap_CreateResponse_REV_ItemData(struct zx_dap_CreateResponse_s* x);

#endif
/* -------------------------- dap_Data -------------------------- */
/* refby( zx_dap_QueryResponse_s ) */
#ifndef zx_dap_Data_EXT
#define zx_dap_Data_EXT
#endif
struct zx_dap_Data_s {
  ZX_ELEM_EXT
  zx_dap_Data_EXT
  struct zx_dap_LDIF_s* LDIF;	/* {0,1} nada */
  struct zx_dap_Subscription_s* Subscription;	/* {0,1} nada */
  struct zx_attr_s* nextOffset;	/* {0,1} attribute xs:nonNegativeInteger */
  struct zx_attr_s* notSorted;	/* {0,1} attribute Now */
  struct zx_attr_s* remaining;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* setID;	/* {0,1} attribute xs:string */
  struct zx_attr_s* changeFormat;	/* {0,1} attribute ChangedElements */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
};

#define zx_NEW_dap_Data(c, father) (struct zx_dap_Data_s*)zx_new_elem((c),(father),zx_dap_Data_ELEM)
int zx_DEC_ATTR_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x);
int zx_DEC_ELEM_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Data_s* zx_DEEP_CLONE_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x, int dup_strs);
void zx_DUP_STRS_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x);
int zx_WALK_SO_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Data(struct zx_ctx* c, struct zx_dap_Data_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Data_GET_nextOffset(struct zx_dap_Data_s* x);
struct zx_attr_s* zx_dap_Data_GET_notSorted(struct zx_dap_Data_s* x);
struct zx_attr_s* zx_dap_Data_GET_remaining(struct zx_dap_Data_s* x);
struct zx_attr_s* zx_dap_Data_GET_setID(struct zx_dap_Data_s* x);
struct zx_attr_s* zx_dap_Data_GET_changeFormat(struct zx_dap_Data_s* x);
struct zx_attr_s* zx_dap_Data_GET_itemIDRef(struct zx_dap_Data_s* x);

struct zx_dap_LDIF_s* zx_dap_Data_GET_LDIF(struct zx_dap_Data_s* x, int n);
struct zx_dap_Subscription_s* zx_dap_Data_GET_Subscription(struct zx_dap_Data_s* x, int n);

int zx_dap_Data_NUM_LDIF(struct zx_dap_Data_s* x);
int zx_dap_Data_NUM_Subscription(struct zx_dap_Data_s* x);

struct zx_dap_LDIF_s* zx_dap_Data_POP_LDIF(struct zx_dap_Data_s* x);
struct zx_dap_Subscription_s* zx_dap_Data_POP_Subscription(struct zx_dap_Data_s* x);

void zx_dap_Data_PUSH_LDIF(struct zx_dap_Data_s* x, struct zx_dap_LDIF_s* y);
void zx_dap_Data_PUSH_Subscription(struct zx_dap_Data_s* x, struct zx_dap_Subscription_s* y);

void zx_dap_Data_PUT_nextOffset(struct zx_dap_Data_s* x, struct zx_attr_s* y);
void zx_dap_Data_PUT_notSorted(struct zx_dap_Data_s* x, struct zx_attr_s* y);
void zx_dap_Data_PUT_remaining(struct zx_dap_Data_s* x, struct zx_attr_s* y);
void zx_dap_Data_PUT_setID(struct zx_dap_Data_s* x, struct zx_attr_s* y);
void zx_dap_Data_PUT_changeFormat(struct zx_dap_Data_s* x, struct zx_attr_s* y);
void zx_dap_Data_PUT_itemIDRef(struct zx_dap_Data_s* x, struct zx_attr_s* y);

void zx_dap_Data_PUT_LDIF(struct zx_dap_Data_s* x, int n, struct zx_dap_LDIF_s* y);
void zx_dap_Data_PUT_Subscription(struct zx_dap_Data_s* x, int n, struct zx_dap_Subscription_s* y);

void zx_dap_Data_ADD_LDIF(struct zx_dap_Data_s* x, int n, struct zx_dap_LDIF_s* z);
void zx_dap_Data_ADD_Subscription(struct zx_dap_Data_s* x, int n, struct zx_dap_Subscription_s* z);

void zx_dap_Data_DEL_LDIF(struct zx_dap_Data_s* x, int n);
void zx_dap_Data_DEL_Subscription(struct zx_dap_Data_s* x, int n);

void zx_dap_Data_REV_LDIF(struct zx_dap_Data_s* x);
void zx_dap_Data_REV_Subscription(struct zx_dap_Data_s* x);

#endif
/* -------------------------- dap_Delete -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_Delete_EXT
#define zx_dap_Delete_EXT
#endif
struct zx_dap_Delete_s {
  ZX_ELEM_EXT
  zx_dap_Delete_EXT
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_DeleteItem_s* DeleteItem;	/* {1,-1} nada */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
};

#define zx_NEW_dap_Delete(c, father) (struct zx_dap_Delete_s*)zx_new_elem((c),(father),zx_dap_Delete_ELEM)
int zx_DEC_ATTR_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x);
int zx_DEC_ELEM_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Delete_s* zx_DEEP_CLONE_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x, int dup_strs);
void zx_DUP_STRS_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x);
int zx_WALK_SO_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Delete(struct zx_ctx* c, struct zx_dap_Delete_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Delete_GET_itemID(struct zx_dap_Delete_s* x);

struct zx_lu_Extension_s* zx_dap_Delete_GET_Extension(struct zx_dap_Delete_s* x, int n);
struct zx_dap_DeleteItem_s* zx_dap_Delete_GET_DeleteItem(struct zx_dap_Delete_s* x, int n);

int zx_dap_Delete_NUM_Extension(struct zx_dap_Delete_s* x);
int zx_dap_Delete_NUM_DeleteItem(struct zx_dap_Delete_s* x);

struct zx_lu_Extension_s* zx_dap_Delete_POP_Extension(struct zx_dap_Delete_s* x);
struct zx_dap_DeleteItem_s* zx_dap_Delete_POP_DeleteItem(struct zx_dap_Delete_s* x);

void zx_dap_Delete_PUSH_Extension(struct zx_dap_Delete_s* x, struct zx_lu_Extension_s* y);
void zx_dap_Delete_PUSH_DeleteItem(struct zx_dap_Delete_s* x, struct zx_dap_DeleteItem_s* y);

void zx_dap_Delete_PUT_itemID(struct zx_dap_Delete_s* x, struct zx_attr_s* y);

void zx_dap_Delete_PUT_Extension(struct zx_dap_Delete_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_Delete_PUT_DeleteItem(struct zx_dap_Delete_s* x, int n, struct zx_dap_DeleteItem_s* y);

void zx_dap_Delete_ADD_Extension(struct zx_dap_Delete_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_Delete_ADD_DeleteItem(struct zx_dap_Delete_s* x, int n, struct zx_dap_DeleteItem_s* z);

void zx_dap_Delete_DEL_Extension(struct zx_dap_Delete_s* x, int n);
void zx_dap_Delete_DEL_DeleteItem(struct zx_dap_Delete_s* x, int n);

void zx_dap_Delete_REV_Extension(struct zx_dap_Delete_s* x);
void zx_dap_Delete_REV_DeleteItem(struct zx_dap_Delete_s* x);

#endif
/* -------------------------- dap_DeleteItem -------------------------- */
/* refby( zx_dap_Delete_s ) */
#ifndef zx_dap_DeleteItem_EXT
#define zx_dap_DeleteItem_EXT
#endif
struct zx_dap_DeleteItem_s {
  ZX_ELEM_EXT
  zx_dap_DeleteItem_EXT
  struct zx_dap_Select_s* Select;	/* {0,1} nada */
  struct zx_attr_s* id;	/* {0,1} attribute xs:ID */
  struct zx_attr_s* notChangedSince;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* objectType;	/* {0,1} attribute xs:NCName */
  struct zx_attr_s* predefined;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_DeleteItem(c, father) (struct zx_dap_DeleteItem_s*)zx_new_elem((c),(father),zx_dap_DeleteItem_ELEM)
int zx_DEC_ATTR_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x);
int zx_DEC_ELEM_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_DeleteItem_s* zx_DEEP_CLONE_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x, int dup_strs);
void zx_DUP_STRS_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x);
int zx_WALK_SO_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_DeleteItem(struct zx_ctx* c, struct zx_dap_DeleteItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_DeleteItem_GET_id(struct zx_dap_DeleteItem_s* x);
struct zx_attr_s* zx_dap_DeleteItem_GET_notChangedSince(struct zx_dap_DeleteItem_s* x);
struct zx_attr_s* zx_dap_DeleteItem_GET_itemID(struct zx_dap_DeleteItem_s* x);
struct zx_attr_s* zx_dap_DeleteItem_GET_objectType(struct zx_dap_DeleteItem_s* x);
struct zx_attr_s* zx_dap_DeleteItem_GET_predefined(struct zx_dap_DeleteItem_s* x);

struct zx_dap_Select_s* zx_dap_DeleteItem_GET_Select(struct zx_dap_DeleteItem_s* x, int n);

int zx_dap_DeleteItem_NUM_Select(struct zx_dap_DeleteItem_s* x);

struct zx_dap_Select_s* zx_dap_DeleteItem_POP_Select(struct zx_dap_DeleteItem_s* x);

void zx_dap_DeleteItem_PUSH_Select(struct zx_dap_DeleteItem_s* x, struct zx_dap_Select_s* y);

void zx_dap_DeleteItem_PUT_id(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y);
void zx_dap_DeleteItem_PUT_notChangedSince(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y);
void zx_dap_DeleteItem_PUT_itemID(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y);
void zx_dap_DeleteItem_PUT_objectType(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y);
void zx_dap_DeleteItem_PUT_predefined(struct zx_dap_DeleteItem_s* x, struct zx_attr_s* y);

void zx_dap_DeleteItem_PUT_Select(struct zx_dap_DeleteItem_s* x, int n, struct zx_dap_Select_s* y);

void zx_dap_DeleteItem_ADD_Select(struct zx_dap_DeleteItem_s* x, int n, struct zx_dap_Select_s* z);

void zx_dap_DeleteItem_DEL_Select(struct zx_dap_DeleteItem_s* x, int n);

void zx_dap_DeleteItem_REV_Select(struct zx_dap_DeleteItem_s* x);

#endif
/* -------------------------- dap_DeleteResponse -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_DeleteResponse_EXT
#define zx_dap_DeleteResponse_EXT
#endif
struct zx_dap_DeleteResponse_s {
  ZX_ELEM_EXT
  zx_dap_DeleteResponse_EXT
  struct zx_lu_Status_s* Status;	/* {1,1} nada */
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_DeleteResponse(c, father) (struct zx_dap_DeleteResponse_s*)zx_new_elem((c),(father),zx_dap_DeleteResponse_ELEM)
int zx_DEC_ATTR_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x);
int zx_DEC_ELEM_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_DeleteResponse_s* zx_DEEP_CLONE_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x, int dup_strs);
void zx_DUP_STRS_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x);
int zx_WALK_SO_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_DeleteResponse(struct zx_ctx* c, struct zx_dap_DeleteResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_DeleteResponse_GET_itemIDRef(struct zx_dap_DeleteResponse_s* x);

struct zx_lu_Status_s* zx_dap_DeleteResponse_GET_Status(struct zx_dap_DeleteResponse_s* x, int n);
struct zx_lu_Extension_s* zx_dap_DeleteResponse_GET_Extension(struct zx_dap_DeleteResponse_s* x, int n);

int zx_dap_DeleteResponse_NUM_Status(struct zx_dap_DeleteResponse_s* x);
int zx_dap_DeleteResponse_NUM_Extension(struct zx_dap_DeleteResponse_s* x);

struct zx_lu_Status_s* zx_dap_DeleteResponse_POP_Status(struct zx_dap_DeleteResponse_s* x);
struct zx_lu_Extension_s* zx_dap_DeleteResponse_POP_Extension(struct zx_dap_DeleteResponse_s* x);

void zx_dap_DeleteResponse_PUSH_Status(struct zx_dap_DeleteResponse_s* x, struct zx_lu_Status_s* y);
void zx_dap_DeleteResponse_PUSH_Extension(struct zx_dap_DeleteResponse_s* x, struct zx_lu_Extension_s* y);

void zx_dap_DeleteResponse_PUT_itemIDRef(struct zx_dap_DeleteResponse_s* x, struct zx_attr_s* y);

void zx_dap_DeleteResponse_PUT_Status(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Status_s* y);
void zx_dap_DeleteResponse_PUT_Extension(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Extension_s* y);

void zx_dap_DeleteResponse_ADD_Status(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Status_s* z);
void zx_dap_DeleteResponse_ADD_Extension(struct zx_dap_DeleteResponse_s* x, int n, struct zx_lu_Extension_s* z);

void zx_dap_DeleteResponse_DEL_Status(struct zx_dap_DeleteResponse_s* x, int n);
void zx_dap_DeleteResponse_DEL_Extension(struct zx_dap_DeleteResponse_s* x, int n);

void zx_dap_DeleteResponse_REV_Status(struct zx_dap_DeleteResponse_s* x);
void zx_dap_DeleteResponse_REV_Extension(struct zx_dap_DeleteResponse_s* x);

#endif
/* -------------------------- dap_ItemData -------------------------- */
/* refby( zx_dap_ModifyResponse_s zx_dap_CreateResponse_s zx_dap_Notification_s ) */
#ifndef zx_dap_ItemData_EXT
#define zx_dap_ItemData_EXT
#endif
struct zx_dap_ItemData_s {
  ZX_ELEM_EXT
  zx_dap_ItemData_EXT
  struct zx_dap_LDIF_s* LDIF;	/* {0,1} nada */
  struct zx_dap_Subscription_s* Subscription;	/* {0,1} nada */
  struct zx_attr_s* notSorted;	/* {0,1} attribute Now */
  struct zx_attr_s* changeFormat;	/* {0,1} attribute ChangedElements */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
};

#define zx_NEW_dap_ItemData(c, father) (struct zx_dap_ItemData_s*)zx_new_elem((c),(father),zx_dap_ItemData_ELEM)
int zx_DEC_ATTR_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x);
int zx_DEC_ELEM_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_ItemData_s* zx_DEEP_CLONE_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x, int dup_strs);
void zx_DUP_STRS_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x);
int zx_WALK_SO_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_ItemData(struct zx_ctx* c, struct zx_dap_ItemData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_ItemData_GET_notSorted(struct zx_dap_ItemData_s* x);
struct zx_attr_s* zx_dap_ItemData_GET_changeFormat(struct zx_dap_ItemData_s* x);
struct zx_attr_s* zx_dap_ItemData_GET_itemIDRef(struct zx_dap_ItemData_s* x);

struct zx_dap_LDIF_s* zx_dap_ItemData_GET_LDIF(struct zx_dap_ItemData_s* x, int n);
struct zx_dap_Subscription_s* zx_dap_ItemData_GET_Subscription(struct zx_dap_ItemData_s* x, int n);

int zx_dap_ItemData_NUM_LDIF(struct zx_dap_ItemData_s* x);
int zx_dap_ItemData_NUM_Subscription(struct zx_dap_ItemData_s* x);

struct zx_dap_LDIF_s* zx_dap_ItemData_POP_LDIF(struct zx_dap_ItemData_s* x);
struct zx_dap_Subscription_s* zx_dap_ItemData_POP_Subscription(struct zx_dap_ItemData_s* x);

void zx_dap_ItemData_PUSH_LDIF(struct zx_dap_ItemData_s* x, struct zx_dap_LDIF_s* y);
void zx_dap_ItemData_PUSH_Subscription(struct zx_dap_ItemData_s* x, struct zx_dap_Subscription_s* y);

void zx_dap_ItemData_PUT_notSorted(struct zx_dap_ItemData_s* x, struct zx_attr_s* y);
void zx_dap_ItemData_PUT_changeFormat(struct zx_dap_ItemData_s* x, struct zx_attr_s* y);
void zx_dap_ItemData_PUT_itemIDRef(struct zx_dap_ItemData_s* x, struct zx_attr_s* y);

void zx_dap_ItemData_PUT_LDIF(struct zx_dap_ItemData_s* x, int n, struct zx_dap_LDIF_s* y);
void zx_dap_ItemData_PUT_Subscription(struct zx_dap_ItemData_s* x, int n, struct zx_dap_Subscription_s* y);

void zx_dap_ItemData_ADD_LDIF(struct zx_dap_ItemData_s* x, int n, struct zx_dap_LDIF_s* z);
void zx_dap_ItemData_ADD_Subscription(struct zx_dap_ItemData_s* x, int n, struct zx_dap_Subscription_s* z);

void zx_dap_ItemData_DEL_LDIF(struct zx_dap_ItemData_s* x, int n);
void zx_dap_ItemData_DEL_Subscription(struct zx_dap_ItemData_s* x, int n);

void zx_dap_ItemData_REV_LDIF(struct zx_dap_ItemData_s* x);
void zx_dap_ItemData_REV_Subscription(struct zx_dap_ItemData_s* x);

#endif
/* -------------------------- dap_LDIF -------------------------- */
/* refby( zx_dap_NewData_s zx_dap_ItemData_s zx_dap_Data_s ) */
#ifndef zx_dap_LDIF_EXT
#define zx_dap_LDIF_EXT
#endif
struct zx_dap_LDIF_s {
  ZX_ELEM_EXT
  zx_dap_LDIF_EXT
  struct zx_attr_s* lang;	/* {1,1} attribute xs:string */
  struct zx_attr_s* ACC;	/* {0,1} attribute xs:anyURI */
  struct zx_attr_s* ACCTime;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* id;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* modificationTime;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* modifier;	/* {0,1} attribute xs:string */
  struct zx_attr_s* script;	/* {0,1} attribute xs:anyURI */
};

#define zx_NEW_dap_LDIF(c, father) (struct zx_dap_LDIF_s*)zx_new_elem((c),(father),zx_dap_LDIF_ELEM)
int zx_DEC_ATTR_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x);
int zx_DEC_ELEM_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_LDIF_s* zx_DEEP_CLONE_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x, int dup_strs);
void zx_DUP_STRS_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x);
int zx_WALK_SO_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_LDIF(struct zx_ctx* c, struct zx_dap_LDIF_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_LDIF_GET_lang(struct zx_dap_LDIF_s* x);
struct zx_attr_s* zx_dap_LDIF_GET_ACC(struct zx_dap_LDIF_s* x);
struct zx_attr_s* zx_dap_LDIF_GET_ACCTime(struct zx_dap_LDIF_s* x);
struct zx_attr_s* zx_dap_LDIF_GET_id(struct zx_dap_LDIF_s* x);
struct zx_attr_s* zx_dap_LDIF_GET_modificationTime(struct zx_dap_LDIF_s* x);
struct zx_attr_s* zx_dap_LDIF_GET_modifier(struct zx_dap_LDIF_s* x);
struct zx_attr_s* zx_dap_LDIF_GET_script(struct zx_dap_LDIF_s* x);





void zx_dap_LDIF_PUT_lang(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);
void zx_dap_LDIF_PUT_ACC(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);
void zx_dap_LDIF_PUT_ACCTime(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);
void zx_dap_LDIF_PUT_id(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);
void zx_dap_LDIF_PUT_modificationTime(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);
void zx_dap_LDIF_PUT_modifier(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);
void zx_dap_LDIF_PUT_script(struct zx_dap_LDIF_s* x, struct zx_attr_s* y);





#endif
/* -------------------------- dap_Modify -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_Modify_EXT
#define zx_dap_Modify_EXT
#endif
struct zx_dap_Modify_s {
  ZX_ELEM_EXT
  zx_dap_Modify_EXT
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_Subscription_s* Subscription;	/* {0,-1} nada */
  struct zx_dap_ModifyItem_s* ModifyItem;	/* {1,-1} nada */
  struct zx_dap_ResultQuery_s* ResultQuery;	/* {0,-1} nada */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
};

#define zx_NEW_dap_Modify(c, father) (struct zx_dap_Modify_s*)zx_new_elem((c),(father),zx_dap_Modify_ELEM)
int zx_DEC_ATTR_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x);
int zx_DEC_ELEM_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Modify_s* zx_DEEP_CLONE_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x, int dup_strs);
void zx_DUP_STRS_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x);
int zx_WALK_SO_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Modify(struct zx_ctx* c, struct zx_dap_Modify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Modify_GET_itemID(struct zx_dap_Modify_s* x);

struct zx_lu_Extension_s* zx_dap_Modify_GET_Extension(struct zx_dap_Modify_s* x, int n);
struct zx_dap_Subscription_s* zx_dap_Modify_GET_Subscription(struct zx_dap_Modify_s* x, int n);
struct zx_dap_ModifyItem_s* zx_dap_Modify_GET_ModifyItem(struct zx_dap_Modify_s* x, int n);
struct zx_dap_ResultQuery_s* zx_dap_Modify_GET_ResultQuery(struct zx_dap_Modify_s* x, int n);

int zx_dap_Modify_NUM_Extension(struct zx_dap_Modify_s* x);
int zx_dap_Modify_NUM_Subscription(struct zx_dap_Modify_s* x);
int zx_dap_Modify_NUM_ModifyItem(struct zx_dap_Modify_s* x);
int zx_dap_Modify_NUM_ResultQuery(struct zx_dap_Modify_s* x);

struct zx_lu_Extension_s* zx_dap_Modify_POP_Extension(struct zx_dap_Modify_s* x);
struct zx_dap_Subscription_s* zx_dap_Modify_POP_Subscription(struct zx_dap_Modify_s* x);
struct zx_dap_ModifyItem_s* zx_dap_Modify_POP_ModifyItem(struct zx_dap_Modify_s* x);
struct zx_dap_ResultQuery_s* zx_dap_Modify_POP_ResultQuery(struct zx_dap_Modify_s* x);

void zx_dap_Modify_PUSH_Extension(struct zx_dap_Modify_s* x, struct zx_lu_Extension_s* y);
void zx_dap_Modify_PUSH_Subscription(struct zx_dap_Modify_s* x, struct zx_dap_Subscription_s* y);
void zx_dap_Modify_PUSH_ModifyItem(struct zx_dap_Modify_s* x, struct zx_dap_ModifyItem_s* y);
void zx_dap_Modify_PUSH_ResultQuery(struct zx_dap_Modify_s* x, struct zx_dap_ResultQuery_s* y);

void zx_dap_Modify_PUT_itemID(struct zx_dap_Modify_s* x, struct zx_attr_s* y);

void zx_dap_Modify_PUT_Extension(struct zx_dap_Modify_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_Modify_PUT_Subscription(struct zx_dap_Modify_s* x, int n, struct zx_dap_Subscription_s* y);
void zx_dap_Modify_PUT_ModifyItem(struct zx_dap_Modify_s* x, int n, struct zx_dap_ModifyItem_s* y);
void zx_dap_Modify_PUT_ResultQuery(struct zx_dap_Modify_s* x, int n, struct zx_dap_ResultQuery_s* y);

void zx_dap_Modify_ADD_Extension(struct zx_dap_Modify_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_Modify_ADD_Subscription(struct zx_dap_Modify_s* x, int n, struct zx_dap_Subscription_s* z);
void zx_dap_Modify_ADD_ModifyItem(struct zx_dap_Modify_s* x, int n, struct zx_dap_ModifyItem_s* z);
void zx_dap_Modify_ADD_ResultQuery(struct zx_dap_Modify_s* x, int n, struct zx_dap_ResultQuery_s* z);

void zx_dap_Modify_DEL_Extension(struct zx_dap_Modify_s* x, int n);
void zx_dap_Modify_DEL_Subscription(struct zx_dap_Modify_s* x, int n);
void zx_dap_Modify_DEL_ModifyItem(struct zx_dap_Modify_s* x, int n);
void zx_dap_Modify_DEL_ResultQuery(struct zx_dap_Modify_s* x, int n);

void zx_dap_Modify_REV_Extension(struct zx_dap_Modify_s* x);
void zx_dap_Modify_REV_Subscription(struct zx_dap_Modify_s* x);
void zx_dap_Modify_REV_ModifyItem(struct zx_dap_Modify_s* x);
void zx_dap_Modify_REV_ResultQuery(struct zx_dap_Modify_s* x);

#endif
/* -------------------------- dap_ModifyItem -------------------------- */
/* refby( zx_dap_Modify_s ) */
#ifndef zx_dap_ModifyItem_EXT
#define zx_dap_ModifyItem_EXT
#endif
struct zx_dap_ModifyItem_s {
  ZX_ELEM_EXT
  zx_dap_ModifyItem_EXT
  struct zx_dap_Select_s* Select;	/* {0,1} nada */
  struct zx_dap_NewData_s* NewData;	/* {0,1} nada */
  struct zx_attr_s* id;	/* {0,1} attribute xs:ID */
  struct zx_attr_s* notChangedSince;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* overrideAllowed;	/* {0,1} attribute xs:boolean */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* objectType;	/* {0,1} attribute xs:NCName */
  struct zx_attr_s* predefined;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_ModifyItem(c, father) (struct zx_dap_ModifyItem_s*)zx_new_elem((c),(father),zx_dap_ModifyItem_ELEM)
int zx_DEC_ATTR_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x);
int zx_DEC_ELEM_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_ModifyItem_s* zx_DEEP_CLONE_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x, int dup_strs);
void zx_DUP_STRS_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x);
int zx_WALK_SO_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_ModifyItem(struct zx_ctx* c, struct zx_dap_ModifyItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_ModifyItem_GET_id(struct zx_dap_ModifyItem_s* x);
struct zx_attr_s* zx_dap_ModifyItem_GET_notChangedSince(struct zx_dap_ModifyItem_s* x);
struct zx_attr_s* zx_dap_ModifyItem_GET_overrideAllowed(struct zx_dap_ModifyItem_s* x);
struct zx_attr_s* zx_dap_ModifyItem_GET_itemID(struct zx_dap_ModifyItem_s* x);
struct zx_attr_s* zx_dap_ModifyItem_GET_objectType(struct zx_dap_ModifyItem_s* x);
struct zx_attr_s* zx_dap_ModifyItem_GET_predefined(struct zx_dap_ModifyItem_s* x);

struct zx_dap_Select_s* zx_dap_ModifyItem_GET_Select(struct zx_dap_ModifyItem_s* x, int n);
struct zx_dap_NewData_s* zx_dap_ModifyItem_GET_NewData(struct zx_dap_ModifyItem_s* x, int n);

int zx_dap_ModifyItem_NUM_Select(struct zx_dap_ModifyItem_s* x);
int zx_dap_ModifyItem_NUM_NewData(struct zx_dap_ModifyItem_s* x);

struct zx_dap_Select_s* zx_dap_ModifyItem_POP_Select(struct zx_dap_ModifyItem_s* x);
struct zx_dap_NewData_s* zx_dap_ModifyItem_POP_NewData(struct zx_dap_ModifyItem_s* x);

void zx_dap_ModifyItem_PUSH_Select(struct zx_dap_ModifyItem_s* x, struct zx_dap_Select_s* y);
void zx_dap_ModifyItem_PUSH_NewData(struct zx_dap_ModifyItem_s* x, struct zx_dap_NewData_s* y);

void zx_dap_ModifyItem_PUT_id(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y);
void zx_dap_ModifyItem_PUT_notChangedSince(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y);
void zx_dap_ModifyItem_PUT_overrideAllowed(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y);
void zx_dap_ModifyItem_PUT_itemID(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y);
void zx_dap_ModifyItem_PUT_objectType(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y);
void zx_dap_ModifyItem_PUT_predefined(struct zx_dap_ModifyItem_s* x, struct zx_attr_s* y);

void zx_dap_ModifyItem_PUT_Select(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_Select_s* y);
void zx_dap_ModifyItem_PUT_NewData(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_NewData_s* y);

void zx_dap_ModifyItem_ADD_Select(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_Select_s* z);
void zx_dap_ModifyItem_ADD_NewData(struct zx_dap_ModifyItem_s* x, int n, struct zx_dap_NewData_s* z);

void zx_dap_ModifyItem_DEL_Select(struct zx_dap_ModifyItem_s* x, int n);
void zx_dap_ModifyItem_DEL_NewData(struct zx_dap_ModifyItem_s* x, int n);

void zx_dap_ModifyItem_REV_Select(struct zx_dap_ModifyItem_s* x);
void zx_dap_ModifyItem_REV_NewData(struct zx_dap_ModifyItem_s* x);

#endif
/* -------------------------- dap_ModifyResponse -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_ModifyResponse_EXT
#define zx_dap_ModifyResponse_EXT
#endif
struct zx_dap_ModifyResponse_s {
  ZX_ELEM_EXT
  zx_dap_ModifyResponse_EXT
  struct zx_lu_Status_s* Status;	/* {1,1} nada */
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_ItemData_s* ItemData;	/* {0,-1} nada */
  struct zx_attr_s* timeStamp;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
};

#define zx_NEW_dap_ModifyResponse(c, father) (struct zx_dap_ModifyResponse_s*)zx_new_elem((c),(father),zx_dap_ModifyResponse_ELEM)
int zx_DEC_ATTR_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x);
int zx_DEC_ELEM_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_ModifyResponse_s* zx_DEEP_CLONE_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x, int dup_strs);
void zx_DUP_STRS_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x);
int zx_WALK_SO_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_ModifyResponse(struct zx_ctx* c, struct zx_dap_ModifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_ModifyResponse_GET_timeStamp(struct zx_dap_ModifyResponse_s* x);
struct zx_attr_s* zx_dap_ModifyResponse_GET_itemIDRef(struct zx_dap_ModifyResponse_s* x);

struct zx_lu_Status_s* zx_dap_ModifyResponse_GET_Status(struct zx_dap_ModifyResponse_s* x, int n);
struct zx_lu_Extension_s* zx_dap_ModifyResponse_GET_Extension(struct zx_dap_ModifyResponse_s* x, int n);
struct zx_dap_ItemData_s* zx_dap_ModifyResponse_GET_ItemData(struct zx_dap_ModifyResponse_s* x, int n);

int zx_dap_ModifyResponse_NUM_Status(struct zx_dap_ModifyResponse_s* x);
int zx_dap_ModifyResponse_NUM_Extension(struct zx_dap_ModifyResponse_s* x);
int zx_dap_ModifyResponse_NUM_ItemData(struct zx_dap_ModifyResponse_s* x);

struct zx_lu_Status_s* zx_dap_ModifyResponse_POP_Status(struct zx_dap_ModifyResponse_s* x);
struct zx_lu_Extension_s* zx_dap_ModifyResponse_POP_Extension(struct zx_dap_ModifyResponse_s* x);
struct zx_dap_ItemData_s* zx_dap_ModifyResponse_POP_ItemData(struct zx_dap_ModifyResponse_s* x);

void zx_dap_ModifyResponse_PUSH_Status(struct zx_dap_ModifyResponse_s* x, struct zx_lu_Status_s* y);
void zx_dap_ModifyResponse_PUSH_Extension(struct zx_dap_ModifyResponse_s* x, struct zx_lu_Extension_s* y);
void zx_dap_ModifyResponse_PUSH_ItemData(struct zx_dap_ModifyResponse_s* x, struct zx_dap_ItemData_s* y);

void zx_dap_ModifyResponse_PUT_timeStamp(struct zx_dap_ModifyResponse_s* x, struct zx_attr_s* y);
void zx_dap_ModifyResponse_PUT_itemIDRef(struct zx_dap_ModifyResponse_s* x, struct zx_attr_s* y);

void zx_dap_ModifyResponse_PUT_Status(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Status_s* y);
void zx_dap_ModifyResponse_PUT_Extension(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_ModifyResponse_PUT_ItemData(struct zx_dap_ModifyResponse_s* x, int n, struct zx_dap_ItemData_s* y);

void zx_dap_ModifyResponse_ADD_Status(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Status_s* z);
void zx_dap_ModifyResponse_ADD_Extension(struct zx_dap_ModifyResponse_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_ModifyResponse_ADD_ItemData(struct zx_dap_ModifyResponse_s* x, int n, struct zx_dap_ItemData_s* z);

void zx_dap_ModifyResponse_DEL_Status(struct zx_dap_ModifyResponse_s* x, int n);
void zx_dap_ModifyResponse_DEL_Extension(struct zx_dap_ModifyResponse_s* x, int n);
void zx_dap_ModifyResponse_DEL_ItemData(struct zx_dap_ModifyResponse_s* x, int n);

void zx_dap_ModifyResponse_REV_Status(struct zx_dap_ModifyResponse_s* x);
void zx_dap_ModifyResponse_REV_Extension(struct zx_dap_ModifyResponse_s* x);
void zx_dap_ModifyResponse_REV_ItemData(struct zx_dap_ModifyResponse_s* x);

#endif
/* -------------------------- dap_NewData -------------------------- */
/* refby( zx_dap_ModifyItem_s zx_dap_CreateItem_s ) */
#ifndef zx_dap_NewData_EXT
#define zx_dap_NewData_EXT
#endif
struct zx_dap_NewData_s {
  ZX_ELEM_EXT
  zx_dap_NewData_EXT
  struct zx_dap_LDIF_s* LDIF;	/* {0,1} nada */
  struct zx_dap_Subscription_s* Subscription;	/* {0,1} nada */
};

#define zx_NEW_dap_NewData(c, father) (struct zx_dap_NewData_s*)zx_new_elem((c),(father),zx_dap_NewData_ELEM)
int zx_DEC_ATTR_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x);
int zx_DEC_ELEM_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_NewData_s* zx_DEEP_CLONE_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x, int dup_strs);
void zx_DUP_STRS_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x);
int zx_WALK_SO_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_NewData(struct zx_ctx* c, struct zx_dap_NewData_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT

struct zx_dap_LDIF_s* zx_dap_NewData_GET_LDIF(struct zx_dap_NewData_s* x, int n);
struct zx_dap_Subscription_s* zx_dap_NewData_GET_Subscription(struct zx_dap_NewData_s* x, int n);

int zx_dap_NewData_NUM_LDIF(struct zx_dap_NewData_s* x);
int zx_dap_NewData_NUM_Subscription(struct zx_dap_NewData_s* x);

struct zx_dap_LDIF_s* zx_dap_NewData_POP_LDIF(struct zx_dap_NewData_s* x);
struct zx_dap_Subscription_s* zx_dap_NewData_POP_Subscription(struct zx_dap_NewData_s* x);

void zx_dap_NewData_PUSH_LDIF(struct zx_dap_NewData_s* x, struct zx_dap_LDIF_s* y);
void zx_dap_NewData_PUSH_Subscription(struct zx_dap_NewData_s* x, struct zx_dap_Subscription_s* y);


void zx_dap_NewData_PUT_LDIF(struct zx_dap_NewData_s* x, int n, struct zx_dap_LDIF_s* y);
void zx_dap_NewData_PUT_Subscription(struct zx_dap_NewData_s* x, int n, struct zx_dap_Subscription_s* y);

void zx_dap_NewData_ADD_LDIF(struct zx_dap_NewData_s* x, int n, struct zx_dap_LDIF_s* z);
void zx_dap_NewData_ADD_Subscription(struct zx_dap_NewData_s* x, int n, struct zx_dap_Subscription_s* z);

void zx_dap_NewData_DEL_LDIF(struct zx_dap_NewData_s* x, int n);
void zx_dap_NewData_DEL_Subscription(struct zx_dap_NewData_s* x, int n);

void zx_dap_NewData_REV_LDIF(struct zx_dap_NewData_s* x);
void zx_dap_NewData_REV_Subscription(struct zx_dap_NewData_s* x);

#endif
/* -------------------------- dap_Notification -------------------------- */
/* refby( zx_dap_Notify_s ) */
#ifndef zx_dap_Notification_EXT
#define zx_dap_Notification_EXT
#endif
struct zx_dap_Notification_s {
  ZX_ELEM_EXT
  zx_dap_Notification_EXT
  struct zx_lu_TestResult_s* TestResult;	/* {0,-1} nada */
  struct zx_dap_ItemData_s* ItemData;	/* {0,-1} nada */
  struct zx_attr_s* endReason;	/* {0,1} attribute xs:anyURI */
  struct zx_attr_s* expires;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* id;	/* {0,1} attribute xs:ID */
  struct zx_attr_s* subscriptionID;	/* {1,1} attribute xs:string */
};

#define zx_NEW_dap_Notification(c, father) (struct zx_dap_Notification_s*)zx_new_elem((c),(father),zx_dap_Notification_ELEM)
int zx_DEC_ATTR_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x);
int zx_DEC_ELEM_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Notification_s* zx_DEEP_CLONE_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x, int dup_strs);
void zx_DUP_STRS_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x);
int zx_WALK_SO_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Notification(struct zx_ctx* c, struct zx_dap_Notification_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Notification_GET_endReason(struct zx_dap_Notification_s* x);
struct zx_attr_s* zx_dap_Notification_GET_expires(struct zx_dap_Notification_s* x);
struct zx_attr_s* zx_dap_Notification_GET_id(struct zx_dap_Notification_s* x);
struct zx_attr_s* zx_dap_Notification_GET_subscriptionID(struct zx_dap_Notification_s* x);

struct zx_lu_TestResult_s* zx_dap_Notification_GET_TestResult(struct zx_dap_Notification_s* x, int n);
struct zx_dap_ItemData_s* zx_dap_Notification_GET_ItemData(struct zx_dap_Notification_s* x, int n);

int zx_dap_Notification_NUM_TestResult(struct zx_dap_Notification_s* x);
int zx_dap_Notification_NUM_ItemData(struct zx_dap_Notification_s* x);

struct zx_lu_TestResult_s* zx_dap_Notification_POP_TestResult(struct zx_dap_Notification_s* x);
struct zx_dap_ItemData_s* zx_dap_Notification_POP_ItemData(struct zx_dap_Notification_s* x);

void zx_dap_Notification_PUSH_TestResult(struct zx_dap_Notification_s* x, struct zx_lu_TestResult_s* y);
void zx_dap_Notification_PUSH_ItemData(struct zx_dap_Notification_s* x, struct zx_dap_ItemData_s* y);

void zx_dap_Notification_PUT_endReason(struct zx_dap_Notification_s* x, struct zx_attr_s* y);
void zx_dap_Notification_PUT_expires(struct zx_dap_Notification_s* x, struct zx_attr_s* y);
void zx_dap_Notification_PUT_id(struct zx_dap_Notification_s* x, struct zx_attr_s* y);
void zx_dap_Notification_PUT_subscriptionID(struct zx_dap_Notification_s* x, struct zx_attr_s* y);

void zx_dap_Notification_PUT_TestResult(struct zx_dap_Notification_s* x, int n, struct zx_lu_TestResult_s* y);
void zx_dap_Notification_PUT_ItemData(struct zx_dap_Notification_s* x, int n, struct zx_dap_ItemData_s* y);

void zx_dap_Notification_ADD_TestResult(struct zx_dap_Notification_s* x, int n, struct zx_lu_TestResult_s* z);
void zx_dap_Notification_ADD_ItemData(struct zx_dap_Notification_s* x, int n, struct zx_dap_ItemData_s* z);

void zx_dap_Notification_DEL_TestResult(struct zx_dap_Notification_s* x, int n);
void zx_dap_Notification_DEL_ItemData(struct zx_dap_Notification_s* x, int n);

void zx_dap_Notification_REV_TestResult(struct zx_dap_Notification_s* x);
void zx_dap_Notification_REV_ItemData(struct zx_dap_Notification_s* x);

#endif
/* -------------------------- dap_Notify -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_Notify_EXT
#define zx_dap_Notify_EXT
#endif
struct zx_dap_Notify_s {
  ZX_ELEM_EXT
  zx_dap_Notify_EXT
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_Notification_s* Notification;	/* {0,-1} nada */
  struct zx_attr_s* timeStamp;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
};

#define zx_NEW_dap_Notify(c, father) (struct zx_dap_Notify_s*)zx_new_elem((c),(father),zx_dap_Notify_ELEM)
int zx_DEC_ATTR_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x);
int zx_DEC_ELEM_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Notify_s* zx_DEEP_CLONE_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x, int dup_strs);
void zx_DUP_STRS_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x);
int zx_WALK_SO_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Notify(struct zx_ctx* c, struct zx_dap_Notify_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Notify_GET_timeStamp(struct zx_dap_Notify_s* x);
struct zx_attr_s* zx_dap_Notify_GET_itemID(struct zx_dap_Notify_s* x);

struct zx_lu_Extension_s* zx_dap_Notify_GET_Extension(struct zx_dap_Notify_s* x, int n);
struct zx_dap_Notification_s* zx_dap_Notify_GET_Notification(struct zx_dap_Notify_s* x, int n);

int zx_dap_Notify_NUM_Extension(struct zx_dap_Notify_s* x);
int zx_dap_Notify_NUM_Notification(struct zx_dap_Notify_s* x);

struct zx_lu_Extension_s* zx_dap_Notify_POP_Extension(struct zx_dap_Notify_s* x);
struct zx_dap_Notification_s* zx_dap_Notify_POP_Notification(struct zx_dap_Notify_s* x);

void zx_dap_Notify_PUSH_Extension(struct zx_dap_Notify_s* x, struct zx_lu_Extension_s* y);
void zx_dap_Notify_PUSH_Notification(struct zx_dap_Notify_s* x, struct zx_dap_Notification_s* y);

void zx_dap_Notify_PUT_timeStamp(struct zx_dap_Notify_s* x, struct zx_attr_s* y);
void zx_dap_Notify_PUT_itemID(struct zx_dap_Notify_s* x, struct zx_attr_s* y);

void zx_dap_Notify_PUT_Extension(struct zx_dap_Notify_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_Notify_PUT_Notification(struct zx_dap_Notify_s* x, int n, struct zx_dap_Notification_s* y);

void zx_dap_Notify_ADD_Extension(struct zx_dap_Notify_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_Notify_ADD_Notification(struct zx_dap_Notify_s* x, int n, struct zx_dap_Notification_s* z);

void zx_dap_Notify_DEL_Extension(struct zx_dap_Notify_s* x, int n);
void zx_dap_Notify_DEL_Notification(struct zx_dap_Notify_s* x, int n);

void zx_dap_Notify_REV_Extension(struct zx_dap_Notify_s* x);
void zx_dap_Notify_REV_Notification(struct zx_dap_Notify_s* x);

#endif
/* -------------------------- dap_NotifyResponse -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_NotifyResponse_EXT
#define zx_dap_NotifyResponse_EXT
#endif
struct zx_dap_NotifyResponse_s {
  ZX_ELEM_EXT
  zx_dap_NotifyResponse_EXT
  struct zx_lu_Status_s* Status;	/* {1,1} nada */
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_NotifyResponse(c, father) (struct zx_dap_NotifyResponse_s*)zx_new_elem((c),(father),zx_dap_NotifyResponse_ELEM)
int zx_DEC_ATTR_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x);
int zx_DEC_ELEM_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_NotifyResponse_s* zx_DEEP_CLONE_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x, int dup_strs);
void zx_DUP_STRS_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x);
int zx_WALK_SO_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_NotifyResponse(struct zx_ctx* c, struct zx_dap_NotifyResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_NotifyResponse_GET_itemIDRef(struct zx_dap_NotifyResponse_s* x);

struct zx_lu_Status_s* zx_dap_NotifyResponse_GET_Status(struct zx_dap_NotifyResponse_s* x, int n);
struct zx_lu_Extension_s* zx_dap_NotifyResponse_GET_Extension(struct zx_dap_NotifyResponse_s* x, int n);

int zx_dap_NotifyResponse_NUM_Status(struct zx_dap_NotifyResponse_s* x);
int zx_dap_NotifyResponse_NUM_Extension(struct zx_dap_NotifyResponse_s* x);

struct zx_lu_Status_s* zx_dap_NotifyResponse_POP_Status(struct zx_dap_NotifyResponse_s* x);
struct zx_lu_Extension_s* zx_dap_NotifyResponse_POP_Extension(struct zx_dap_NotifyResponse_s* x);

void zx_dap_NotifyResponse_PUSH_Status(struct zx_dap_NotifyResponse_s* x, struct zx_lu_Status_s* y);
void zx_dap_NotifyResponse_PUSH_Extension(struct zx_dap_NotifyResponse_s* x, struct zx_lu_Extension_s* y);

void zx_dap_NotifyResponse_PUT_itemIDRef(struct zx_dap_NotifyResponse_s* x, struct zx_attr_s* y);

void zx_dap_NotifyResponse_PUT_Status(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Status_s* y);
void zx_dap_NotifyResponse_PUT_Extension(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Extension_s* y);

void zx_dap_NotifyResponse_ADD_Status(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Status_s* z);
void zx_dap_NotifyResponse_ADD_Extension(struct zx_dap_NotifyResponse_s* x, int n, struct zx_lu_Extension_s* z);

void zx_dap_NotifyResponse_DEL_Status(struct zx_dap_NotifyResponse_s* x, int n);
void zx_dap_NotifyResponse_DEL_Extension(struct zx_dap_NotifyResponse_s* x, int n);

void zx_dap_NotifyResponse_REV_Status(struct zx_dap_NotifyResponse_s* x);
void zx_dap_NotifyResponse_REV_Extension(struct zx_dap_NotifyResponse_s* x);

#endif
/* -------------------------- dap_Query -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_Query_EXT
#define zx_dap_Query_EXT
#endif
struct zx_dap_Query_s {
  ZX_ELEM_EXT
  zx_dap_Query_EXT
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_TestItem_s* TestItem;	/* {0,-1} nada */
  struct zx_dap_QueryItem_s* QueryItem;	/* {0,-1} nada */
  struct zx_dap_Subscription_s* Subscription;	/* {0,-1} nada */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
};

#define zx_NEW_dap_Query(c, father) (struct zx_dap_Query_s*)zx_new_elem((c),(father),zx_dap_Query_ELEM)
int zx_DEC_ATTR_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x);
int zx_DEC_ELEM_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Query_s* zx_DEEP_CLONE_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x, int dup_strs);
void zx_DUP_STRS_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x);
int zx_WALK_SO_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Query(struct zx_ctx* c, struct zx_dap_Query_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Query_GET_itemID(struct zx_dap_Query_s* x);

struct zx_lu_Extension_s* zx_dap_Query_GET_Extension(struct zx_dap_Query_s* x, int n);
struct zx_dap_TestItem_s* zx_dap_Query_GET_TestItem(struct zx_dap_Query_s* x, int n);
struct zx_dap_QueryItem_s* zx_dap_Query_GET_QueryItem(struct zx_dap_Query_s* x, int n);
struct zx_dap_Subscription_s* zx_dap_Query_GET_Subscription(struct zx_dap_Query_s* x, int n);

int zx_dap_Query_NUM_Extension(struct zx_dap_Query_s* x);
int zx_dap_Query_NUM_TestItem(struct zx_dap_Query_s* x);
int zx_dap_Query_NUM_QueryItem(struct zx_dap_Query_s* x);
int zx_dap_Query_NUM_Subscription(struct zx_dap_Query_s* x);

struct zx_lu_Extension_s* zx_dap_Query_POP_Extension(struct zx_dap_Query_s* x);
struct zx_dap_TestItem_s* zx_dap_Query_POP_TestItem(struct zx_dap_Query_s* x);
struct zx_dap_QueryItem_s* zx_dap_Query_POP_QueryItem(struct zx_dap_Query_s* x);
struct zx_dap_Subscription_s* zx_dap_Query_POP_Subscription(struct zx_dap_Query_s* x);

void zx_dap_Query_PUSH_Extension(struct zx_dap_Query_s* x, struct zx_lu_Extension_s* y);
void zx_dap_Query_PUSH_TestItem(struct zx_dap_Query_s* x, struct zx_dap_TestItem_s* y);
void zx_dap_Query_PUSH_QueryItem(struct zx_dap_Query_s* x, struct zx_dap_QueryItem_s* y);
void zx_dap_Query_PUSH_Subscription(struct zx_dap_Query_s* x, struct zx_dap_Subscription_s* y);

void zx_dap_Query_PUT_itemID(struct zx_dap_Query_s* x, struct zx_attr_s* y);

void zx_dap_Query_PUT_Extension(struct zx_dap_Query_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_Query_PUT_TestItem(struct zx_dap_Query_s* x, int n, struct zx_dap_TestItem_s* y);
void zx_dap_Query_PUT_QueryItem(struct zx_dap_Query_s* x, int n, struct zx_dap_QueryItem_s* y);
void zx_dap_Query_PUT_Subscription(struct zx_dap_Query_s* x, int n, struct zx_dap_Subscription_s* y);

void zx_dap_Query_ADD_Extension(struct zx_dap_Query_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_Query_ADD_TestItem(struct zx_dap_Query_s* x, int n, struct zx_dap_TestItem_s* z);
void zx_dap_Query_ADD_QueryItem(struct zx_dap_Query_s* x, int n, struct zx_dap_QueryItem_s* z);
void zx_dap_Query_ADD_Subscription(struct zx_dap_Query_s* x, int n, struct zx_dap_Subscription_s* z);

void zx_dap_Query_DEL_Extension(struct zx_dap_Query_s* x, int n);
void zx_dap_Query_DEL_TestItem(struct zx_dap_Query_s* x, int n);
void zx_dap_Query_DEL_QueryItem(struct zx_dap_Query_s* x, int n);
void zx_dap_Query_DEL_Subscription(struct zx_dap_Query_s* x, int n);

void zx_dap_Query_REV_Extension(struct zx_dap_Query_s* x);
void zx_dap_Query_REV_TestItem(struct zx_dap_Query_s* x);
void zx_dap_Query_REV_QueryItem(struct zx_dap_Query_s* x);
void zx_dap_Query_REV_Subscription(struct zx_dap_Query_s* x);

#endif
/* -------------------------- dap_QueryItem -------------------------- */
/* refby( zx_dap_Query_s ) */
#ifndef zx_dap_QueryItem_EXT
#define zx_dap_QueryItem_EXT
#endif
struct zx_dap_QueryItem_s {
  ZX_ELEM_EXT
  zx_dap_QueryItem_EXT
  struct zx_elem_s* ChangeFormat;	/* {0,2} xs:string */
  struct zx_dap_Select_s* Select;	/* {0,1} nada */
  struct zx_elem_s* Sort;	/* {0,1} xs:string */
  struct zx_attr_s* changedSince;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* contingency;	/* {0,1} attribute xs:boolean */
  struct zx_attr_s* count;	/* {0,1} attribute xs:nonNegativeInteger */
  struct zx_attr_s* includeCommonAttributes;	/* {0,1} attribute xs:boolean */
  struct zx_attr_s* offset;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* setID;	/* {0,1} attribute xs:string */
  struct zx_attr_s* setReq;	/* {0,1} attribute Static */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
  struct zx_attr_s* objectType;	/* {0,1} attribute xs:NCName */
  struct zx_attr_s* predefined;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_QueryItem(c, father) (struct zx_dap_QueryItem_s*)zx_new_elem((c),(father),zx_dap_QueryItem_ELEM)
int zx_DEC_ATTR_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x);
int zx_DEC_ELEM_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_QueryItem_s* zx_DEEP_CLONE_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x, int dup_strs);
void zx_DUP_STRS_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x);
int zx_WALK_SO_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_QueryItem(struct zx_ctx* c, struct zx_dap_QueryItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_QueryItem_GET_changedSince(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_contingency(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_count(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_includeCommonAttributes(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_offset(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_setID(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_setReq(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_itemID(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_itemIDRef(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_objectType(struct zx_dap_QueryItem_s* x);
struct zx_attr_s* zx_dap_QueryItem_GET_predefined(struct zx_dap_QueryItem_s* x);

struct zx_elem_s* zx_dap_QueryItem_GET_ChangeFormat(struct zx_dap_QueryItem_s* x, int n);
struct zx_dap_Select_s* zx_dap_QueryItem_GET_Select(struct zx_dap_QueryItem_s* x, int n);
struct zx_elem_s* zx_dap_QueryItem_GET_Sort(struct zx_dap_QueryItem_s* x, int n);

int zx_dap_QueryItem_NUM_ChangeFormat(struct zx_dap_QueryItem_s* x);
int zx_dap_QueryItem_NUM_Select(struct zx_dap_QueryItem_s* x);
int zx_dap_QueryItem_NUM_Sort(struct zx_dap_QueryItem_s* x);

struct zx_elem_s* zx_dap_QueryItem_POP_ChangeFormat(struct zx_dap_QueryItem_s* x);
struct zx_dap_Select_s* zx_dap_QueryItem_POP_Select(struct zx_dap_QueryItem_s* x);
struct zx_elem_s* zx_dap_QueryItem_POP_Sort(struct zx_dap_QueryItem_s* x);

void zx_dap_QueryItem_PUSH_ChangeFormat(struct zx_dap_QueryItem_s* x, struct zx_elem_s* y);
void zx_dap_QueryItem_PUSH_Select(struct zx_dap_QueryItem_s* x, struct zx_dap_Select_s* y);
void zx_dap_QueryItem_PUSH_Sort(struct zx_dap_QueryItem_s* x, struct zx_elem_s* y);

void zx_dap_QueryItem_PUT_changedSince(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_contingency(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_count(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_includeCommonAttributes(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_offset(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_setID(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_setReq(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_itemID(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_itemIDRef(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_objectType(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);
void zx_dap_QueryItem_PUT_predefined(struct zx_dap_QueryItem_s* x, struct zx_attr_s* y);

void zx_dap_QueryItem_PUT_ChangeFormat(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* y);
void zx_dap_QueryItem_PUT_Select(struct zx_dap_QueryItem_s* x, int n, struct zx_dap_Select_s* y);
void zx_dap_QueryItem_PUT_Sort(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* y);

void zx_dap_QueryItem_ADD_ChangeFormat(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* z);
void zx_dap_QueryItem_ADD_Select(struct zx_dap_QueryItem_s* x, int n, struct zx_dap_Select_s* z);
void zx_dap_QueryItem_ADD_Sort(struct zx_dap_QueryItem_s* x, int n, struct zx_elem_s* z);

void zx_dap_QueryItem_DEL_ChangeFormat(struct zx_dap_QueryItem_s* x,int n);
void zx_dap_QueryItem_DEL_Select(struct zx_dap_QueryItem_s* x, int n);
void zx_dap_QueryItem_DEL_Sort(struct zx_dap_QueryItem_s* x,int n);

void zx_dap_QueryItem_REV_ChangeFormat(struct zx_dap_QueryItem_s* x);
void zx_dap_QueryItem_REV_Select(struct zx_dap_QueryItem_s* x);
void zx_dap_QueryItem_REV_Sort(struct zx_dap_QueryItem_s* x);

#endif
/* -------------------------- dap_QueryResponse -------------------------- */
/* refby( zx_e_Body_s ) */
#ifndef zx_dap_QueryResponse_EXT
#define zx_dap_QueryResponse_EXT
#endif
struct zx_dap_QueryResponse_s {
  ZX_ELEM_EXT
  zx_dap_QueryResponse_EXT
  struct zx_lu_Status_s* Status;	/* {1,1} nada */
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dst_TestResult_s* TestResult;	/* {0,-1} nada */
  struct zx_dap_Data_s* Data;	/* {0,-1} nada */
  struct zx_attr_s* timeStamp;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
};

#define zx_NEW_dap_QueryResponse(c, father) (struct zx_dap_QueryResponse_s*)zx_new_elem((c),(father),zx_dap_QueryResponse_ELEM)
int zx_DEC_ATTR_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x);
int zx_DEC_ELEM_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_QueryResponse_s* zx_DEEP_CLONE_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x, int dup_strs);
void zx_DUP_STRS_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x);
int zx_WALK_SO_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_QueryResponse(struct zx_ctx* c, struct zx_dap_QueryResponse_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_QueryResponse_GET_timeStamp(struct zx_dap_QueryResponse_s* x);
struct zx_attr_s* zx_dap_QueryResponse_GET_itemIDRef(struct zx_dap_QueryResponse_s* x);

struct zx_lu_Status_s* zx_dap_QueryResponse_GET_Status(struct zx_dap_QueryResponse_s* x, int n);
struct zx_lu_Extension_s* zx_dap_QueryResponse_GET_Extension(struct zx_dap_QueryResponse_s* x, int n);
struct zx_dst_TestResult_s* zx_dap_QueryResponse_GET_TestResult(struct zx_dap_QueryResponse_s* x, int n);
struct zx_dap_Data_s* zx_dap_QueryResponse_GET_Data(struct zx_dap_QueryResponse_s* x, int n);

int zx_dap_QueryResponse_NUM_Status(struct zx_dap_QueryResponse_s* x);
int zx_dap_QueryResponse_NUM_Extension(struct zx_dap_QueryResponse_s* x);
int zx_dap_QueryResponse_NUM_TestResult(struct zx_dap_QueryResponse_s* x);
int zx_dap_QueryResponse_NUM_Data(struct zx_dap_QueryResponse_s* x);

struct zx_lu_Status_s* zx_dap_QueryResponse_POP_Status(struct zx_dap_QueryResponse_s* x);
struct zx_lu_Extension_s* zx_dap_QueryResponse_POP_Extension(struct zx_dap_QueryResponse_s* x);
struct zx_dst_TestResult_s* zx_dap_QueryResponse_POP_TestResult(struct zx_dap_QueryResponse_s* x);
struct zx_dap_Data_s* zx_dap_QueryResponse_POP_Data(struct zx_dap_QueryResponse_s* x);

void zx_dap_QueryResponse_PUSH_Status(struct zx_dap_QueryResponse_s* x, struct zx_lu_Status_s* y);
void zx_dap_QueryResponse_PUSH_Extension(struct zx_dap_QueryResponse_s* x, struct zx_lu_Extension_s* y);
void zx_dap_QueryResponse_PUSH_TestResult(struct zx_dap_QueryResponse_s* x, struct zx_dst_TestResult_s* y);
void zx_dap_QueryResponse_PUSH_Data(struct zx_dap_QueryResponse_s* x, struct zx_dap_Data_s* y);

void zx_dap_QueryResponse_PUT_timeStamp(struct zx_dap_QueryResponse_s* x, struct zx_attr_s* y);
void zx_dap_QueryResponse_PUT_itemIDRef(struct zx_dap_QueryResponse_s* x, struct zx_attr_s* y);

void zx_dap_QueryResponse_PUT_Status(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Status_s* y);
void zx_dap_QueryResponse_PUT_Extension(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_QueryResponse_PUT_TestResult(struct zx_dap_QueryResponse_s* x, int n, struct zx_dst_TestResult_s* y);
void zx_dap_QueryResponse_PUT_Data(struct zx_dap_QueryResponse_s* x, int n, struct zx_dap_Data_s* y);

void zx_dap_QueryResponse_ADD_Status(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Status_s* z);
void zx_dap_QueryResponse_ADD_Extension(struct zx_dap_QueryResponse_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_QueryResponse_ADD_TestResult(struct zx_dap_QueryResponse_s* x, int n, struct zx_dst_TestResult_s* z);
void zx_dap_QueryResponse_ADD_Data(struct zx_dap_QueryResponse_s* x, int n, struct zx_dap_Data_s* z);

void zx_dap_QueryResponse_DEL_Status(struct zx_dap_QueryResponse_s* x, int n);
void zx_dap_QueryResponse_DEL_Extension(struct zx_dap_QueryResponse_s* x, int n);
void zx_dap_QueryResponse_DEL_TestResult(struct zx_dap_QueryResponse_s* x, int n);
void zx_dap_QueryResponse_DEL_Data(struct zx_dap_QueryResponse_s* x, int n);

void zx_dap_QueryResponse_REV_Status(struct zx_dap_QueryResponse_s* x);
void zx_dap_QueryResponse_REV_Extension(struct zx_dap_QueryResponse_s* x);
void zx_dap_QueryResponse_REV_TestResult(struct zx_dap_QueryResponse_s* x);
void zx_dap_QueryResponse_REV_Data(struct zx_dap_QueryResponse_s* x);

#endif
/* -------------------------- dap_ResultQuery -------------------------- */
/* refby( zx_dap_Create_s zx_dap_Subscription_s zx_dap_Modify_s ) */
#ifndef zx_dap_ResultQuery_EXT
#define zx_dap_ResultQuery_EXT
#endif
struct zx_dap_ResultQuery_s {
  ZX_ELEM_EXT
  zx_dap_ResultQuery_EXT
  struct zx_elem_s* ChangeFormat;	/* {0,2} xs:string */
  struct zx_dap_Select_s* Select;	/* {0,1} nada */
  struct zx_elem_s* Sort;	/* {0,1} xs:string */
  struct zx_attr_s* changedSince;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* contingency;	/* {0,1} attribute xs:boolean */
  struct zx_attr_s* includeCommonAttributes;	/* {0,1} attribute xs:boolean */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* itemIDRef;	/* {0,1} attribute lu:IDReferenceType */
  struct zx_attr_s* objectType;	/* {0,1} attribute xs:NCName */
  struct zx_attr_s* predefined;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_ResultQuery(c, father) (struct zx_dap_ResultQuery_s*)zx_new_elem((c),(father),zx_dap_ResultQuery_ELEM)
int zx_DEC_ATTR_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x);
int zx_DEC_ELEM_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_ResultQuery_s* zx_DEEP_CLONE_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x, int dup_strs);
void zx_DUP_STRS_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x);
int zx_WALK_SO_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_ResultQuery(struct zx_ctx* c, struct zx_dap_ResultQuery_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_ResultQuery_GET_changedSince(struct zx_dap_ResultQuery_s* x);
struct zx_attr_s* zx_dap_ResultQuery_GET_contingency(struct zx_dap_ResultQuery_s* x);
struct zx_attr_s* zx_dap_ResultQuery_GET_includeCommonAttributes(struct zx_dap_ResultQuery_s* x);
struct zx_attr_s* zx_dap_ResultQuery_GET_itemID(struct zx_dap_ResultQuery_s* x);
struct zx_attr_s* zx_dap_ResultQuery_GET_itemIDRef(struct zx_dap_ResultQuery_s* x);
struct zx_attr_s* zx_dap_ResultQuery_GET_objectType(struct zx_dap_ResultQuery_s* x);
struct zx_attr_s* zx_dap_ResultQuery_GET_predefined(struct zx_dap_ResultQuery_s* x);

struct zx_elem_s* zx_dap_ResultQuery_GET_ChangeFormat(struct zx_dap_ResultQuery_s* x, int n);
struct zx_dap_Select_s* zx_dap_ResultQuery_GET_Select(struct zx_dap_ResultQuery_s* x, int n);
struct zx_elem_s* zx_dap_ResultQuery_GET_Sort(struct zx_dap_ResultQuery_s* x, int n);

int zx_dap_ResultQuery_NUM_ChangeFormat(struct zx_dap_ResultQuery_s* x);
int zx_dap_ResultQuery_NUM_Select(struct zx_dap_ResultQuery_s* x);
int zx_dap_ResultQuery_NUM_Sort(struct zx_dap_ResultQuery_s* x);

struct zx_elem_s* zx_dap_ResultQuery_POP_ChangeFormat(struct zx_dap_ResultQuery_s* x);
struct zx_dap_Select_s* zx_dap_ResultQuery_POP_Select(struct zx_dap_ResultQuery_s* x);
struct zx_elem_s* zx_dap_ResultQuery_POP_Sort(struct zx_dap_ResultQuery_s* x);

void zx_dap_ResultQuery_PUSH_ChangeFormat(struct zx_dap_ResultQuery_s* x, struct zx_elem_s* y);
void zx_dap_ResultQuery_PUSH_Select(struct zx_dap_ResultQuery_s* x, struct zx_dap_Select_s* y);
void zx_dap_ResultQuery_PUSH_Sort(struct zx_dap_ResultQuery_s* x, struct zx_elem_s* y);

void zx_dap_ResultQuery_PUT_changedSince(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);
void zx_dap_ResultQuery_PUT_contingency(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);
void zx_dap_ResultQuery_PUT_includeCommonAttributes(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);
void zx_dap_ResultQuery_PUT_itemID(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);
void zx_dap_ResultQuery_PUT_itemIDRef(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);
void zx_dap_ResultQuery_PUT_objectType(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);
void zx_dap_ResultQuery_PUT_predefined(struct zx_dap_ResultQuery_s* x, struct zx_attr_s* y);

void zx_dap_ResultQuery_PUT_ChangeFormat(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* y);
void zx_dap_ResultQuery_PUT_Select(struct zx_dap_ResultQuery_s* x, int n, struct zx_dap_Select_s* y);
void zx_dap_ResultQuery_PUT_Sort(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* y);

void zx_dap_ResultQuery_ADD_ChangeFormat(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* z);
void zx_dap_ResultQuery_ADD_Select(struct zx_dap_ResultQuery_s* x, int n, struct zx_dap_Select_s* z);
void zx_dap_ResultQuery_ADD_Sort(struct zx_dap_ResultQuery_s* x, int n, struct zx_elem_s* z);

void zx_dap_ResultQuery_DEL_ChangeFormat(struct zx_dap_ResultQuery_s* x,int n);
void zx_dap_ResultQuery_DEL_Select(struct zx_dap_ResultQuery_s* x, int n);
void zx_dap_ResultQuery_DEL_Sort(struct zx_dap_ResultQuery_s* x,int n);

void zx_dap_ResultQuery_REV_ChangeFormat(struct zx_dap_ResultQuery_s* x);
void zx_dap_ResultQuery_REV_Select(struct zx_dap_ResultQuery_s* x);
void zx_dap_ResultQuery_REV_Sort(struct zx_dap_ResultQuery_s* x);

#endif
/* -------------------------- dap_Select -------------------------- */
/* refby( zx_dap_ResultQuery_s zx_dap_ModifyItem_s zx_dap_DeleteItem_s zx_dap_QueryItem_s ) */
#ifndef zx_dap_Select_EXT
#define zx_dap_Select_EXT
#endif
struct zx_dap_Select_s {
  ZX_ELEM_EXT
  zx_dap_Select_EXT
  struct zx_elem_s* dn;	/* {0,1} xs:string */
  struct zx_elem_s* filter;	/* {0,1} xs:string */
  struct zx_attr_s* attributes;	/* {0,1} attribute xs:string */
  struct zx_attr_s* derefaliases;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* scope;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* sizelimit;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* timelimit;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* typesonly;	/* {0,1} attribute xs:boolean */
};

#define zx_NEW_dap_Select(c, father) (struct zx_dap_Select_s*)zx_new_elem((c),(father),zx_dap_Select_ELEM)
int zx_DEC_ATTR_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x);
int zx_DEC_ELEM_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Select_s* zx_DEEP_CLONE_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x, int dup_strs);
void zx_DUP_STRS_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x);
int zx_WALK_SO_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Select(struct zx_ctx* c, struct zx_dap_Select_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Select_GET_attributes(struct zx_dap_Select_s* x);
struct zx_attr_s* zx_dap_Select_GET_derefaliases(struct zx_dap_Select_s* x);
struct zx_attr_s* zx_dap_Select_GET_scope(struct zx_dap_Select_s* x);
struct zx_attr_s* zx_dap_Select_GET_sizelimit(struct zx_dap_Select_s* x);
struct zx_attr_s* zx_dap_Select_GET_timelimit(struct zx_dap_Select_s* x);
struct zx_attr_s* zx_dap_Select_GET_typesonly(struct zx_dap_Select_s* x);

struct zx_elem_s* zx_dap_Select_GET_dn(struct zx_dap_Select_s* x, int n);
struct zx_elem_s* zx_dap_Select_GET_filter(struct zx_dap_Select_s* x, int n);

int zx_dap_Select_NUM_dn(struct zx_dap_Select_s* x);
int zx_dap_Select_NUM_filter(struct zx_dap_Select_s* x);

struct zx_elem_s* zx_dap_Select_POP_dn(struct zx_dap_Select_s* x);
struct zx_elem_s* zx_dap_Select_POP_filter(struct zx_dap_Select_s* x);

void zx_dap_Select_PUSH_dn(struct zx_dap_Select_s* x, struct zx_elem_s* y);
void zx_dap_Select_PUSH_filter(struct zx_dap_Select_s* x, struct zx_elem_s* y);

void zx_dap_Select_PUT_attributes(struct zx_dap_Select_s* x, struct zx_attr_s* y);
void zx_dap_Select_PUT_derefaliases(struct zx_dap_Select_s* x, struct zx_attr_s* y);
void zx_dap_Select_PUT_scope(struct zx_dap_Select_s* x, struct zx_attr_s* y);
void zx_dap_Select_PUT_sizelimit(struct zx_dap_Select_s* x, struct zx_attr_s* y);
void zx_dap_Select_PUT_timelimit(struct zx_dap_Select_s* x, struct zx_attr_s* y);
void zx_dap_Select_PUT_typesonly(struct zx_dap_Select_s* x, struct zx_attr_s* y);

void zx_dap_Select_PUT_dn(struct zx_dap_Select_s* x, int n, struct zx_elem_s* y);
void zx_dap_Select_PUT_filter(struct zx_dap_Select_s* x, int n, struct zx_elem_s* y);

void zx_dap_Select_ADD_dn(struct zx_dap_Select_s* x, int n, struct zx_elem_s* z);
void zx_dap_Select_ADD_filter(struct zx_dap_Select_s* x, int n, struct zx_elem_s* z);

void zx_dap_Select_DEL_dn(struct zx_dap_Select_s* x,int n);
void zx_dap_Select_DEL_filter(struct zx_dap_Select_s* x,int n);

void zx_dap_Select_REV_dn(struct zx_dap_Select_s* x);
void zx_dap_Select_REV_filter(struct zx_dap_Select_s* x);

#endif
/* -------------------------- dap_Subscription -------------------------- */
/* refby( zx_dap_Create_s zx_dap_NewData_s zx_dap_ItemData_s zx_dap_Data_s zx_dap_Query_s zx_dap_Modify_s ) */
#ifndef zx_dap_Subscription_EXT
#define zx_dap_Subscription_EXT
#endif
struct zx_dap_Subscription_s {
  ZX_ELEM_EXT
  zx_dap_Subscription_EXT
  struct zx_subs_RefItem_s* RefItem;	/* {0,-1} nada */
  struct zx_lu_Extension_s* Extension;	/* {0,-1}  */
  struct zx_dap_ResultQuery_s* ResultQuery;	/* {0,-1} nada */
  struct zx_elem_s* Aggregation;	/* {0,1} xs:string */
  struct zx_elem_s* Trigger;	/* {0,1} xs:string */
  struct zx_attr_s* adminNotifyToRef;	/* {0,1} attribute xs:anyURI */
  struct zx_attr_s* expires;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* id;	/* {0,1} attribute xs:ID */
  struct zx_attr_s* includeData;	/* {0,1} attribute Yes */
  struct zx_attr_s* notifyToRef;	/* {1,1} attribute xs:anyURI */
  struct zx_attr_s* starts;	/* {0,1} attribute xs:dateTime */
  struct zx_attr_s* subscriptionID;	/* {1,1} attribute xs:string */
};

#define zx_NEW_dap_Subscription(c, father) (struct zx_dap_Subscription_s*)zx_new_elem((c),(father),zx_dap_Subscription_ELEM)
int zx_DEC_ATTR_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x);
int zx_DEC_ELEM_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_Subscription_s* zx_DEEP_CLONE_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x, int dup_strs);
void zx_DUP_STRS_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x);
int zx_WALK_SO_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_Subscription(struct zx_ctx* c, struct zx_dap_Subscription_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_Subscription_GET_adminNotifyToRef(struct zx_dap_Subscription_s* x);
struct zx_attr_s* zx_dap_Subscription_GET_expires(struct zx_dap_Subscription_s* x);
struct zx_attr_s* zx_dap_Subscription_GET_id(struct zx_dap_Subscription_s* x);
struct zx_attr_s* zx_dap_Subscription_GET_includeData(struct zx_dap_Subscription_s* x);
struct zx_attr_s* zx_dap_Subscription_GET_notifyToRef(struct zx_dap_Subscription_s* x);
struct zx_attr_s* zx_dap_Subscription_GET_starts(struct zx_dap_Subscription_s* x);
struct zx_attr_s* zx_dap_Subscription_GET_subscriptionID(struct zx_dap_Subscription_s* x);

struct zx_subs_RefItem_s* zx_dap_Subscription_GET_RefItem(struct zx_dap_Subscription_s* x, int n);
struct zx_lu_Extension_s* zx_dap_Subscription_GET_Extension(struct zx_dap_Subscription_s* x, int n);
struct zx_dap_ResultQuery_s* zx_dap_Subscription_GET_ResultQuery(struct zx_dap_Subscription_s* x, int n);
struct zx_elem_s* zx_dap_Subscription_GET_Aggregation(struct zx_dap_Subscription_s* x, int n);
struct zx_elem_s* zx_dap_Subscription_GET_Trigger(struct zx_dap_Subscription_s* x, int n);

int zx_dap_Subscription_NUM_RefItem(struct zx_dap_Subscription_s* x);
int zx_dap_Subscription_NUM_Extension(struct zx_dap_Subscription_s* x);
int zx_dap_Subscription_NUM_ResultQuery(struct zx_dap_Subscription_s* x);
int zx_dap_Subscription_NUM_Aggregation(struct zx_dap_Subscription_s* x);
int zx_dap_Subscription_NUM_Trigger(struct zx_dap_Subscription_s* x);

struct zx_subs_RefItem_s* zx_dap_Subscription_POP_RefItem(struct zx_dap_Subscription_s* x);
struct zx_lu_Extension_s* zx_dap_Subscription_POP_Extension(struct zx_dap_Subscription_s* x);
struct zx_dap_ResultQuery_s* zx_dap_Subscription_POP_ResultQuery(struct zx_dap_Subscription_s* x);
struct zx_elem_s* zx_dap_Subscription_POP_Aggregation(struct zx_dap_Subscription_s* x);
struct zx_elem_s* zx_dap_Subscription_POP_Trigger(struct zx_dap_Subscription_s* x);

void zx_dap_Subscription_PUSH_RefItem(struct zx_dap_Subscription_s* x, struct zx_subs_RefItem_s* y);
void zx_dap_Subscription_PUSH_Extension(struct zx_dap_Subscription_s* x, struct zx_lu_Extension_s* y);
void zx_dap_Subscription_PUSH_ResultQuery(struct zx_dap_Subscription_s* x, struct zx_dap_ResultQuery_s* y);
void zx_dap_Subscription_PUSH_Aggregation(struct zx_dap_Subscription_s* x, struct zx_elem_s* y);
void zx_dap_Subscription_PUSH_Trigger(struct zx_dap_Subscription_s* x, struct zx_elem_s* y);

void zx_dap_Subscription_PUT_adminNotifyToRef(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);
void zx_dap_Subscription_PUT_expires(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);
void zx_dap_Subscription_PUT_id(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);
void zx_dap_Subscription_PUT_includeData(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);
void zx_dap_Subscription_PUT_notifyToRef(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);
void zx_dap_Subscription_PUT_starts(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);
void zx_dap_Subscription_PUT_subscriptionID(struct zx_dap_Subscription_s* x, struct zx_attr_s* y);

void zx_dap_Subscription_PUT_RefItem(struct zx_dap_Subscription_s* x, int n, struct zx_subs_RefItem_s* y);
void zx_dap_Subscription_PUT_Extension(struct zx_dap_Subscription_s* x, int n, struct zx_lu_Extension_s* y);
void zx_dap_Subscription_PUT_ResultQuery(struct zx_dap_Subscription_s* x, int n, struct zx_dap_ResultQuery_s* y);
void zx_dap_Subscription_PUT_Aggregation(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* y);
void zx_dap_Subscription_PUT_Trigger(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* y);

void zx_dap_Subscription_ADD_RefItem(struct zx_dap_Subscription_s* x, int n, struct zx_subs_RefItem_s* z);
void zx_dap_Subscription_ADD_Extension(struct zx_dap_Subscription_s* x, int n, struct zx_lu_Extension_s* z);
void zx_dap_Subscription_ADD_ResultQuery(struct zx_dap_Subscription_s* x, int n, struct zx_dap_ResultQuery_s* z);
void zx_dap_Subscription_ADD_Aggregation(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* z);
void zx_dap_Subscription_ADD_Trigger(struct zx_dap_Subscription_s* x, int n, struct zx_elem_s* z);

void zx_dap_Subscription_DEL_RefItem(struct zx_dap_Subscription_s* x, int n);
void zx_dap_Subscription_DEL_Extension(struct zx_dap_Subscription_s* x, int n);
void zx_dap_Subscription_DEL_ResultQuery(struct zx_dap_Subscription_s* x, int n);
void zx_dap_Subscription_DEL_Aggregation(struct zx_dap_Subscription_s* x,int n);
void zx_dap_Subscription_DEL_Trigger(struct zx_dap_Subscription_s* x,int n);

void zx_dap_Subscription_REV_RefItem(struct zx_dap_Subscription_s* x);
void zx_dap_Subscription_REV_Extension(struct zx_dap_Subscription_s* x);
void zx_dap_Subscription_REV_ResultQuery(struct zx_dap_Subscription_s* x);
void zx_dap_Subscription_REV_Aggregation(struct zx_dap_Subscription_s* x);
void zx_dap_Subscription_REV_Trigger(struct zx_dap_Subscription_s* x);

#endif
/* -------------------------- dap_TestItem -------------------------- */
/* refby( zx_dap_Query_s ) */
#ifndef zx_dap_TestItem_EXT
#define zx_dap_TestItem_EXT
#endif
struct zx_dap_TestItem_s {
  ZX_ELEM_EXT
  zx_dap_TestItem_EXT
  struct zx_dap_TestOp_s* TestOp;	/* {0,1}  */
  struct zx_attr_s* id;	/* {0,1} attribute xs:ID */
  struct zx_attr_s* itemID;	/* {0,1} attribute lu:IDType */
  struct zx_attr_s* objectType;	/* {0,1} attribute xs:NCName */
  struct zx_attr_s* predefined;	/* {0,1} attribute xs:string */
};

#define zx_NEW_dap_TestItem(c, father) (struct zx_dap_TestItem_s*)zx_new_elem((c),(father),zx_dap_TestItem_ELEM)
int zx_DEC_ATTR_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x);
int zx_DEC_ELEM_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_TestItem_s* zx_DEEP_CLONE_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x, int dup_strs);
void zx_DUP_STRS_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x);
int zx_WALK_SO_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_TestItem(struct zx_ctx* c, struct zx_dap_TestItem_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_TestItem_GET_id(struct zx_dap_TestItem_s* x);
struct zx_attr_s* zx_dap_TestItem_GET_itemID(struct zx_dap_TestItem_s* x);
struct zx_attr_s* zx_dap_TestItem_GET_objectType(struct zx_dap_TestItem_s* x);
struct zx_attr_s* zx_dap_TestItem_GET_predefined(struct zx_dap_TestItem_s* x);

struct zx_dap_TestOp_s* zx_dap_TestItem_GET_TestOp(struct zx_dap_TestItem_s* x, int n);

int zx_dap_TestItem_NUM_TestOp(struct zx_dap_TestItem_s* x);

struct zx_dap_TestOp_s* zx_dap_TestItem_POP_TestOp(struct zx_dap_TestItem_s* x);

void zx_dap_TestItem_PUSH_TestOp(struct zx_dap_TestItem_s* x, struct zx_dap_TestOp_s* y);

void zx_dap_TestItem_PUT_id(struct zx_dap_TestItem_s* x, struct zx_attr_s* y);
void zx_dap_TestItem_PUT_itemID(struct zx_dap_TestItem_s* x, struct zx_attr_s* y);
void zx_dap_TestItem_PUT_objectType(struct zx_dap_TestItem_s* x, struct zx_attr_s* y);
void zx_dap_TestItem_PUT_predefined(struct zx_dap_TestItem_s* x, struct zx_attr_s* y);

void zx_dap_TestItem_PUT_TestOp(struct zx_dap_TestItem_s* x, int n, struct zx_dap_TestOp_s* y);

void zx_dap_TestItem_ADD_TestOp(struct zx_dap_TestItem_s* x, int n, struct zx_dap_TestOp_s* z);

void zx_dap_TestItem_DEL_TestOp(struct zx_dap_TestItem_s* x, int n);

void zx_dap_TestItem_REV_TestOp(struct zx_dap_TestItem_s* x);

#endif
/* -------------------------- dap_TestOp -------------------------- */
/* refby( zx_dap_TestItem_s ) */
#ifndef zx_dap_TestOp_EXT
#define zx_dap_TestOp_EXT
#endif
struct zx_dap_TestOp_s {
  ZX_ELEM_EXT
  zx_dap_TestOp_EXT
  struct zx_elem_s* dn;	/* {0,1} xs:string */
  struct zx_elem_s* filter;	/* {0,1} xs:string */
  struct zx_attr_s* attributes;	/* {0,1} attribute xs:string */
  struct zx_attr_s* derefaliases;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* scope;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* sizelimit;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* timelimit;	/* {0,1} attribute xs:integer */
  struct zx_attr_s* typesonly;	/* {0,1} attribute xs:boolean */
};

#define zx_NEW_dap_TestOp(c, father) (struct zx_dap_TestOp_s*)zx_new_elem((c),(father),zx_dap_TestOp_ELEM)
int zx_DEC_ATTR_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x);
int zx_DEC_ELEM_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x);

#ifdef ZX_ENA_AUX
struct zx_dap_TestOp_s* zx_DEEP_CLONE_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x, int dup_strs);
void zx_DUP_STRS_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x);
int zx_WALK_SO_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
int zx_WALK_WO_dap_TestOp(struct zx_ctx* c, struct zx_dap_TestOp_s* x, void* ctx, int (*callback)(struct zx_node_s* node, void* ctx));
#endif

#ifdef ZX_ENA_GETPUT
struct zx_attr_s* zx_dap_TestOp_GET_attributes(struct zx_dap_TestOp_s* x);
struct zx_attr_s* zx_dap_TestOp_GET_derefaliases(struct zx_dap_TestOp_s* x);
struct zx_attr_s* zx_dap_TestOp_GET_scope(struct zx_dap_TestOp_s* x);
struct zx_attr_s* zx_dap_TestOp_GET_sizelimit(struct zx_dap_TestOp_s* x);
struct zx_attr_s* zx_dap_TestOp_GET_timelimit(struct zx_dap_TestOp_s* x);
struct zx_attr_s* zx_dap_TestOp_GET_typesonly(struct zx_dap_TestOp_s* x);

struct zx_elem_s* zx_dap_TestOp_GET_dn(struct zx_dap_TestOp_s* x, int n);
struct zx_elem_s* zx_dap_TestOp_GET_filter(struct zx_dap_TestOp_s* x, int n);

int zx_dap_TestOp_NUM_dn(struct zx_dap_TestOp_s* x);
int zx_dap_TestOp_NUM_filter(struct zx_dap_TestOp_s* x);

struct zx_elem_s* zx_dap_TestOp_POP_dn(struct zx_dap_TestOp_s* x);
struct zx_elem_s* zx_dap_TestOp_POP_filter(struct zx_dap_TestOp_s* x);

void zx_dap_TestOp_PUSH_dn(struct zx_dap_TestOp_s* x, struct zx_elem_s* y);
void zx_dap_TestOp_PUSH_filter(struct zx_dap_TestOp_s* x, struct zx_elem_s* y);

void zx_dap_TestOp_PUT_attributes(struct zx_dap_TestOp_s* x, struct zx_attr_s* y);
void zx_dap_TestOp_PUT_derefaliases(struct zx_dap_TestOp_s* x, struct zx_attr_s* y);
void zx_dap_TestOp_PUT_scope(struct zx_dap_TestOp_s* x, struct zx_attr_s* y);
void zx_dap_TestOp_PUT_sizelimit(struct zx_dap_TestOp_s* x, struct zx_attr_s* y);
void zx_dap_TestOp_PUT_timelimit(struct zx_dap_TestOp_s* x, struct zx_attr_s* y);
void zx_dap_TestOp_PUT_typesonly(struct zx_dap_TestOp_s* x, struct zx_attr_s* y);

void zx_dap_TestOp_PUT_dn(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* y);
void zx_dap_TestOp_PUT_filter(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* y);

void zx_dap_TestOp_ADD_dn(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* z);
void zx_dap_TestOp_ADD_filter(struct zx_dap_TestOp_s* x, int n, struct zx_elem_s* z);

void zx_dap_TestOp_DEL_dn(struct zx_dap_TestOp_s* x,int n);
void zx_dap_TestOp_DEL_filter(struct zx_dap_TestOp_s* x,int n);

void zx_dap_TestOp_REV_dn(struct zx_dap_TestOp_s* x);
void zx_dap_TestOp_REV_filter(struct zx_dap_TestOp_s* x);

#endif

#endif
