上QQ阅读APP看书,第一时间看更新
Types and constants
The basic data types advised by the IDL and their corresponding descriptions are given in the following table:
The following is an example that uses data types:
interface EmployeeRegistry {
typedef identification string <10>;
typedef name string <100>;
identification getId(in string name);
name getName(in string id);
};