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 OSRTBaseType { OSBOOL value; ... } ;
Copyright © Objective Systems 2002-2008 This document may be distributed in any form, electronic or otherwise, provided that it is distributed in its entirety and that the copyright and this notice are included. |
Objective Systems, Inc.55 Dowlin Forge RoadExton, 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 |