susantha 2003/08/05 00:20:05
Modified: c/src/wsdd WSDDHandler.h WSDDHandler.cpp
Log:
Added concept that each library (Handler or a Web service) has an ID
Revision Changes Path
1.3 +2 -0 xml-axis/c/src/wsdd/WSDDHandler.h
Index: WSDDHandler.h
===================================================================
RCS file: /home/cvs/xml-axis/c/src/wsdd/WSDDHandler.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WSDDHandler.h 2 Jul 2003 05:09:29 -0000 1.2
+++ WSDDHandler.h 5 Aug 2003 07:20:05 -0000 1.3
@@ -84,6 +84,7 @@
{
public:
virtual string& GetLibName();
+ int GetLibID();
virtual void SetLibName(string& sLibName);
WSDDHandler();
virtual ~WSDDHandler();
@@ -92,6 +93,7 @@
virtual map<string, string>* GetOptionList();
protected:
+ int m_nLibId;
string m_sName;
string m_sLibName;
map<string, string>* m_Option;
1.3 +5 -0 xml-axis/c/src/wsdd/WSDDHandler.cpp
Index: WSDDHandler.cpp
===================================================================
RCS file: /home/cvs/xml-axis/c/src/wsdd/WSDDHandler.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- WSDDHandler.cpp 2 Jul 2003 05:09:29 -0000 1.2
+++ WSDDHandler.cpp 5 Aug 2003 07:20:05 -0000 1.3
@@ -74,6 +74,7 @@
WSDDHandler::WSDDHandler()
{
m_Option = new map<string, string>;
+ m_nLibId = 0;
}
WSDDHandler::~WSDDHandler()
@@ -86,6 +87,10 @@
m_sLibName = sLibName;
}
+int WSDDHandler::GetLibID()
+{
+ return m_nLibId;
+}
string& WSDDHandler::GetLibName()
{