1、 KS X ISO/IEC 14750 KSKSKSKS SKSKSKS KSKSKS SKSKS KSKS SKS KS KS X ISO/IEC 14750 : 2007 (2012 ) 2007 11 30 http:/www.kats.go.krKS X ISO/IEC 14750:2007 : ( ) ( ) SJ ( ) : (JTC1/SC7) () ( ) () TTA () TTA LG-CNS SDS KS X ISO/IEC 14750:2007 : (http:/www.standard.go.kr) : :2002 12 14 :2007 11 30 :2012 12
2、 27 : 2012-0789 : (JTC1/SC7) ( 02-509-7262) (http:/www.kats.go.kr). 10 5 , . KS X ISO/IEC 14750 : 2007 (2012 ) Information technology Open distributed processing Interface definition language 1999 1 ISO/IEC 14750, Information technologyOpen distributed processing Interface definition language . 1 (O
3、DP) (ITUT X.902 | ISO/IEC 107462 ITUT X.903 | ISO/IEC 107463 ) . . 2 . . ( ) . 2.1 ITUT Recommendation X.902(1995) | ISO/IEC 107462:1996, Information technologyOpen distributed processingReference Model:Foundations “KS X ISO/IEC 107462, :” . ITUT Recommendation X.903(1995) | ISO/IEC 107463:1996, Inf
4、ormation technologyOpen distributed processingReference Model:Architecture “KS X ISO/IEC 107463, :” . 2.2 KS X 1003, () (ISO/IEC 646:1991, Information technologyISO 7bit coded character set for information interchange, MOD) KS X ISO/IEC 88591, 8 1: KS X ISO/IEC 14750:2007 2 1 3 ITUT Rec. X.902 | ISO
5、/IEC 107462 . (object) (interface) (interface signature) ITUT Rec. X.903 | ISO/IEC 107463 . (operation) 4 ODP IDL ODP IDL( ) . ODP IDL , . ODP IDL . (phase) . . # . . , , (translation unit) . ODP IDL C+ , . C+ . ODP IDL ISO/IEC C+ . ODP IDL 4.1 . ODP IDL 4.2 . ODP IDL 4.13 . ODP IDL ISO/IEC C+ . ODP
6、 IDL (descriptive language). , C+ . , . 4.3 . ODP IDL ODP IDL . ODP IDL (Extended BackusNaur format:EBNF) . 1 . KS X ISO/IEC 14750:2007 3 1 ODP IDL EBNF := (Is defined to be) | (alternatively) (nonterminal) “text” (literal) * 0 . + 1 . . .0 . 4.1 ODP IDL . ODP IDL , , , , , . ODP IDL ISO/IEC 1(KS X
7、ISO/IEC 88591) . (), , , (space, blank) . 2 ODP IDL . . 3 , 4 . 5 . 2 114 () Aa / A / A Bb / B / A Cc / C / A Dd / D / A Ee / E / A Ff / F / A Gg / G / AE (dipthong) Hh / H / C Ii / I / E Jj / J / E Kk / K / E Ll / L / E Mm / M / I Nn / N / I Oo / O / I Pp / P / I Qq / Q / eth Rr / R / N Ss / S / O
8、Tt / T / O KS X ISO/IEC 14750:2007 4 2 114 ()() Uu / U / O Vv / V / O Ww / W / O Xx / X O Yy / Y / U Zz / Z / U / U / U / Y / thorn sharp S Y 3 10 0 1 2 3 4 5 6 7 8 9 4 ! (exclamation point) (inverted exclamation mark) “ (double quote) (cent sign) # (number sign) (pound sign) $ (dollar sign) (curren
9、cy sign) % (percent sign) (yen sign) (semicolon) (greater-than sign) (acute) ? (question mark) (micro) (commercial at) (pilcrow) (left square bracket) (middle dot) (cedilla) KS X ISO/IEC 14750:2007 5 4 () (right square bracket) (superscript) 1 (circumflex) (masculine ordinal indicator) _ (low line,
10、underscore) (right angle quotation mark) (grave) (vulgar fraction) 1/4 (left curly bracket) (vulgar fraction) 1/2 | (vertical line) (vulgar fraction) 3/4 (right curly bracket) (inverted question mark) (tilde) (multiplication sign) (division sign) 5 KS X 1003 8 (alert) BEL 007 (backspace) BS 010 (hor
11、izontal tab) HT 011 (newline) NL, NF 012 (vertical tab) VT 013 (form feed) FF 014 (carriage return) CR 015 4.1.1 (tokens) 5 . , , , . , , , ( “ (white space)”) . , . (input stream) , . 4.1.2 (comments) /* */ . (nest) . / . /, /*, */ / , . , / /* /* . , , , , , , . 4.1.3 (identifiers) , (“_”) . . . ,
12、 . ( ). KS X ISO/IEC 14750:2007 6 : . 2 . ( , “” “ae” .) ( , “” “a” .) . . ODP IDL . , . 4.1.4 (keywords) 6 . interface , ODP IDL object . “object” . attribute . . , . Exception ODP , . (4.1.3 ), . , “boolean” . “Boolean” . ODP IDL 7 . , 8 . 6 any attribute boolean case char const context default do
13、uble enum exception FALSE fixed float in inout interface long module Object octet oneway out raises readonly sequence short string struc switch TRUE typedef unsigned union void wchar wstring 7 ; : : : , ( ) “ | ” | “;” | “;” | “;” | “;” (3) := “module” “” + “” (4) := | (5) := “” “” (6) := “interface
14、” (7) := “interface” (8) := * (9) := “;” | “;” | “;” | “;” | “;” (10) := “:” “,” * (11) := | “:” | “:” (12) := “const” “=” (13) := | | | | | KS X ISO/IEC 14750:2007 10 | | | (14) := (15) := | “” (16) := | “” (17) := | “” (53) := “union” “switch” “(” “)” “” “” (54) := | | | | (55) := + (56) := + “;”
15、(57) := “case” “:” | “default” “:” KS X ISO/IEC 14750:2007 12 (58) := (59) := “enum” “” “,” * “” (60) := (61) := “sequence” “ “,” “” | “sequence” “ “” (62) := “string” “ “” | “ s t r i n g ” (62a) := “wstring” “ “” | “wstring” (63) := + (64) := “” “” (65) := “readonly” “attribute” “,” * (66) := “exc
16、eption” “” * “” (67) := (68) := “oneway” (69) := | “void” (70) := “(” “,” * “)” | “(” “)” (71) := (72) := “in” | “ o u t ” | “inout” (73) := “raises” “(” “,”* “)” (74) := “context “(” “,”* “)” (75) := | | | | (76) := “fixed” “ “,” “” (77) := “fixed” 4.4 ODP IDL ODP IDL , , . . := +:= “,” | “,” | “,”
17、 | “,” | “,” KS X ISO/IEC 14750:2007 13 , , 4.6, 4.7, 4.9 . 4.4.1 . := “module” “ +“” ODP IDL . 4.12 . 4.4.2 . := | := “” “” := “interface” := “interface”: := * := “;” | “;” | “;” | “;” “;” 4.4.2.1 . a) interface , . b) 4.4.2.2 . . . , . Object . , (reference) . . , , . 4.4.2.2 . := “:” “,” * := | “:” | “:”