vnpy/vn.api/vn.shzd/shzdapi/ShZdMessage.h

27 lines
602 B
C
Raw Normal View History

#pragma once
#include <map>
using namespace std;
#ifndef ShZdMessage_H
#define ShZdMessage_H
#ifdef DLL_FILE
class _declspec(dllexport) CShZdMessage //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CShZdMessage
#else
class _declspec(dllimport) CShZdMessage //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CShZdMessage
#endif
{
public:
CShZdMessage(void);
~CShZdMessage(void);
bool SetTag(const int tag,const char* value);
char* GetString(int tag);
bool SetAllRead(int read);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><EFBFBD><E1B9B9>Ϊ<EFBFBD>Ѷ<EFBFBD><D1B6><EFBFBD>δ<EFBFBD><CEB4>
const char* GetMesgType();
bool SetMsgType(const char *msgType);
string GetAllString();//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>е<EFBFBD><D0B5>ַ<EFBFBD><D6B7><EFBFBD>
private:
map<int,string> MsgBody;//<2F><>Ϣ<EFBFBD><CFA2>
};
#endif