SOAPObjectCreator.h

Go to the documentation of this file.
00001 
00009 // SOAPObjectCreator.h: interface for the SOAPObjectCreator class.
00010 //
00012 /*
00013 #if !defined(SOAPOBJECTCREATOR_H)
00014     #include "SOAPObjectCreator.h"
00015 #endif // !defined(SOAPOBJECTCREATOR_H)
00016 */
00017 #if !defined(SOAPOBJECTCREATOR_H)
00018 #define SOAPOBJECTCREATOR_H
00019 
00020 #if _MSC_VER > 1000
00021 #pragma once
00022 #endif // _MSC_VER > 1000
00023 
00024 #ifndef _STRING_
00025     #include <string>
00026 #endif // _STRING_
00027 
00028 class SOAPObject;
00029 
00030 class SOAPObjectCreator  
00031 {
00032 public:
00033     // Constructor/ Destructor
00034     SOAPObjectCreator();
00035         SOAPObjectCreator(SOAPObjectCreator& rhs) {}
00036     virtual ~SOAPObjectCreator();
00037     
00038     // newSOAPObject
00039     // Description:
00040     //  Creates a new SOAP object that can hopefully do something
00041     //  worthwhile for us.  
00042     // Arugments:
00043     //  N/A
00044     // Return Value:
00045     //  Returns a pointer to a newly allocated SOAP object.
00046     virtual SOAPObject* newSOAPObject() = 0;
00047     
00048     // createdObjectName
00049     // Description: 
00050     //  Used to tell the subsystem the name of the
00051     //  object this creator makes.  This is used by 
00052     //  a server to create the correct object in response
00053     //  to a SOAP request.
00054     // Arugments:
00055     //  N/A
00056     // Return Value:
00057     //  Returns the name of the created object.
00058     virtual std::string createdObjectName() = 0;
00059 };
00060 
00061 #endif // !defined(SOAPOBJECTCREATOR_H)

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