it_bus_pdk/simple_writer.h

00001 #ifndef _IT_BUS_PDK_SIMPLE_WRITER_H_
00002 #define _IT_BUS_PDK_SIMPLE_WRITER_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/complex_type_writer.h>
00008 
00009 namespace IT_Bus
00010 {
00011     class IT_AFC_API SimpleWriter : public ComplexTypeWriter
00012     {
00013       public:
00014 
00015         SimpleWriter(
00016             const String& exception_message = sm_default_message
00017         );
00018 
00019         virtual ~SimpleWriter();
00020 
00021         virtual void 
00022         write_sequence(
00023             const QName & name, 
00024             const SequenceComplexType & data
00025         ) IT_THROW_DECL((SerializationException));
00026 
00027         virtual void 
00028         write_all(
00029             const QName & name, 
00030             const AllComplexType & data
00031         ) IT_THROW_DECL((SerializationException));
00032 
00033         virtual void 
00034         write_choice(
00035             const QName & name, 
00036             const ChoiceComplexType & data
00037         ) IT_THROW_DECL((SerializationException));
00038 
00039         virtual void 
00040         write_simple_content(
00041             const QName & name,
00042             const SimpleContentComplexType & data
00043         ) IT_THROW_DECL((SerializationException));
00044 
00045         virtual void
00046         write_element_list(
00047             const QName & name,
00048             const ElementList& list
00049         ) IT_THROW_DECL((SerializationException));
00050 
00051         virtual void
00052         write_type_list(
00053             const QName & name,
00054             const TypeList& list
00055         ) IT_THROW_DECL((SerializationException));
00056 
00057         virtual void
00058         write_soap_enc_array(
00059             const QName & name,
00060             const SoapEncArray& list
00061         ) IT_THROW_DECL((SerializationException));
00062 
00063         virtual void
00064         write_complex_content(
00065             const QName & name,
00066             const ComplexContentComplexType& data
00067         ) IT_THROW_DECL((SerializationException));
00068         
00069         virtual void
00070         write_any_holder(
00071             const QName& name,
00072             const AnyHolder& nillable
00073         ) IT_THROW_DECL((SerializationException));
00074 
00075         virtual void
00076         write_any(
00077             const QName& name,
00078             const Any&   any
00079         ) IT_THROW_DECL((SerializationException));
00080 
00081         virtual void 
00082         write_any_list(
00083             const QName&    name, 
00084             const TypeList& data
00085         ) IT_THROW_DECL((SerializationException));
00086 
00087         virtual void
00088         write_attribute_map(
00089             const IT_Bus::QNameHashMap<IT_Bus::String> & map
00090         ) IT_THROW_DECL((SerializationException));
00091 
00092         virtual bool
00093         is_derived_write() const;
00094 
00095       private:
00096         static const String sm_default_message;
00097         String m_message;
00098     };
00099 }
00100 
00101 #endif  

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