?? xmlstringlate.h
字號:
// XMLStringTranslate.h: interface for the XMLStringTranslate class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_XMLSTRINGTRANSLATE_H__578927FB_884C_4030_9990_6206CBC30F72__INCLUDED_)
#define AFX_XMLSTRINGTRANSLATE_H__578927FB_884C_4030_9990_6206CBC30F72__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <xercesc/framework/XMLFormatter.hpp>
#include <string>
using namespace std;
class XMLStringTranslate : public XMLFormatTarget
{
public:
XMLStringTranslate(const char * const encoding);
virtual ~XMLStringTranslate();
protected:
XMLFormatter * fFormatter;
XMLCh * fEncodingUsed;
XMLCh * toFill;//new XMLCh[srcCount];
char * m_value;
protected:
enum Constants
{
kTmpBufSize = 16 * 1024,
kCharBufSize = 16 * 1024
};
void clearbuffer();
// -----------------------------------------------------------------------
// Implementations of the format target interface
// -----------------------------------------------------------------------
virtual void writeChars(const XMLByte* const toWrite
, const unsigned int count
, XMLFormatter* const formatter);
public:
string translate(const XMLCh* const value);
const XMLCh * const translate(const char * const value);
};
#endif // !defined(AFX_XMLSTRINGTRANSLATE_H__578927FB_884C_4030_9990_6206CBC30F72__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -