Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

XML_Types.h File Reference

#include "ace/pre.h"
#include "ace/OS.h"
#include "ace/SString.h"
#include "ace/post.h"

Include dependency graph for XML_Types.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define ACEXML_INLINE

Typedefs

typedef ACE_USHORT16 ACEXML_UTF16
typedef ACE_UINT32 ACEXML_UCS4
typedef char ACEXML_UTF8
typedef ACEXML_UTF8 ACEXML_Char
typedef ACE_CString ACEXML_String


Detailed Description

This file collects the type definitions for data types used in ACE XML parser.

Id:
XML_Types.h,v 1.1.1.1 2003/02/21 18:36:32 chad Exp

Author:
Nanbor Wang <nanbor@cs.wustl.edu>

Definition in file XML_Types.h.


Define Documentation

#define ACEXML_INLINE
 

Definition at line 74 of file XML_Types.h.


Typedef Documentation

ACEXML_Char
 

ACEXML_Char only maps to ACEXML_UTF16 when ACE_USES_WCHAR is defined. Here we assume sizeof (wchar_t) is always 2 bytes.

Default XML strings will use UTF-8 encoding. We would like to use the string classes in standard C++ Library here. But they are not very portable yet (as far as I know,) and I'll just use ACE_CString for now, unless UNICODE support is turned on. Notice that you should never convert strings between ACE_CString and ACE_WString using the built-in conversion functions as they only perform simple copy without any encoding conversion.

Definition at line 59 of file XML_Types.h.

Referenced by ACE_TMAIN, ACEXML_Attribute::ACEXML_Attribute, ACEXML_Element_Tree_Name_Node::ACEXML_Element_Tree_Name_Node, ACEXML_InputSource::ACEXML_InputSource, ACEXML_Print_Handler::ACEXML_Print_Handler, ACEXML_SAXException::ACEXML_SAXException, ACEXML_SAXNotRecognizedException::ACEXML_SAXNotRecognizedException, ACEXML_SAXNotSupportedException::ACEXML_SAXNotSupportedException, ACEXML_SAXParseException::ACEXML_SAXParseException, ACEXML_SAXPrint_Handler::ACEXML_SAXPrint_Handler, ACEXML_StrCharStream::ACEXML_StrCharStream, ACEXML_URL_Addr::ACEXML_URL_Addr, ACEXML_Entity_Manager::add_entity, ACEXML_AttributesImpl::addAttribute, ACEXML_URL_Addr::addr_to_string, ACEXML_Svcconf_Handler::characters, ACEXML_DefaultHandler::characters, Basic_Content_Tester::characters, ACEXML_StreamFactory::create_stream, ACEXML_NamespaceSupport::declarePrefix, ACEXML_Base64::decode, ACEXML_StrCharStream::determine_encoding, ACEXML_FileCharStream::determine_encoding, ACEXML_Element_Tree_List_Node::dump, ACEXML_Base64::encode, ACEXML_Svcconf_Handler::endElement, ACEXML_SAXPrint_Handler::endElement, ACEXML_Print_Handler::endElement, ACEXML_SAXPrint_Handler::endPrefixMapping, ACEXML_Print_Handler::endPrefixMapping, ACEXML_StrCharStream::get, ACEXML_Parser::get, ACEXML_HttpCharStream::get, ACEXML_FileCharStream::get, Basic_Content_Tester::get_test_string, ACEXML_AttributesImpl::getIndex, ACEXML_NamespaceSupport::getPrefix, ACEXML_NamespaceSupport::getPrefixes, ACEXML_AttributesImpl::getType, ACEXML_NamespaceSupport::getURI, ACEXML_Debug_DTD_Manager::getValidator, ACEXML_AttributesImpl::getValue, ACEXML_Svcconf_Handler::ignorableWhitespace, ACEXML_SAXPrint_Handler::ignorableWhitespace, ACEXML_Print_Handler::ignorableWhitespace, ACEXML_DefaultHandler::ignorableWhitespace, ACE_Parsed_Info::init_func, ACE_Parsed_Info::init_params, ACEXML_Debug_Element_Builder::insertElement, ACEXML_Debug_Element_Builder::insertMixedElement, ACEXML_SAXParseException::is_a, ACEXML_SAXNotRecognizedException::is_a, ACEXML_SAXNotSupportedException::is_a, ACEXML_SAXException::is_a, ACEXML_Exception::is_a, ACEXML_Parser::is_nonname, ACEXML_Parser::is_whitespace, ACEXML_Parser::is_whitespace_or_equal, ACEXML_AttributesImpl::isDuplicate, ACEXML_Attribute::localName, ACE_Parsed_Info::name, ACEXML_StrCharStream::open, ACEXML_HttpCharStream::open, ACEXML_FileCharStream::open, ACEXML_SAXException::operator=, ACEXML_XMLFilterImpl::parse, ACE_Parsed_Info::path, ACEXML_FileCharStream::peek, ACEXML_SAXPrint_Handler::processingInstruction, ACEXML_Print_Handler::processingInstruction, ACEXML_NamespaceSupport::processName, ACEXML_Attribute::qName, ACEXML_StrCharStream::read, ACEXML_HttpCharStream::read, ACEXML_FileCharStream::read, ACEXML_Entity_Manager::resolve_entity, ACEXML_Element_Tree_Name_Node::set, ACEXML_Attribute::setAttribute, ACEXML_AttributesImpl::setAttribute, ACEXML_Debug_Attribute_Builder::setDefault, ACEXML_Debug_Attributes_Builder::setElement, ACEXML_Debug_Element_Builder::setElementName, ACEXML_InputSource::setEncoding, ACEXML_AttributesImpl::setLocalName, ACEXML_Debug_Attribute_Builder::setName, ACEXML_LocatorImpl::setPublicId, ACEXML_InputSource::setPublicId, ACEXML_AttributesImpl::setQName, ACEXML_LocatorImpl::setSystemId, ACEXML_InputSource::setSystemId, ACEXML_AttributesImpl::setType, ACEXML_AttributesImpl::setURI, ACEXML_AttributesImpl::setValue, ACEXML_SAXPrint_Handler::skippedEntity, ACEXML_Print_Handler::skippedEntity, ACEXML_SAXPrint_Handler::startPrefixMapping, ACEXML_Print_Handler::startPrefixMapping, ACEXML_URL_Addr::string_to_addr, ACEXML_Attribute::type, ACEXML_Print_Handler::unparsedEntityDecl, ACEXML_Attribute::uri, and ACEXML_Attribute::value.

