=================================================================== RCS file: /home/cvs/OpenXM/doc/OpenXM-specs/cmo-basic0.tex,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -p -r1.1.1.1 -r1.4 --- 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/02/02 02:03:40 1.4 @@ -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.3 2000/01/24 07:36:35 noro 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,6 +123,11 @@ 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. @@ -130,6 +136,11 @@ The instance ob is a list and in case of a stream conn 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 wll rename it {\tt CMO\_ERROR}. */ /*&C