⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlpartool.h

📁 液晶电视完整代码可实现人机界面
💻 H
字号:
#ifndef   _XMLPARTOOL_H_
#define   _XMLPARTOOL_H_

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fstream.h>
#include <iostream.h>
#include <stdarg.h>
#include <dlfcn.h>
#include <time.h>
#include "const_def.h"

#define	TIMEBUF_LEN		80

// 通用异常类
class CommException
{
public:	
	CommException(int iCode=0, char *ptr= NULL ) 
	{
		memset( m_strErrText , 0 , MAXLINE );
		strcpy( m_strErrText , ptr );
		m_iErrCode = iCode; 
	}
	
	char m_strErrText[MAXLINE];
	int  m_iErrCode;
};

#ifdef __cplusplus
extern "C" {
#endif
void FreeParser();
int InsIdxbuf();
int InsTxtbuf();
char *AddTxt( char *);
char *GetValueFromStr( char * );
void CleanValue( char * );
char *GetAttrFromStr( char * );
int FindSubStr( char *, char * );
int UnPackMsg( char *, char [][100] );
char *get_time( char * );
int getUsernamePassword(char *, char *);
void UnTrim( char *, int , int , char );
char *SearchCNAPSTag( char *, char * );
int SPACESTR( char * );
void TrimDeli( char * );
BOOL NoIn( char *, char );
void ThrowMsgException( int , char * );
BOOL SelfData( char * );
char *TimeFormat(struct tm *,char *);
void GetSysDate(char *);
void TrimAll(char *, char *);
void trim(char *);
void LTrim(char *);
void RTrim(char *);
#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -