2009-02-03 18:06:23 +01:00
|
|
|
#
|
|
|
|
# To regenerate C++ class declarations & implementations for the Spatial
|
2010-11-16 18:31:13 +01:00
|
|
|
# object types of your database you should execute OTT in your server !
|
2009-02-03 18:06:23 +01:00
|
|
|
#
|
2010-11-16 18:31:13 +01:00
|
|
|
|
|
|
|
echo "TYPE MDSYS.SDO_POINT_TYPE AS SDOPointType" > spatial_types.typ
|
|
|
|
echo "TYPE MDSYS.SDO_GEOMETRY AS SDOGeometry" >> spatial_types.typ
|
|
|
|
|
2009-02-03 18:06:23 +01:00
|
|
|
ott userid=scott/tiger attraccess=private intype=spatial_types.typ code=cpp \
|
|
|
|
cppfile=spatial_classeso.cpp hfile=spatial_classesh.h mapfile=spatial_classesm.cpp \
|
|
|
|
mapfunc=RegisterClasses
|
|
|
|
|