XSD Simple Type to C/C++ Type Mappings
XSD built-in simple type declarations are mapped directly to C types defined in the osSysTypes.h run-time header file. The general mapping of each XSD simple type to a C type is as follows:
XSD Built-In Type C Type (in osSysTypes) C Type (base)
For C++, class wrappers are added around each of these types when they are used in simple type declarations. In most cases, these classes contain a single public member variable called value that holds the value of the type. They also contain a constructor and assignment operator for setting the 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 |