SOAPObject.h

Go to the documentation of this file.
00001 
00010 // SOAPObject.h: interface for the SOAPObject class.
00011 //
00013 
00014 /*
00015 #if !defined(SOAPOBJECT_H)
00016     #include "SOAPObject.h"
00017 #endif // !defined(SOAPOBJECT_H)
00018 */
00019 
00020 #if !defined(SOAPOBJECT_H)
00021 #define SOAPOBJECT_H
00022 
00023 #if _MSC_VER > 1000
00024 #pragma once
00025 #endif // _MSC_VER > 1000
00026 
00027 #if !defined(SOAPMETHOD_H)
00028     #include "SOAPMethod.h"
00029 #endif // SOAPMETHOD_H
00030 
00031 #ifndef _LIST_
00032     #include <list>
00033 #endif // _LIST_
00034 
00035 class SOAPObject  
00036 {
00037 public:
00038     // Constructor/ Destructor
00039     SOAPObject();
00040     virtual ~SOAPObject();
00041     
00042     // Contains an array of soap methods.
00043     typedef std::list< SOAPMethod* > MethodList;
00044     
00045     // getMethodList
00046     // Description:
00047     //  Returns the SOAPMethods that this object implements.
00048     //  This is a member of the base class because
00049     //  this information should be constant across implementations.
00050     // Arugments:
00051     //  N/A
00052     // Return Value:
00053     //  Returns a reference to the m_methodList parameter.
00054     MethodList& getMethodList();
00055     
00056 protected:
00057     
00058     // insertMethod
00059     // Description:
00060     //  Meant to be called by classes derived from SOAPObject.
00061     //  This method inserts a method into the method list.
00062     // Arugments:
00063     //  pMethod: Pointer to one of the SOAPMethods contained
00064     //      by the SOAPObject.
00065     // Return Value:
00066     //  N/A
00067     void insertMethod( SOAPMethod* pMethod );
00068     
00069     // m_methodList
00070     // Description: List of all the methods implemented
00071     //  by the derived object.
00072     MethodList m_methodList;
00073 };
00074 
00075 #endif // !defined(SOAPOBJECT_H)

Generated on Tue Mar 28 09:10:15 2006 for Simple SOAP by  doxygen 1.4.6