00001 #ifndef _IT_BUS_PDK_SIMPLE_READER_H_
00002 #define _IT_BUS_PDK_SIMPLE_READER_H_
00003
00004
00005
00006
00007 #include <it_bus/complex_type_reader.h>
00008
00009 namespace IT_Bus
00010 {
00017 class IT_AFC_API SimpleReader : public ComplexTypeReader
00018 {
00019 public:
00020
00025 SimpleReader(
00026 const String& exception_message = sm_default_message
00027 );
00028
00029 virtual ~SimpleReader();
00030
00031 virtual void
00032 read_sequence(
00033 const QName & name,
00034 SequenceComplexType & data
00035 ) throw((DeserializationException));
00036
00037 virtual void
00038 read_all(
00039 const QName & name,
00040 AllComplexType & data
00041 ) throw((DeserializationException));
00042
00043 virtual void
00044 read_choice(
00045 const QName & name,
00046 ChoiceComplexType & data
00047 ) throw((DeserializationException));
00048
00049 virtual void
00050 read_simple_content(
00051 const QName & name,
00052 SimpleContentComplexType & data
00053 ) throw((DeserializationException));
00054
00055 virtual void
00056 read_element_list(
00057 const QName & name,
00058 ElementList& list
00059 ) throw((DeserializationException));
00060
00061 virtual void
00062 read_type_list(
00063 const QName & name,
00064 TypeList& list
00065 ) throw((DeserializationException));
00066
00067 virtual void
00068 read_soap_enc_array(
00069 const QName & name,
00070 SoapEncArray& data
00071 ) throw((DeserializationException));
00072
00073 virtual void
00074 read_complex_content(
00075 const QName & name,
00076 ComplexContentComplexType & data
00077 ) throw((DeserializationException));
00078
00079 virtual void
00080 read_any_holder(
00081 const QName & name,
00082 AnyHolder& data
00083 ) throw((DeserializationException));
00084
00085 virtual void
00086 read_any(
00087 const QName& name,
00088 Any& data
00089 ) throw((DeserializationException));
00090
00091 virtual void
00092 read_any_list(
00093 const QName& name,
00094 TypeList& data
00095 ) throw((DeserializationException));
00096
00097 QName
00098 get_xsi_type() const;
00099
00100 virtual void
00101 read_substitution(
00102 IT_Bus::UInt id,
00103 ComplexTypeWithSubstitution & data
00104 ) throw((DeserializationException));
00105
00106 virtual void
00107 read_attribute_map(
00108 IT_Bus::QNameHashMap<IT_Bus::String> & map
00109 ) throw((DeserializationException));
00110
00111 private:
00112 static const String sm_default_message;
00113 String m_message;
00114 };
00115 }
00116
00117 #endif