Home > Support > Documentation

rtEXIDecoder.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008 Objective Systems, Inc.
00003  *
00004  * This software is furnished under a license and may be used and copied
00005  * only in accordance with the terms of such license and with the
00006  * inclusion of the above copyright notice. This software or any other
00007  * copies thereof may not be provided or otherwise made available to any
00008  * other person. No title to and ownership of the software is hereby
00009  * transferred.
00010  *
00011  * The information in this software is subject to change without notice
00012  * and should not be construed as a commitment by Objective Systems, Inc.
00013  *
00014  * PROPRIETARY NOTICE
00015  *
00016  * This software is an unpublished work subject to a confidentiality agreement
00017  * and is protected by copyright and trade secret law.  Unauthorized copying,
00018  * redistribution or other use of this work is prohibited.
00019  *
00020  * The above notice of copyright on this source code product does not indicate
00021  * any actual or intended publication of such source code.
00022  *
00023  *****************************************************************************/
00033 #ifndef _RTEXIDECODER_H_
00034 #define _RTEXIDECODER_H_
00035 
00036 #include "rtexisrc/osrtexi.h"
00037 #include "rtexisrc/rtEXIEvent.h"
00038 #include "rtexisrc/rtEXIEventCodeGroup.h"
00039 #include "rtxmlsrc/osrtxml.h"
00040 #include "rtxsrc/rtxArrayList.h"
00041 
00042 #ifdef __cplusplus
00043 extern "C" {
00044 #endif
00045 
00056 EXTERNEXI int rtEXIDecReset (OSCTXT* pctxt);
00057 
00065 EXTERNEXI OSBOOL rtEXIDecHasNext (OSCTXT* pctxt);
00066 
00077 EXTERNEXI int rtEXIDecNextEventType 
00078 (OSCTXT* pctxt, OSEXIEventType* pEventType);
00079     
00101 EXTERNEXI int rtEXIDecAttribute 
00102 (OSCTXT* pctxt, OSXMLFullQName* pqname, const OSUTF8CHAR** ppvalue);
00103     
00121 EXTERNEXI int rtEXIDecQName (OSCTXT* pctxt, OSXMLFullQName* pqname);
00122     
00139 EXTERNEXI int rtEXIDecLocalName (OSCTXT* pctxt, const OSUTF8CHAR** ppname);
00140     
00158 EXTERNEXI int rtEXIDecNamespaceURI (OSCTXT* pctxt, const OSUTF8CHAR** ppNSURI);
00159     
00178 EXTERNEXI int rtEXIDecPrefix 
00179 (OSCTXT* pctxt, const OSUTF8CHAR* uri, const OSUTF8CHAR** ppPrefix);
00180     
00202 EXTERNEXI int rtEXIDecText 
00203 (OSCTXT* pctxt, const OSXMLFullQName* pqname, const OSUTF8CHAR** ppvalue);
00204     
00216 EXTERNEXI int rtEXIDecTextToCharArray 
00217 (OSCTXT* pctxt, const OSUTF8CHAR* target, size_t start, size_t length);
00218     
00226 EXTERNEXI int rtEXIDecTextLength (OSCTXT* pctxt);
00227     
00246 EXTERNEXI int rtEXIDecProcessingInstruction 
00247 (OSCTXT* pctxt, const OSUTF8CHAR** ppTarget, const OSUTF8CHAR** ppData);
00248     
00277 EXTERNEXI int rtEXIDecDocumentType 
00278 (OSCTXT* pctxt, const OSUTF8CHAR** ppName, const OSUTF8CHAR** ppPublic, 
00279  const OSUTF8CHAR** ppSystem, const OSUTF8CHAR** ppText);
00280     
00290 EXTERNEXI int rtEXIDecUIntValue (OSCTXT* pctxt, OSUINT32* pvalue);
00291 
00305 EXTERNEXI int rtEXIDecUTF8Str (OSCTXT* pctxt, OSUTF8CHAR** ppvalue);
00306 
00322 EXTERNEXI int rtEXIDecUTF8Chars 
00323 (OSCTXT* pctxt, OSUTF8CHAR** ppvalue, OSUINT32 nchars);
00324 
00325 #ifdef __cplusplus
00326 }
00327 #endif
00328 
00331 #endif