clabel.h

来自「face recognition test source code」· C头文件 代码 · 共 27 行

H
27
字号
typedef struct LABEL_TAG
	{
	char str[MAX_NAME];
	int integer;
	} LAB, *PLABEL;

#define LABEL_INIT	100
#define LABEL_INC		25

class CLabel : public CObject
	{
	private:
		PLABEL	label;
		short num_label;					/*number of labels in the label list*/
		short num_alloc_label;			/*number of labels for which memory has been allocated*/
		
	public:
		CLabel();
		~CLabel();
		
		int SetLabel(struct data_entry *current, char *str_label);
		char *GetLabel(struct data_entry *current);
		int GetLabelInt(char *str);
      int GetClassInt(int i);
		char *GetClassStr(int i);
		int NumClass();
   };

⌨️ 快捷键说明

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