attrvaluepair.h

来自「小型短信网关系统」· C头文件 代码 · 共 48 行

H
48
字号
#ifndef	ATTRVALUEPAIR_H#define	ATTRVALUEPAIR_H#include "def.h"class AttrValuePair{ public:		//construction and destruction	AttrValuePair();	~AttrValuePair();	//String	AttrValuePair(String name, Octet attr, VType valueType, UShort length, String valueString);	//Short	AttrValuePair(String name, Octet attr, VType valueType, UShort length, UShort valueShort);	//Integer	AttrValuePair(String name, Octet attr, VType valueType, UShort length, UInt valueInteger);	//Octet	AttrValuePair(String name, Octet attr, VType valueType, UShort length, Octet valueOctet);	//Octets	AttrValuePair(String name, Octet attr, VType valueType, UShort length, Octets valueOctets);	//get	Octet	getAttr();	VType	getValueType();	String	getNameAttr();	UShort	getLength();	//get value		void	getValue(UShort& value);		void	getValue(UInt& value);		void	getValue(Octet& value);		int	getValue(Octets value);		void	getValue(String value);		 private:	Octet	_attr;	String	_nameAttr;	VType	_valueType;	UShort	_length;	UShort	_valueShort;	UInt	_valueInteger;	String	_valueString;	Octet	_valueOctet;	Octets	_valueOctets;	};#endif

⌨️ 快捷键说明

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