
Boolean Type
The xsd:boolean type is mapped to a C unsigned char that is allowed to have the value zero for FALSE and any other value for TRUE. The general mapping is as follows:
<xsd:simpleType name="TypeName"> <xsd:restriction base="xsd:boolean"/> </xsd:simpleType> typedef OSBOOL TypeName; class TypeName : public OSBaseType { OSBOOL value; ... } ;
Objective Systems, Inc.102 Pickering Way, Suite #506Exton, Pennsylvania 19341 http://www.obj-sys.com Phone: (484) 875-9841 Toll-free: (877) 307-6855 (US only) Fax: (484) 875-9830 info@obj-sys.com |