📄 hr.idl
字号:
module HR
{
struct DateDesc
{
long year;
long month;
long day;
};
typedef DateDesc Date;
struct PersonalDesc
{
long IdNumber;
string ClertName;
boolean MaleOrFemale;
Date DateOfBirth;
float Height;
float Weight;
long RankSymbol;
};
typedef PersonalDesc PersonalInfoStruct;
//接口定义
interface PersonalInfo
{
readonly attribute long IdNumber;
attribute PersonalInfoStruct InfoDesc;
};
interface HRManager
{
boolean register( in PersonalInfoStruct InfoStruct );
boolean unRegister( in string name );
long getClertCount();
PersonalInfoStruct getDescription( in string name );
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -