person.idl

来自「OTP是开放电信平台的简称」· IDL 代码 · 共 32 行

IDL
32
字号
//// A simple example on different structures used to access mnesia from// the outside //// If the tables and structures should be accessed through a corba// interface, they need to be defined in a IDL specification so that// the mnesia_session interface can access the types needed to use// corba type any.//module persons{  enum Sex {male, female};  struct data  {    Sex sex;    long age;    long phone;  };    struct person   {    string name;                 // Used as key    data personData;             // A reference to other data structure    string married_to;           // A relation     sequence <string> children;  // A list  };};

⌨️ 快捷键说明

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