Value2XML.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef _VALUE_TO_XML_H
00014 
00015 #define _VALUE_TO_XML_H
00016 
00017 #include <support/IByteStream.h>
00018 
00019 #if _SUPPORTS_NAMESPACE
00020 namespace palmos {
00021 namespace xml {
00022 #endif
00023 
00024 status_t ValueToXML (const BNS(::palmos::support::)sptr<BNS(palmos::support::) IByteOutput>& stream,
00025                     const BNS(palmos::support::) SValue &value);
00026 
00027 status_t XMLToValue (const BNS(::palmos::support::)sptr<BNS(palmos::support::) IByteInput>& stream,
00028                         BNS(palmos::support::) SValue &value);
00029 
00030 #if _SUPPORTS_NAMESPACE
00031 } } // palmos::xml
00032 #endif
00033                     
00034 #endif