00001 #ifndef _IT_BUS_PDK_XML_ATTRIBUTE_READER_H_
00002 #define _IT_BUS_PDK_XML_ATTRIBUTE_READER_H_
00003
00004
00005
00006
00007 #include <it_bus_pdk/simple_reader.h>
00008 #include <it_bus_pdk/xml_stream_node.h>
00009
00010 namespace IT_Bus {
00011
00012 class IT_BUS_XML_API XMLAttributeReader : public SimpleReader
00013 {
00014 public:
00015 XMLAttributeReader(
00016 XMLStreamNode & element
00017 );
00018
00019 virtual ~XMLAttributeReader();
00020
00021 virtual void
00022 read(
00023 const QName & name, Boolean& bResult
00024 ) IT_THROW_DECL((DeserializationException));
00025
00026 virtual void
00027 read(
00028 const QName & name,
00029 Float& fResult
00030 ) IT_THROW_DECL((DeserializationException));
00031
00032 virtual void
00033 read(
00034 const QName & name,
00035 Double& dResult
00036 ) IT_THROW_DECL((DeserializationException));
00037
00038 virtual void
00039 read(
00040 const QName & name,
00041 Int& iResult
00042 ) IT_THROW_DECL((DeserializationException));
00043
00044 virtual void
00045 read(
00046 const QName & name,
00047 Long& lResult
00048 ) IT_THROW_DECL((DeserializationException));
00049
00050 virtual void
00051 read(
00052 const QName & name,
00053 Short& lResult
00054 ) IT_THROW_DECL((DeserializationException));
00055
00056 virtual void
00057 read(
00058 const QName & name,
00059 UInt& iResult
00060 ) IT_THROW_DECL((DeserializationException));
00061
00062 virtual void
00063 read(
00064 const QName & name,
00065 ULong& lResult
00066 ) IT_THROW_DECL((DeserializationException));
00067
00068 virtual void
00069 read(
00070 const QName & name,
00071 UShort& lResult
00072 ) IT_THROW_DECL((DeserializationException));
00073
00074 virtual void
00075 read(
00076 const QName & name,
00077 Byte& byteResult
00078 ) IT_THROW_DECL((DeserializationException));
00079
00080 virtual void
00081 read(
00082 const QName & name,
00083 UByte& byteResult
00084 ) IT_THROW_DECL((DeserializationException));
00085
00086 virtual void
00087 read(
00088 const QName & name,
00089 DateTime& timeResult
00090 ) IT_THROW_DECL((DeserializationException));
00091
00092 virtual void
00093 read(
00094 const QName & name,
00095 String& timeResult
00096 ) IT_THROW_DECL((DeserializationException));
00097
00098 virtual void
00099 read(
00100 const QName & name,
00101 Decimal& fixedResult
00102 ) IT_THROW_DECL((DeserializationException));
00103
00104 virtual void
00105 read(
00106 const QName & name,
00107 BinaryOutParam& data
00108 ) IT_THROW_DECL((DeserializationException));
00109
00110 virtual void
00111 read(
00112 const QName & name,
00113 QName& data
00114 ) IT_THROW_DECL((DeserializationException));
00115
00116 virtual void
00117 read(
00118 const QName & name,
00119 AnyType& data
00120 ) IT_THROW_DECL((DeserializationException));
00121
00122 virtual void
00123 read_any_simple(
00124 const QName & name,
00125 AnySimpleType& data
00126 ) IT_THROW_DECL((DeserializationException));
00127
00128 virtual void
00129 read_simple_type_list(
00130 const QName & name,
00131 SimpleTypeList & data
00132 ) IT_THROW_DECL((DeserializationException));
00133
00134 virtual void
00135 read_simple_type_union(
00136 const QName & name,
00137 SimpleTypeUnion & data
00138 ) IT_THROW_DECL((DeserializationException));
00139
00140 virtual void
00141 read_nillable(
00142 const QName & name,
00143 Nillable& data
00144 ) IT_THROW_DECL((DeserializationException));
00145
00146 virtual void
00147 read_attribute_map(
00148 IT_Bus::QNameHashMap<IT_Bus::String> & map
00149 ) IT_THROW_DECL((DeserializationException));
00150
00151 protected:
00152
00153 XMLStreamNode & m_element;
00154 };
00155 }
00156
00157 #endif