Home > Support > Documentation

rtEXIDecoder.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2007-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 
00067 EXTERNEXI int rtEXIDecAttribute 
00068 (OSCTXT* pctxt, OSXMLFullQName* pqname, const OSUTF8CHAR** ppvalue);
00069     
00079 EXTERNEXI int rtEXIDecBoolValue (OSCTXT* pctxt, OSBOOL* pvalue);
00080 
00099 EXTERNEXI int rtEXIDec_CH_String_EE
00100 (OSCTXT* pctxt, const OSXMLFullQName* pqname, const OSUTF8CHAR** ppvalue);
00101 
00111 EXTERNEXI int rtEXIDecDate (OSCTXT* pctxt, OSNumDateTime* pvalue);
00112 
00126 EXTERNEXI int rtEXIDecDateString (OSCTXT* pctxt, const OSUTF8CHAR** ppvalue);
00127 
00156 EXTERNEXI int rtEXIDecDocumentType 
00157 (OSCTXT* pctxt, const OSUTF8CHAR** ppName, const OSUTF8CHAR** ppPublic, 
00158  const OSUTF8CHAR** ppSystem, const OSUTF8CHAR** ppText);
00159     
00171 EXTERNEXI int rtEXIDecEventCodePart1 
00172 (OSCTXT* pctxt, OSINT32* ppart, OSUINT32 nbits);
00173 
00181 EXTERNEXI OSBOOL rtEXIDecHasNext (OSCTXT* pctxt);
00182 
00192 EXTERNEXI int rtEXIDecIntValue (OSCTXT* pctxt, OSINT32* pvalue);
00193 
00194 
00211 EXTERNEXI int rtEXIDecLocalName (OSCTXT* pctxt, const OSUTF8CHAR** ppname);
00212     
00230 EXTERNEXI int rtEXIDecNamespaceURI (OSCTXT* pctxt, const OSUTF8CHAR** ppNSURI);
00231     
00243 EXTERNEXI int rtEXIDecNBitUIntValue 
00244 (OSCTXT* pctxt, OSUINT32* pvalue, OSUINT32 nbits);
00245 
00256 EXTERNEXI int rtEXIDecNextEventType 
00257 (OSCTXT* pctxt, OSEXIEventType* pEventType);
00258     
00277 EXTERNEXI int rtEXIDecPrefix 
00278 (OSCTXT* pctxt, const OSUTF8CHAR* uri, const OSUTF8CHAR** ppPrefix);
00279     
00298 EXTERNEXI int rtEXIDecProcessingInstruction 
00299 (OSCTXT* pctxt, const OSUTF8CHAR** ppTarget, const OSUTF8CHAR** ppData);
00300     
00318 EXTERNEXI int rtEXIDecQName (OSCTXT* pctxt, OSXMLFullQName* pqname);
00319     
00330 EXTERNEXI int rtEXIDecReset (OSCTXT* pctxt);
00331 
00353 EXTERNEXI int rtEXIDecString 
00354 (OSCTXT* pctxt, const OSXMLFullQName* pqname, const OSUTF8CHAR** ppvalue);
00355     
00373 EXTERNEXI int rtEXIDecStringCHEvent 
00374 (OSCTXT* pctxt, const OSXMLFullQName* pqname, const OSUTF8CHAR** ppvalue);
00375 
00387 EXTERNEXI int rtEXIDecStringToCharArray 
00388 (OSCTXT* pctxt, const OSUTF8CHAR* target, size_t start, size_t length);
00389     
00397 EXTERNEXI int rtEXIDecStringLength (OSCTXT* pctxt);
00398     
00408 EXTERNEXI int rtEXIDecUIntValue (OSCTXT* pctxt, OSUINT32* pvalue);
00409 
00423 EXTERNEXI int rtEXIDecUTF8Str (OSCTXT* pctxt, OSUTF8CHAR** ppvalue);
00424 
00440 EXTERNEXI int rtEXIDecUTF8Chars 
00441 (OSCTXT* pctxt, OSUTF8CHAR** ppvalue, OSUINT32 nchars);
00442 
00443 #ifdef __cplusplus
00444 }
00445 #endif
00446 
00449 #endif