roshan      2003/07/11 00:25:18

  Modified:    c/src/common Param.h Param.cpp
  Log:
  added new serialization method
  
  Revision  Changes    Path
  1.4       +2 -1      xml-axis/c/src/common/Param.h
  
  Index: Param.h
  ===================================================================
  RCS file: /home/cvs/xml-axis/c/src/common/Param.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Param.h   1 Jul 2003 03:44:39 -0000       1.3
  +++ Param.h   11 Jul 2003 07:25:18 -0000      1.4
  @@ -118,7 +118,8 @@
   
   public: //Conversion functions
        int SetValue(string& sValue);
  -     XSDTYPE GetType() const;
  +     XSDTYPE GetType() const;        
  +     int serialize(string& sSerialized, SoapSerializer& pSZ);
        int serialize(string& sSerialized);
   
        //Following functions are used by wrapper class methods making sure of the 
valid type.
  
  
  
  1.4       +5 -0      xml-axis/c/src/common/Param.cpp
  
  Index: Param.cpp
  ===================================================================
  RCS file: /home/cvs/xml-axis/c/src/common/Param.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Param.cpp 1 Jul 2003 03:44:39 -0000       1.3
  +++ Param.cpp 11 Jul 2003 07:25:18 -0000      1.4
  @@ -232,6 +232,11 @@
        return m_Type;
   }
   
  +int Param::serialize(string& sSerialized, SoapSerializer& pSZ)
  +{
  +     return SUCCESS;
  +}
  +
   int Param::serialize(string& sSerialized)
   {
        switch (m_Type){
  
  
  

Reply via email to