Page 4
Table Of Contents
Introduction..........................................................................................................................6
Key Concepts .............................................................................................................6
Requirements..............................................................................................................7
Organization of this Document ................................................................................10
Architecture .......................................................................................................................11
Memory Management........................................................................................................14
STL ....................................................................................................................................15
Reference counting pointers. .............................................................................................16
C++ API............................................................................................................................17
DataObject................................................................................................................18
DataGraph ................................................................................................................34
ChangeSummary ......................................................................................................36
Sequence...................................................................................................................41
Type..........................................................................................................................46
Property ....................................................................................................................50
PropertyList, TypeList and DataObjectList .............................................................52
SDORuntime ............................................................................................................54
DataFactory ..............................................................................................................55
CopyHelper ..............................................................................................................58
EqualityHelper .........................................................................................................59
XMLHelper ..............................................................................................................59
XMLDocument ........................................................................................................64
XSDHelper ...............................................................................................................66
Exceptions..........................................................................................................................69
C++ Type Safe Interface Specification..............................................................................71
Code generation template.........................................................................................71
SDOList template class ............................................................................................72
Example....................................................................................................................72
Standard SDO Types .........................................................................................................77
SDO Data Types.......................................................................................................77
SDO Model Types....................................................................................................77
SDO Type and Property constraints.........................................................................78
XML Schema to SDO Mapping ........................................................................................80
Mapping Principles ..................................................................................................80
Mapping of XSD to SDO Types and Properties ......................................................81
Mapping of XSD Attributes and Elements to SDO Properties ................................88
Examples of XSD to SDO Mapping ........................................................................96
XML use of Sequenced Data Objects ....................................................................100
XSD Mapping Details ............................................................................................101
Compliance.............................................................................................................101
Corner cases ...........................................................................................................101
XML without Schema to SDO Type and Property ................................................103
Generation of XSD from SDO Type and Property..........................................................104