You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/02/15 17:14:19 UTC

svn commit: r378026 - in /webservices/axis/trunk/c/include/axis: AxisUserAPI.h AxisUserAPI.hpp IWrapperSoapDeSerializer.hpp OtherFaultException.hpp SoapFaultException.hpp

Author: dicka
Date: Wed Feb 15 08:14:17 2006
New Revision: 378026

URL: http://svn.apache.org/viewcvs?rev=378026&view=rev
Log:
AXISCPP-169

Some additions and modifications to the API documentation to reduce the number of warnings being produced by Doxygen.

Modified:
    webservices/axis/trunk/c/include/axis/AxisUserAPI.h
    webservices/axis/trunk/c/include/axis/AxisUserAPI.hpp
    webservices/axis/trunk/c/include/axis/IWrapperSoapDeSerializer.hpp
    webservices/axis/trunk/c/include/axis/OtherFaultException.hpp
    webservices/axis/trunk/c/include/axis/SoapFaultException.hpp

Modified: webservices/axis/trunk/c/include/axis/AxisUserAPI.h
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/AxisUserAPI.h?rev=378026&r1=378025&r2=378026&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/AxisUserAPI.h (original)
+++ webservices/axis/trunk/c/include/axis/AxisUserAPI.h Wed Feb 15 08:14:17 2006
@@ -308,8 +308,16 @@
  * @struct xsdc__base64Binary
  * Axis C++ defined type for xml basic type base64Binary
  */
-typedef struct {
+typedef struct
+{
+    /**
+     * Binary data
+     */
     xsdc__unsignedByte * __ptr;
+    
+    /**
+     * Length, in bytes, of binary data
+     */
     xsdc__int __size;
 } xsdc__base64Binary;
 
@@ -317,8 +325,16 @@
  * @struct xsdc__hexBinary
  * Axis C++ defined type for xml basic type hexBinary
  */
-typedef struct {
+typedef struct
+{
+    /**
+     * Binary data
+     */
     xsdc__unsignedByte * __ptr;
+    
+    /**
+     * Length, in bytes, of binary data
+     */
     xsdc__int __size;
 } xsdc__hexBinary;
 /**

Modified: webservices/axis/trunk/c/include/axis/AxisUserAPI.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/AxisUserAPI.hpp?rev=378026&r1=378025&r2=378026&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/AxisUserAPI.hpp (original)
+++ webservices/axis/trunk/c/include/axis/AxisUserAPI.hpp Wed Feb 15 08:14:17 2006
@@ -319,7 +319,14 @@
      */
 	xsd__base64Binary & operator=(const xsd__base64Binary & original);
 private:
+    /**
+     * Binary data
+     */
     xsd__unsignedByte * __ptr;
+
+    /**
+     * Length, in bytes, of binary data
+     */
     xsd__int __size;
 };
 
@@ -329,15 +336,57 @@
  */
 class STORAGE_CLASS_INFO xsd__hexBinary {
 public:
+    /**
+     * Default constructor
+     */
     xsd__hexBinary();
+    
+    /**
+     * Copy Constructor
+     * @param original xsd__hexBinary object to be copied.
+     */
     xsd__hexBinary(const xsd__hexBinary & original);
+
+   /**
+    * Destructor
+    */    
 	~xsd__hexBinary();
+
+    /**
+     * Set binary data into xsd__hexBinary object.
+     * @param data binary data
+     * @param size length, in bytes, of binary data
+     */
     void set(xsd__unsignedByte * data, xsd__int size);
+
+    /**
+     * Get binary data from xsd__hexBinary object.
+     * @param size is updated with length, in bytes, of binary data
+     * @return binary data
+     */
     xsd__unsignedByte * get(xsd__int & size) const;
+
+    /**
+     * Get length, in bytes, of binary data.
+     * @return length, in bytes, of binary data
+     */
     xsd__int getSize(void) const;
+
+    /**
+     * Assignment operator
+     * @param original xsd__hexBinary object from which data is to be assigned
+     * @return reference to this
+     */
     xsd__hexBinary & operator=(const xsd__hexBinary & original);
 private:
+    /**
+     * Binary data
+     */
     xsd__unsignedByte * __ptr;
+    
+    /**
+     * Length, in bytes, of binary data
+     */
     xsd__int __size;
 };
 
@@ -421,9 +470,25 @@
     friend class SoapSerializer;
 
 protected:
-    void** m_Array; // Array of pointers to array elements
-    int m_Size; // Size of array
-    XSDTYPE m_Type; // XSD datatype within this array
+    /**
+     * Array of pointers to array elements
+     */
+    void** m_Array;
+
+    /**
+     * Size of array
+     */
+    int m_Size;
+
+    /**
+     * XSD datatype within this array
+     */
+    XSDTYPE m_Type;
+
+    /**
+     * Indicates if array was created by the engine and therefore needs to be
+     * destroyed by the engine.
+     */
     bool m_belongsToAxisEngine;
 };
 

