XBinder XML Runtime  XBinder Version 3.0.x
rtXmlCppEncFuncs.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2003-2017 by Objective Systems, Inc.
3  *
4  * This software is furnished under a license and may be used and copied
5  * only in accordance with the terms of such license and with the
6  * inclusion of the above copyright notice. This software or any other
7  * copies thereof may not be provided or otherwise made available to any
8  * other person. No title to and ownership of the software is hereby
9  * transferred.
10  *
11  * The information in this software is subject to change without notice
12  * and should not be construed as a commitment by Objective Systems, Inc.
13  *
14  * PROPRIETARY NOTICE
15  *
16  * This software is an unpublished work subject to a confidentiality agreement
17  * and is protected by copyright and trade secret law. Unauthorized copying,
18  * redistribution or other use of this work is prohibited.
19  *
20  * The above notice of copyright on this source code product does not indicate
21  * any actual or intended publication of such source code.
22  *
23  *****************************************************************************/
29 #ifndef _RTXMLCPPENCFUNCS_H_
30 #define _RTXMLCPPENCFUNCS_H_
31 
32 #include "rtxmlsrc/osrtxml.h"
33 #include "rtxsrc/rtxCppDList.h"
34 #ifdef HAS_STL
35 #include "rtxsrc/rtxCppXmlSTLString.h"
36 #endif
37 
38 class OSXSDAnyTypeClass;
39 class OSRTObjListClass;
40 
51 EXTERNXML int rtXmlCppEncAnyAttr
52 (OSCTXT* pctxt, OSRTObjListClass* pAnyAttrList);
53 
71 EXTERNXML int rtXmlEncAny
72 (OSCTXT* pctxt, OSRTXMLString* pxmlstr,
73  const OSUTF8CHAR* elemName, OSXMLNamespace* pNS);
74 
75 #ifdef HAS_STL
76 
93 EXTERNXML int rtXmlEncAny
94 (OSCTXT* pctxt, OSXMLSTLStringClass* pxmlstr,
95  const OSUTF8CHAR* elemName, OSXMLNamespace* pNS);
96 #endif
97 
111 EXTERNXML int rtXmlCppEncAnyTypeValue
112 (OSCTXT* pctxt, OSXSDAnyTypeClass* pvalue);
113 
130 EXTERNXML int rtXmlCppEncStartElement (OSCTXT* pctxt,
131  const OSUTF8CHAR* elemName,
132  OSXMLNamespace* pNS,
133  OSRTDListClass* pNSAttrs,
134  OSBOOL terminate);
135 
149 EXTERNXML int rtXmlEncString
150 (OSCTXT* pctxt, OSRTXMLString* pxmlstr,
151  const OSUTF8CHAR* elemName, OSXMLNamespace* pNS);
152 
153 #ifdef HAS_STL
154 
167 EXTERNXML int rtXmlEncString
168 (OSCTXT* pctxt, OSXMLSTLStringClass* pxmlstlstr,
169  const OSUTF8CHAR* elemName, OSXMLNamespace* pNS);
170 #endif
171 #endif
EXTERNXML int rtXmlEncString(OSCTXT *pctxt, OSRTXMLString *pxmlstr, const OSUTF8CHAR *elemName, OSXMLNamespace *pNS)
This function encodes a variable of the XSD string type.
EXTERNXML int rtXmlEncAny(OSCTXT *pctxt, OSRTXMLString *pxmlstr, const OSUTF8CHAR *elemName, OSXMLNamespace *pNS)
This function encodes a variable of the XSD any type.
EXTERNXML int rtXmlCppEncAnyAttr(OSCTXT *pctxt, OSRTObjListClass *pAnyAttrList)
This function encodes a variable of the XSD any attribute type.
XML low-level C encode/decode functions.
EXTERNXML int rtXmlCppEncAnyTypeValue(OSCTXT *pctxt, OSXSDAnyTypeClass *pvalue)
This function encodes a variable of the XSD anyType type.
EXTERNXML int rtXmlCppEncStartElement(OSCTXT *pctxt, const OSUTF8CHAR *elemName, OSXMLNamespace *pNS, OSRTDListClass *pNSAttrs, OSBOOL terminate)
This function encodes a start element tag value (<elemName>).