it_bus_pdk/xml_value_writer.h

00001 #ifndef _IT_BUS_PDK_XML_VALUE_WRITER_H_
00002 #define _IT_BUS_PDK_XML_VALUE_WRITER_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/types.h>
00008 #include <it_bus/api_defines.h>
00009 #include <it_bus/xml_output_stream.h>
00010 #include <it_bus/binary_type.h>
00011 
00012 namespace IT_Bus
00013 {
00014     class IT_BUS_XML_API XMLValueWriter
00015     {
00016       public:
00017 
00018         static void write(
00019             XMLOutputStream & stream,
00020             const String& sz,
00021             XMLOutputStream::EscapeFlags flags = XMLOutputStream::STD_ESCAPES
00022         );
00023 
00024         static void write(
00025             XMLOutputStream & stream,
00026             const Boolean bFlag
00027         );
00028 
00029         static void write(
00030             XMLOutputStream & stream,
00031             const Float number
00032         );
00033 
00034         static void write(
00035             XMLOutputStream & stream,
00036             const Double number
00037         );
00038 
00039         static void write(
00040             XMLOutputStream & stream,
00041             const Int number
00042         );
00043 
00044         static void write(
00045             XMLOutputStream & stream,
00046             const Long number
00047         );
00048 
00049         static void write(
00050             XMLOutputStream & stream,
00051             const Short number
00052         );
00053 
00054         static void write(
00055             XMLOutputStream & stream,
00056             const UInt number
00057         );
00058 
00059         static void write(
00060             XMLOutputStream & stream,
00061             const ULong number
00062         );
00063 
00064         static void write(
00065             XMLOutputStream & stream,
00066             const UShort number
00067         );
00068 
00069         static void write(
00070             XMLOutputStream & stream,
00071             const Byte number
00072         );
00073 
00074         static void write(
00075             XMLOutputStream & stream,
00076             const UByte number
00077         );
00078 
00079         static void write(
00080             XMLOutputStream & stream,
00081             const DateTime & time
00082         );
00083 
00084         static void write(
00085             XMLOutputStream & stream,
00086             const Decimal & fixed
00087         );
00088 
00089         static void write(
00090             XMLOutputStream & stream,
00091             const BinaryInParam & data
00092         );
00093 
00094     private:
00095 
00096         XMLValueWriter() {}
00097 
00098         ~XMLValueWriter() {}
00099 
00100         XMLValueWriter&
00101         operator=(
00102             const XMLValueWriter & rhs
00103         );
00104 
00105         XMLValueWriter(
00106             const XMLValueWriter & rhs
00107         );
00108     };
00109 }
00110 
00111 #endif  

Generated on Thu Sep 7 11:39:38 2006 for Artix by  doxygen 1.4.7