=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/cmo-basic0.tex,v retrieving revision 1.1.1.1 retrieving revision 1.6 diff -u -p -r1.1.1.1 -r1.6 --- OpenXM/doc/OpenXM-specs/cmo-basic0.tex 2000/01/20 08:52:46 1.1.1.1 +++ OpenXM/doc/OpenXM-specs/cmo-basic0.tex 2000/09/09 21:59:12 1.6 @@ -1,26 +1,27 @@ -%% $OpenXM$ -//&jp \section{CMO Basic0 ¤Î object} -//&eg \section{CMO Basic0 object} +%% $OpenXM: OpenXM/doc/OpenXM-specs/cmo-basic0.tex,v 1.5 2000/09/08 17:14:54 takayama Exp $ +//&jp \section{CMO Primitive object} +//&eg \section{CMO Primitive object} +\label{sec:basic0} /*&jp -CMO (Common Mathematical Object format) ¥°¥ë¡¼¥× Basic0 ¤Î Object ¤Ï, +CMO (Common Mathematical Object format) ¥°¥ë¡¼¥× Primitive ¤Î Object ¤Ï, ¥í¡¼¥ì¥Ù¥ë¤Î¥Ç¡¼¥¿·¿, {\tt int} , {\tt string} ¤Ê¤É¤ËÂбþ¤¹¤ë object ¤Ç¤¢¤ë. ¤³¤Î CMO ¤Ï¤¹¤Ù¤Æ¤Î OpenXM ¤¬¼ÂÁõ¤·¤Æ¤¤¤ë¤È²¾Äꤵ¤ì¤ë. -¤³¤ÎÀá¤Ç¤Ï, ¥¤¥ó¥È¥í¥À¥¯¥·¥ç¥ó¤È¤·¤Æ, ¥°¥ë¡¼¥× Basic0 ¤Ë°¤¹¤ë CMObject +¤³¤ÎÀá¤Ç¤Ï, ¥¤¥ó¥È¥í¥À¥¯¥·¥ç¥ó¤È¤·¤Æ, ¥°¥ë¡¼¥× Primitive ¤Ë°¤¹¤ë CMObject (Common Mathematical Object) ¤ò·Á¼°Åª¤ÊÊýË¡¤ò¤Ä¤«¤ï¤ºÆ³Æþ¤·¤è¤¦. */ /*&eg -Objects in CMO (Common Mathematical Object format) group Basic0 +Objects in CMO (Common Mathematical Object format) group Primitive are primitive data such as {\tt int}, {\tt string}. All OpenXM compliant systems should implement all data types -in the group Basic0. +in the group Primitive. In this section, as an introduction, we will introduce -CMObject (Common Mathematical Object) of the group Basic0 without +CMObject (Common Mathematical Object) of the group Primitive without using the Backus-Nauer form. */ /*&jp ¤³¤Î¥°¥ë¡¼¥×¤ÎÀµ¼°¤Ê̾Á°¤Ï, -CMObject/Basic0 ¤Ç¤¢¤ë. +CMObject/Primitive ¤Ç¤¢¤ë. °Ê²¼, {\tt int32} ¤Ç2¤ÎÊä¿ôɽ¸½¤µ¤ì¤¿ 32 bit integer ¤ò¤¢¤é¤ï¤¹ (¤³¤ì¤Ï¤è¤¯»È¤ï¤ì¤ë·×»»µ¡¤Ç¤Î C ¸À¸ì¤Î int ¤ÎÆâÉôɽ¸½). @@ -28,7 +29,7 @@ CMObject/Basic0 ¤Ç¤¢¤ë. */ /*&eg The canonical name of this group is -CMObject/Basic0. +CMObject/Primitive. In the sequel, {\tt int32} means the signed 32 bit integer expressed by two's complement (internal expressions of {\tt int} of the language C usually use @@ -68,11 +69,11 @@ any CMObject consists of a tag and a body: \\ {\tt cmo\_tag} ¤Ï object ¤Î¥¿¥¤¥×¤ò¤¢¤é¤ï¤¹¥¿¥°¤Ç¤¢¤ê, °Ê²¼¤Î¤è¤¦¤Ë·è¤á¤Æ¤¤¤ë. */ -//&eg The following is a list of tags of CMObject/Basic0. +//&eg The following is a list of tags of CMObject/Primitive. /*&C @../SSkan/plugin/cmotag.h \begin{verbatim} -#define LARGEID 0x7f000000 +#define LARGEID 0x7f000000 /* 2130706432 */ #define CMO_ERROR2 (LARGEID+2) #define CMO_NULL 1 #define CMO_INT32 2 @@ -122,14 +123,24 @@ ob ¤Ï¥ê¥¹¥È¤Ç¤¢¤ê, TCP/IP ¤Ë¤è¤ë¥¹¥È¥ê¡¼¥à·¿Àܳ¤Î¾ì¹ ºÇ½é¤ÎÀ®Ê¬¤Ï¥¨¥é¡¼¤òµ¯¤³¤·¤¿ OX ¥á¥Ã¥»¡¼¥¸(¸å½Ò) ¤Î¥·¥ê¥¢¥ëÈÖ¹æ¤Ç¤Ê¤¤¤È¤¤¤±¤Ê¤¤. ¥·¥ê¥¢¥ëÈÖ¹æ¤Ï Integer32 ¤Çɽ¸½¤¹¤ë. + +\noindent +Remark: Îò»ËŪ¤ÊÍýͳ¤Ë¤è¤ê, ¥¨¥é¡¼¥ª¥Ö¥¸¥§¥¯¥È¤Î CMO ¥¿¥°¤Ï {\it +CMO\_ERROR2} ¤È̾ÉÕ¤±¤é¤ì¤Æ¤¤¤ë. ¼¡¤ÎÈǤλÅÍͽñ¤Ç¤Ï {\tt CMO\_ERROR} +¤ËÊѹ¹¤¹¤ëͽÄê¤Ç¤¢¤ë. */ /*&eg It is an object used when a server makes an error. {\it CMObject} ob carries error informations. -The instance ob is a list and in case of a stream connection like TCP/IP +The instance ob is a list and, in case of a stream connection like TCP/IP, the first element must be the serial number of the OX message that caused the error. The serial number is given by the data type Integer32. + +\noindent +Remark: For a historical reason the CMO tag of the error object is +named {\tt CMO\_ERROR2}. In the next vesion of OpenXM specification +we may rename it {\tt CMO\_ERROR}. */ /*&C @@ -231,7 +242,7 @@ Cstring ¤Çɽ¤·¤¿¥·¥¹¥Æ¥à̾, Server version, CPU type, SM ¥¿¥°¤ò, Integer32 ¤Çɽ¸½¤·¤¿¤â¤Î¤ò½¸¤á¤¿¥ê¥¹¥È¤Ç¤¢¤ë. 3 ÈÖÌܤÎÍ×ÁǤÏ, ¥·¥¹¥Æ¥à xxx ¤¬¤¢¤Ä¤«¤¦¤³¤È¤Î²Äǽ¤Ê ¥Ç¡¼¥¿·Á¼°¤ò¤¢¤Ä¤á¤¿¥ê¥¹¥È¤Ç¤¢¤ë. -¾ÜºÙ¤Ï mathcap ¤ÎÀá¤ÇÀâÌÀ¤¹¤ë. +¾ÜºÙ¤Ï mathcap ¤ÎÀá \ref{subsubsection:mathcap} ¤ÇÀâÌÀ¤¹¤ë. */ /*&eg ob is a list of which length is more than or equal to three. @@ -243,7 +254,7 @@ and extra informations. The second element is a list of SM tags in Integer 32. The third element is a list of data type tags which the server or the client can understand. -The details will be explained in the section on mathcap. +The details will be explained in the section on mathcap \ref{subsubsection:mathcap}. */ /*&C @@ -261,5 +272,4 @@ The details will be explained in the section on mathca \end{tabular}\\ */ //&jp ¤Çɽ¸½¤¹¤ë. -