00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifdef WIN32
00018 #pragma warning (disable : 4786)
00019 #endif
00020
00021 #if !defined(_PARAM_H____OF_AXIS_INCLUDED_)
00022 #define _PARAM_H____OF_AXIS_INCLUDED_
00023
00024 #include "IParam.h"
00025 #include "BasicTypeSerializer.h"
00026 #include "AxisTime.h"
00027
00028 #include <string>
00029 using namespace std;
00030
00031 class ArrayBean;
00032
00033
00034
00035
00036
00037
00038
00039 class Param : public IParam
00040 {
00041 friend class SoapSerializer;
00042 friend class SoapFault;
00043 public:
00044 Param(){ m_Type = USER_TYPE;};
00045
00046 virtual ~Param();
00047
00048 private:
00049 uParamValue m_Value;
00050 AxisString m_sName;
00051 XSDTYPE m_Type;
00052
00053 private:
00054 AxisString m_strPrefix;
00055 AxisString m_strUri;
00056
00057 public:
00058 int setValue(XSDTYPE nType, uParamValue Value);
00059 int serialize(SoapSerializer& pSZ);
00060 void setPrefix(const AxisChar* prefix);
00061 void setUri(const AxisChar* uri);
00062 int setArrayElements(void* pElements);
00063 int setArrayElements(void* pObject, AXIS_DESERIALIZE_FUNCT pDZFunct,
00064 AXIS_OBJECT_DELETE_FUNCT pDelFunct, AXIS_OBJECT_SIZE_FUNCT pSizeFunct);
00065 int setUserType(void* pObject, AXIS_DESERIALIZE_FUNCT pDZFunct,
00066 AXIS_OBJECT_DELETE_FUNCT pDelFunct);
00067 void setName(const AxisChar* sName);
00068 };
00069
00070 #endif
00071
00072