📄 udtypes.h
字号:
#ifndef _UDTYPES_H
#define _UDTYPES_H
#include "Global.h"
#include "Variable.h" // just for those enumerations
class UDType;
typedef struct
{
public:
Byte Type;
UDType *ptr;
char *Name;
}UDTypeEntry;
class UDType
{
public:
Byte Type; // Typedef (or) Struct (or) Union?
char *Name;
int Size;
int NumVars;
UDTypeEntry *Entries;
UDType();
~UDType();
int Assign(char *str);
void operator = (UDType &t);
void Display(char *);
void Invalidate();
};
class UDTypeList
{
UDType Data;
UDTypeList *Next;
public:
UDTypeList();
~UDTypeList();
UDType *Add(UDType &t);
UDType *GetType(char *Name);
void Display();
};
#endif // UdTypes.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -