XBinder XML Runtime  XBinder Version 3.0.x
rtSaxCppStrList.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2003-2022 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  *****************************************************************************/
27 #ifndef _RTSAXCPPSTRLIST_H_
28 #define _RTSAXCPPSTRLIST_H_
29 
30 #ifdef ASN1RT
31 #include "rtxsrc/rtxDList.h"
32 #else
33 #include "rtxsrc/rtxCppDList.h"
34 #endif
35 #include "rtxmlsrc/osrtxml.h"
36 #include "rtxmlsrc/rtSaxCppParser.h"
37 
41 class EXTXMLCLASS OSXMLStrListHandler {
42  inline OSXMLStrListHandler () {}
43  public:
44  EXTXMLMETHOD static int parse
45  (OSCTXT* pctxt, OSRTMEMBUF *pMemBuf, OSRTDList* pStrList);
46 #ifndef ASN1RT
47  EXTXMLMETHOD static int parse
48  (OSCTXT* pctxt, OSRTMEMBUF *pMemBuf, OSRTObjListClass* pStrList,
49  OSBOOL useSTL = FALSE);
50 
51  static int parseSTL
52  (OSCTXT* pctxt, OSRTMEMBUF *pMemBuf, OSRTObjListClass* pStrList)
53  {
54  return parse (pctxt, pMemBuf, pStrList, TRUE);
55  }
56 #endif
57  inline static int match (OSCTXT*) { return 0; }
58 
59 } ;
60 
61 #endif // _RTSAXCPPSTRLIST_H_
62 
OSXMLStrListHandler.
XML low-level C encode/decode functions.