khl_xml 1.0.0
载入中...
搜索中...
未找到
khl_xml_util.h
浏览该文件的文档.
1
5#ifndef _KHL_XML_UTIL_H_
6#define _KHL_XML_UTIL_H_
7
8#include <cstdarg>
9#include <cstdio>
10
11#include "khl_xml_common.h"
12
13KHL_XML_NAMESPACE_BEGIN
14
15class DllExport XmlUtil
16{
17
18private:
19 static const char *_errorNames[XML_ERROR_COUNT];
20
21public:
22 static int snprintf_(char *buffer, size_t size, const char *format, ...);
23 static int vsnprintf_(char *buffer, size_t size, const char *format, va_list va);
24 static const char *ErrorIDToName(XMLError errorID);
25 static FILE *callfopen(const char *filepath, const char *mode);
26};
27
28KHL_XML_NAMESPACE_END
29
30#endif // _KHL_XML_UTIL_H_
通用头文件
XMLError
通用返回状态