#pragma once
|
#include "stdafx.h"
|
#include "MBUserLogin.h"
|
|
/************************************************************************/
|
/* ·þÎñ¶Ë³£ÓÃxml½âÎöÔÚÕâÀï */
|
/************************************************************************/
|
|
typedef map<CString, CString > CMBParamErrInfoMap;
|
|
class AFX_EXT_CLASS CMBParseServerXml
|
{
|
public:
|
CMBParseServerXml(void);
|
~CMBParseServerXml(void);
|
public:
|
static bool ParseErrInfo(CString strXml,int& nErrCode,CString & strErr); // ¶Ô´íÎóÐÅÏ¢µÄ½âÎö
|
static bool ParseLoginInfo(CString strXml,CMBUserLogin *pUserLogin); // ¶ÔÈËÔ±µÇ¼ÐÅÏ¢½âÎö
|
static bool ParseParamInfo( CString &strParam,long &nTrID, CString &strAppType,CString &strMethod ); // ¶Ô·þÎñ·µ»Ø²ÎÊý½âÎö
|
static bool ParseParamErrInfo( CMBParamErrInfoMap & mapParam,CString &strParam ); // ¶Ô·þÎñ´íÎóµÄ·µ»Ø²ÎÊý½âÎö
|
};
|