Modified: webservices/axis/trunk/c/include/axis/IWrapperSoapDeSerializer.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/IWrapperSoapDeSerializer.hpp?rev=378026&r1=378025&r2=378026&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/IWrapperSoapDeSerializer.hpp (original)
+++ webservices/axis/trunk/c/include/axis/IWrapperSoapDeSerializer.hpp Wed Feb 15 08:14:17 2006
@@ -22,6 +22,11 @@
 #include <axis/TypeMapping.hpp>
 #include <axis/WSDDDefines.hpp>
 #include <axis/ISoapAttachment.hpp>
+
+/**
+ * @file IWrapperSoapDeSerializer.hpp
+ */
+
 /**
     @class IWrapperSoapDeSerializer
     @brief interface for the IWrapperSoapDeSerializer class.
@@ -36,203 +41,869 @@
 class IWrapperSoapDeSerializer
 {
 public:
+    /**
+     * Destructor
+     */
     virtual ~IWrapperSoapDeSerializer(){};
 
+    /**
+     * Check expected message has been received
+     * 
+     * @param pName SOAP element for message
+     * @param pNamespace SOAP namespace for message
+     * @return AXIS_SUCCESS if expected message has been received
+     * 
+     */
     virtual int AXISCALL checkMessageBody(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+
+    /**
+     * Check if message is a fault
+     * 
+     * @param pName SOAP element for fault
+     * @param pNamespace SOAP namspace for fault
+     * @return ISoapFault object
+     */
     virtual void* AXISCALL checkForFault(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
-    /* Method used by wrappers to get a deserialized Array of complex types */
+    /**
+     * Method used by wrappers to get a deserialized Array of complex types
+     * 
+     * @param pArray is populated with the deserialized complex type objects
+     * @param pDZFunct function pointer to the complex type deserialize method
+     * @param pCreFunct function pointer to the complex type creation method
+     * @param pDelFunct function pointer to the complex type delete method
+     * @param pSizeFunct function pointer toeh complex type size method
+     * @param pName SOAP element name for complex type
+     * @param pNamespace SOAP namespace for complex type
+     * @return deserialized complex type array, this is pArray
+     */
     virtual Axis_Array* AXISCALL getCmplxArray(Axis_Array * pArray, void* pDZFunct, void* pCreFunct, 
         void* pDelFunct, void* pSizeFunct, const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
-    /* Method used by wrappers to get a deserialized Array of basic types */
+    /**
+     *  Method used by wrappers to get a deserialized Array of basic types
+     * 
+     * @param nType the xsd basic type of the array elements
+     * @param pName SOAP element name for array elements
+     * @param pNamespace SOAP namespace for array elements
+     * @return deserialized array
+     */
     virtual Axis_Array* AXISCALL getBasicArray(XSDTYPE nType, 
         const AxisChar* pName, const AxisChar* pNamespace)=0;
-    /* Method used by wrappers to get a deserialized single object of 
-     * complex type 
+    /**
+     *  Method used by wrappers to get a deserialized single object of 
+     *  complex type 
+     * 
+     * @param pDZFunct function pointer to the complex type deserialize method
+     * @param pCreFunct function pointer to the complex type creation method
+     * @param pDelFunct function pointer to the complex type delete method
+     * @param pName SOAP element name for complex type
+     * @param pNamespace SOAP namespace for complex type
+     * @return deserialized complex type
      */
     virtual void* AXISCALL getCmplxObject(void* pDZFunct, void* pCreFunct, 
         void* pDelFunct, const AxisChar* pName, const AxisChar* pNamespace)=0;
     
-    /* Methods used by wrappers to get a deserialized value of basic types */
+    /**
+     * Method used by wrapper to deserialize an xsd:int element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:int value
+     */
     virtual xsd__int * AXISCALL getElementAsInt(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:boolean element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:boolean value
+     */
     virtual xsd__boolean * AXISCALL getElementAsBoolean(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedInt element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedInt value
+     */
     virtual xsd__unsignedInt * AXISCALL getElementAsUnsignedInt(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:short element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:short value
+     */
     virtual xsd__short * AXISCALL getElementAsShort(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedShort element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedShort value
+     */
     virtual xsd__unsignedShort * AXISCALL getElementAsUnsignedShort(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+        /**
+     * Method used by wrapper to deserialize an xsd:byte element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:byte value
+     */
     virtual xsd__byte * AXISCALL getElementAsByte(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedByte element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedByte value
+     */
     virtual xsd__unsignedByte * AXISCALL getElementAsUnsignedByte(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:long element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:long value
+     */
     virtual xsd__long * AXISCALL getElementAsLong(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:integer element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:integer value
+     */
     virtual xsd__integer * AXISCALL getElementAsInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedLong element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedLong value
+     */
     virtual xsd__unsignedLong * AXISCALL getElementAsUnsignedLong(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:float element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:float value
+     */
     virtual xsd__float * AXISCALL getElementAsFloat(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:double element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:double value
+     */
     virtual xsd__double * AXISCALL getElementAsDouble(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:decimal element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:decimal value
+     */
     virtual xsd__decimal * AXISCALL getElementAsDecimal(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:string element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:string value
+     */
     virtual xsd__string AXISCALL getElementAsString(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:anyURI element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:anyURI value
+     */
     virtual xsd__anyURI AXISCALL getElementAsAnyURI(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:QName element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:QName value
+     */
     virtual xsd__QName AXISCALL getElementAsQName(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:hexBinary element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:hexBinary value
+     */
     virtual xsd__hexBinary * AXISCALL getElementAsHexBinary(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:base64Binary element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:base64Binary value
+     */
     virtual xsd__base64Binary * AXISCALL getElementAsBase64Binary(const AxisChar*
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:dateTime element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:dateTime value
+     */
     virtual xsd__dateTime * AXISCALL getElementAsDateTime(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:date element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:date value
+     */
     virtual xsd__date * AXISCALL getElementAsDate(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:time element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:time value
+     */
     virtual xsd__time * AXISCALL getElementAsTime(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:duration element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:duration value
+     */
     virtual xsd__duration * AXISCALL getElementAsDuration(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gYearMonth element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gYearMonth value
+     */
     virtual xsd__gYearMonth * AXISCALL getElementAsGYearMonth(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gYear element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gYear value
+     */
     virtual xsd__gYear * AXISCALL getElementAsGYear(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gMonthDay element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gMonthDay value
+     */
     virtual xsd__gMonthDay * AXISCALL getElementAsGMonthDay(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gDay element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gDay value
+     */
     virtual xsd__gDay * AXISCALL getElementAsGDay(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gMonth element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gMonth value
+     */
     virtual xsd__gMonth * AXISCALL getElementAsGMonth(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:nonPositiveInteger element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:nonPositiveInteger value
+     */
     virtual xsd__nonPositiveInteger * AXISCALL getElementAsNonPositiveInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:negativeInteger element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:negativeInteger value
+     */
     virtual xsd__negativeInteger * AXISCALL getElementAsNegativeInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:nonNegativeInteger element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:nonNegativeInteger value
+     */
     virtual xsd__nonNegativeInteger * AXISCALL getElementAsNonNegativeInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:positiveInteger element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:positiveInteger value
+     */
     virtual xsd__positiveInteger * AXISCALL getElementAsPositiveInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:normalizedString element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:normalizedString value
+     */
     virtual xsd__normalizedString AXISCALL getElementAsNormalizedString(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:token element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:token value
+     */
     virtual xsd__token AXISCALL getElementAsToken(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:language element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:language value
+     */
     virtual xsd__language AXISCALL getElementAsLanguage(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:Name element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:Name value
+     */
     virtual xsd__Name AXISCALL getElementAsName(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NCName element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NCName value
+     */
     virtual xsd__NCName AXISCALL getElementAsNCName(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:ID element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:ID value
+     */
     virtual xsd__ID AXISCALL getElementAsID(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:IDREF element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:IDREF value
+     */
     virtual xsd__IDREF AXISCALL getElementAsIDREF(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:IDREFS element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:IDREFS value
+     */
     virtual xsd__IDREFS AXISCALL getElementAsIDREFS(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:ENTITY element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:ENTITY value
+     */
     virtual xsd__ENTITY AXISCALL getElementAsENTITY(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:ENTITIES element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:ENTITIES value
+     */
     virtual xsd__ENTITIES AXISCALL getElementAsENTITIES(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NMTOKEN element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NMTOKEN value
+     */
     virtual xsd__NMTOKEN AXISCALL getElementAsNMTOKEN(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NMTOKENS element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NMTOKENS value
+     */
     virtual xsd__NMTOKENS AXISCALL getElementAsNMTOKENS(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NOTATION element
+     * 
+     * @param pName SOAP element name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NOTATION value
+     */
     virtual xsd__NOTATION AXISCALL getElementAsNOTATION(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
 
+    /**
+     * Method used by wrapper to deserialize an xsd:int attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:int value
+     */
     virtual xsd__int * AXISCALL getAttributeAsInt(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:boolean attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:boolean value
+     */
     virtual xsd__boolean * AXISCALL getAttributeAsBoolean(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedInt attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedInt value
+     */
     virtual xsd__unsignedInt * AXISCALL getAttributeAsUnsignedInt(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:short attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:short value
+     */
     virtual xsd__short * AXISCALL getAttributeAsShort(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedShort attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedShort value
+     */
     virtual xsd__unsignedShort * AXISCALL getAttributeAsUnsignedShort(const AxisChar*
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:byte attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:byte value
+     */
     virtual xsd__byte * AXISCALL getAttributeAsByte(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedByte attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedByte value
+     */
     virtual xsd__unsignedByte * AXISCALL getAttributeAsUnsignedByte(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:long attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:long value
+     */
     virtual xsd__long * AXISCALL getAttributeAsLong(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:integer attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:integer value
+     */
     virtual xsd__integer * AXISCALL getAttributeAsInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:nonPositiveInteger attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:nonPositiveInteger value
+     */
     virtual xsd__nonPositiveInteger * AXISCALL getAttributeAsNonPositiveInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:negativeInteger attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:negativeInteger value
+     */
     virtual xsd__negativeInteger * AXISCALL getAttributeAsNegativeInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:nonNegativeInteger attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:nonNegativeInteger value
+     */
     virtual xsd__nonNegativeInteger * AXISCALL getAttributeAsNonNegativeInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:positiveInteger attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:positiveInteger value
+     */
     virtual xsd__positiveInteger * AXISCALL getAttributeAsPositiveInteger(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:unsignedLong attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:unsignedLong value
+     */
     virtual xsd__unsignedLong * AXISCALL getAttributeAsUnsignedLong(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:float attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:float value
+     */
     virtual xsd__float * AXISCALL getAttributeAsFloat(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:double attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:double value
+     */
     virtual xsd__double * AXISCALL getAttributeAsDouble(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:decimal attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:decimal value
+     */
     virtual xsd__decimal * AXISCALL getAttributeAsDecimal(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NOTATION attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NOTATION value
+     */
     virtual xsd__NOTATION AXISCALL getAttributeAsNOTATION(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:string attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:string value
+     */
     virtual xsd__string AXISCALL getAttributeAsString(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:normalizedString attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:normalizedString value
+     */
     virtual xsd__normalizedString AXISCALL getAttributeAsNormalizedString(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:token attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:token value
+     */
     virtual xsd__token AXISCALL getAttributeAsToken(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:language attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:language value
+     */
     virtual xsd__language AXISCALL getAttributeAsLanguage(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NMTOKEN attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NMTOKEN value
+     */
     virtual xsd__NMTOKEN AXISCALL getAttributeAsNMTOKEN(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NMTOKENS attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NMTOKENS value
+     */
     virtual xsd__NMTOKENS AXISCALL getAttributeAsNMTOKENS(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:Name attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:Name value
+     */
     virtual xsd__Name AXISCALL getAttributeAsName(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:NCName attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:NCName value
+     */
     virtual xsd__NCName AXISCALL getAttributeAsNCName(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:ID attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:ID value
+     */
     virtual xsd__ID AXISCALL getAttributeAsID(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:IDREF attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:IDREF value
+     */
     virtual xsd__IDREF AXISCALL getAttributeAsIDREF(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:IDREFS attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:IDREFS value
+     */
     virtual xsd__IDREFS AXISCALL getAttributeAsIDREFS(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:ENTITY attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:ENTITY value
+     */
     virtual xsd__ENTITY AXISCALL getAttributeAsENTITY(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:ENTITIES attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:ENTITIES value
+     */
     virtual xsd__ENTITIES AXISCALL getAttributeAsENTITIES(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:anyURI attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:anyURI value
+     */
     virtual xsd__anyURI AXISCALL getAttributeAsAnyURI(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:QName attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:QName value
+     */
     virtual xsd__QName AXISCALL getAttributeAsQName(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:hexBinary attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:hexBinary value
+     */
     virtual xsd__hexBinary * AXISCALL getAttributeAsHexBinary(const AxisChar* 
         pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:base64Binar attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:base64Binary value
+     */
     virtual xsd__base64Binary * AXISCALL getAttributeAsBase64Binary(const 
         AxisChar* pName, const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:dateTime attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:dateTime value
+     */
     virtual xsd__dateTime * AXISCALL getAttributeAsDateTime(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:date attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:date value
+     */
     virtual xsd__date * AXISCALL getAttributeAsDate(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:time attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:time value
+     */
     virtual xsd__time * AXISCALL getAttributeAsTime(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gDay attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gDay value
+     */
     virtual xsd__gDay * AXISCALL getAttributeAsGDay(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gMonth attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gMonth value
+     */
     virtual xsd__gMonth * AXISCALL getAttributeAsGMonth(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gMonthDay attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gMonthDay value
+     */
     virtual xsd__gMonthDay * AXISCALL getAttributeAsGMonthDay(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gYear attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gYear value
+     */
     virtual xsd__gYear * AXISCALL getAttributeAsGYear(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:gYearMonth attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:gYearMonth value
+     */
     virtual xsd__gYearMonth * AXISCALL getAttributeAsGYearMonth(const AxisChar* pName,
         const AxisChar* pNamespace)=0;
+    /**
+     * Method used by wrapper to deserialize an xsd:duration attribute
+     * 
+     * @param pName SOAP attribute name
+     * @param pNamespace SOAP namespace
+     * @return deserialized xsd:duration value
+     */
     virtual xsd__duration * AXISCALL getAttributeAsDuration(const AxisChar* pName, 
         const AxisChar* pNamespace)=0;
+
+    /**
+     * Return status of last operation
+     * 
+     * @return AXIS_SUCCESS of AXIS_FAIL
+     */
     virtual int AXISCALL getStatus()=0;
     
     /* Externalization of deserializer API */
@@ -240,13 +911,64 @@
 //    virtual int init()=0;
 //    virtual PROVIDERTYPE getCurrentProviderType()=0;
 //    virtual void setCurrentProviderType(PROVIDERTYPE nType)=0;    
+    /**
+     * Returns binding style of message
+     * 
+     * @return binding style
+     */
     virtual AXIS_BINDING_STYLE getStyle()=0;    
+    
+    /**
+     * Set binding style of message
+     * 
+     * @param nStyle binding style
+     */
     virtual void setStyle(AXIS_BINDING_STYLE nStyle)=0;
+
+    /**
+     * Returns SOAP version of message
+     * 
+     * @return SOAP version
+     */
     virtual int getVersion()=0;
+
+    /**
+     * Reads SOAP header ready for processing
+     * 
+     * @return AXIS_SUCCESS if SOAP header ready for processing
+     */
     virtual int getHeader()=0;    
+
+    /**
+     * Deserialize an xsd:any element
+     * This will deserialize the next available SOAP element and all child elements.
+     * 
+     * @return Deserialized xsd:any element
+     */
 	virtual AnyType* AXISCALL getAnyObject()=0;            
+
+    /**
+     * Deserialize character data, ie the data typically enclosed by an XML tag
+     * 
+     * @param pValue object into which deserialized value will be placed
+     * @param type The xsd simple type of the data.
+     */
     virtual void getChardataAs(void* pValue, XSDTYPE type)=0;
+    
+    /**
+     * Returns attachment associated with the given ID.
+     * 
+     * @param pcAttachmentid ID of the attachment to be returned
+     * @return SOAP attachment
+     */
 	virtual ISoapAttachment* getAttachment(const char* pcAttachmentid)=0;
+
+    /**
+     * Returns all attachments.
+     * 
+     * @param pAttchArraySize is updated with the array size
+     * @return array of SOAP attachments
+     */
 	virtual ISoapAttachment** getAllAttachments(int *pAttchArraySize)=0;
 	/**
 	* This method allows to peek for the name of the next element in XML stream.

Modified: webservices/axis/trunk/c/include/axis/OtherFaultException.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/OtherFaultException.hpp?rev=378026&r1=378025&r2=378026&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/OtherFaultException.hpp (original)
+++ webservices/axis/trunk/c/include/axis/OtherFaultException.hpp Wed Feb 15 08:14:17 2006
@@ -21,6 +21,10 @@
 #include <axis/GDefine.hpp>
 #include <axis/SoapFaultException.hpp>
 
+/**
+ * @file OtherFaultException.hpp
+ */
+
 AXIS_CPP_NAMESPACE_START
 
 /**
@@ -36,17 +40,67 @@
 class STORAGE_CLASS_INFO OtherFaultException : public SoapFaultException
 {
 public:
+    /**
+     * Default constructor
+     */
 	OtherFaultException();
+
+    /**
+     * Constructor
+     * 
+     * @param code is the SOAP faultcode
+     * @param string is the SOAP faultstring
+     * @param actor is the SOAP faultactor
+     * @param detail is the SOAP fault detail
+     * @param exceptionCode is the axis exception code
+     */
 	OtherFaultException(const AxisChar *code, const AxisChar *string, 
 		const AxisChar *actor, const AxisChar *detail, int exceptionCode);
+
+    /**
+     * Copy constructor
+     * 
+     * @param ae is the AxisException to be copied
+     */
 	OtherFaultException(AxisException& ae);
+
+    /**
+     * Copy constructor
+     * 
+     * @param copy is the OtherFaultException to be copied
+     */
 	OtherFaultException(const OtherFaultException& copy);
+    
+    /**
+     * Assignment operator
+     * 
+     * @param other is the OtherFaultException to be copied
+     * @return reference to this
+     */
 	virtual OtherFaultException& operator=(OtherFaultException other);
+
+    /**
+     * Destructor
+     */
 	virtual ~OtherFaultException() throw();
 
+    /**
+     * Returns the SOAP fault detail
+     * 
+     * @return fault detail
+     */
 	virtual const AxisChar *getFaultDetail() const;
+
+    /**
+     * Set SOAP fault detail
+     * 
+     * @param detail is the SOAP fault detail
+     */
 	virtual void setFaultDetail(const AxisChar *detail);
 private:
+    /**
+     * SOAP fault detail
+     */
 	AxisChar *m_detail;
 };
 

Modified: webservices/axis/trunk/c/include/axis/SoapFaultException.hpp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/include/axis/SoapFaultException.hpp?rev=378026&r1=378025&r2=378026&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/SoapFaultException.hpp (original)
+++ webservices/axis/trunk/c/include/axis/SoapFaultException.hpp Wed Feb 15 08:14:17 2006
@@ -21,6 +21,10 @@
 #include <axis/GDefine.hpp>
 #include <axis/AxisException.hpp>
 
+/**
+ * @file SoapFaultException.hpp
+ */
+
 AXIS_CPP_NAMESPACE_START
 
 /**
@@ -42,25 +46,100 @@
 class STORAGE_CLASS_INFO SoapFaultException :public AxisException
 {
 public:
+    /**
+     * Default constructor
+     */
 	SoapFaultException();
+    
+    /**
+     * SoapFaultException constructor
+     * 
+     * @param code is the SOAP faultcode 
+     * @param string is the SOAP faultstring
+     * @param actor is the SOAP faultactor
+     * @param exceptionCode is the axis exception code
+     */
 	SoapFaultException(const AxisChar *code, const AxisChar *string, const AxisChar *actor, int exceptionCode);
+  
+    /**
+     * Copy constructor
+     * 
+     * @param ae is the AxisException to be copied
+     */
 	SoapFaultException(AxisException& ae);
+   
+    /**
+     * Copy constructor
+     * 
+     * @param copy is the SoapFaultException to be copied
+     */
 	SoapFaultException(const SoapFaultException& copy);
+
+    /**
+     * Assignment operator
+     * 
+     * @param other is the SOAPFaultException to be copied
+     * @return reference to this
+     */
 	virtual SoapFaultException& operator=(SoapFaultException other);
+
+    /**
+     * Destructor
+     */
 	virtual ~SoapFaultException() throw();
 
+    /**
+     * Returns the SOAP faultcode
+     * 
+     * @return faultCode
+     */
 	virtual const AxisChar *getFaultCode() const;
+
+    /**
+     * Returns the SOAP faultstring
+     * 
+     * @return faultString
+     */
 	virtual const AxisChar *getFaultString() const;
+
+    /**
+     * Returns the SOAP faultactor
+     * 
+     * @return faultActor
+     */
 	virtual const AxisChar *getFaultActor() const;
 
+    /**
+     * Set the SOAP faultcode
+     * 
+     * @param code is the SOAP faultcode
+     */
 	virtual void setFaultCode(const AxisChar *code);
+
+    /**
+     * Set the SOAP faultstring
+     * 
+     * @param string is the SOAP faultstring
+     */
 	virtual void setFaultString(const AxisChar *string);
+
+    /**
+     * Set the SOAP faultactor
+     * 
+     * @param actor is the SOAP faultactor
+     */
 	virtual void setFaultActor(const AxisChar *actor);
 	   
 private:
+    /**
+     * SOAP faultcode
+     */
 	AxisChar *m_code;
+
+    /**
+     * SOAP faultactor
+     */
 	AxisChar *m_actor;
-	
 };
 
 AXIS_CPP_NAMESPACE_END