2009-02-03 17:06:23 +00:00
|
|
|
#
|
|
|
|
# To regenerate C++ class declarations & implementations for the Spatial
|
2010-11-16 17:31:13 +00:00
|
|
|
# object types of your database you should execute OTT in your server !
|
2009-02-03 17:06:23 +00:00
|
|
|
#
|
2010-11-16 17:31:13 +00: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 17:06:23 +00: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
|
|
|
|
|