typedef ACE_CString ACEXML_String
 

Definition at line 60 of file XML_Types.h.

Referenced by ACEXML_Entity_Manager::ACEXML_Entity_Manager, ACEXML_NamespaceSupport::ACEXML_NamespaceSupport, ACEXML_Entity_Manager::add_entity, ACEXML_NamespaceSupport::declarePrefix, ACEXML_Debug_Attribute_Builder::dump, ACEXML_NamespaceSupport::getPrefix, ACEXML_NamespaceSupport::getPrefixes, ACEXML_NamespaceSupport::getURI, ACEXML_Debug_Attributes_Builder::insertAttribute, ACEXML_NamespaceSupport::processName, and ACEXML_Entity_Manager::resolve_entity.

typedef ACE_UINT32 ACEXML_UCS4
 

Definition at line 37 of file XML_Types.h.

Referenced by ACEXML_Transcoder::surrogate2ucs4, ACEXML_Transcoder::surrogate2utf8, ACEXML_Transcoder::ucs42utf16, ACEXML_Transcoder::ucs42utf8, ACEXML_Transcoder::utf162ucs4, ACEXML_Transcoder::utf16s2utf8s, ACEXML_Transcoder::utf82ucs4, and ACEXML_Transcoder::utf8s2utf16s.

typedef ACE_USHORT16 ACEXML_UTF16
 

Definition at line 31 of file XML_Types.h.

Referenced by dump_utf16, ACEXML_Transcoder::surrogate2ucs4, ACEXML_Transcoder::surrogate2utf8, ACEXML_Transcoder::ucs42utf16, ACEXML_Transcoder::ucs42utf8, ACEXML_Transcoder::utf162ucs4, ACEXML_Transcoder::utf162utf8, ACEXML_Transcoder::utf16s2utf8s, and ACEXML_Transcoder::utf8s2utf16s.

typedef char ACEXML_UTF8
 

Definition at line 40 of file XML_Types.h.

Referenced by ACEXML_Transcoder::surrogate2utf8, ACEXML_Transcoder::ucs42utf8, ACEXML_Transcoder::utf162utf8, ACEXML_Transcoder::utf16s2utf8s, ACEXML_Transcoder::utf82ucs4, and ACEXML_Transcoder::utf8s2utf16s.


Generated on Mon Jun 16 13:26:14 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002