Public Member Functions | |
| __property String * | get_aceName () |
| Get the currently stored Ace name. | |
| __property void | set_aceName (String *aceName) |
| Set the currently stored Ace name. | |
| __property String * | get_displayScaleName () |
| Get the currently stored Display Scale name. | |
| __property void | set_displayScaleName (String *displayName) |
| Set the currently stored Display Scale name. | |
| __property String * | get_drawingApplicationName () |
| Get the currently stored Drawing Application name. | |
| __property void | set_drawingApplicationName (String *drawingApplicationName) |
| Set the currently stored Drawing Application name. | |
| __property String * | get_hostName () |
| Get the currently attached Host Name. | |
| __property String * | get_serviceName () |
| Get the currently attached Service Name. | |
| SWConnector () | |
| Constructor to create a new SWConnector. | |
| System::Int32 | isConnected () |
| Checks if self is currently connected to SW. | |
| AcptResult | Connect (String *hostName, String *serviceName) |
| Connects to the indicated SW TICS Service. | |
| AcptResult | Disconnect () |
| Disconnects from the current TICS Service. | |
| Database * | GetDatabase (System::String *dbName) |
| Gets the named database. | |
| Database * | GetDatabases ()[] |
| Gets an array of all available databases. | |
| System::UInt32 | GetNUniverses (String *dbName) |
| Gets the number of defined universes for the named database. | |
| World * | GetWorld (System::String *dbName, System::UInt32 universeId, System::UInt32 worldId) |
| Gets the world from the named database. | |
| World * | GetWorld (String *dbName, String *collName, String *gisKey) |
| Gets the world from the named database which is owned by the indicated record. | |
| World * | GetWorlds (System::String *dbName, System::UInt32 universeId)[] |
| Gets an array of worlds from the named database for the indicated universe. | |
| Collection * | GetCollection (System::String *dbName, System::String *collName) |
| Gets the named collection from the indicated database. | |
| Collection * | GetCollections (System::String *dbName)[] |
| Gets an array of Collections from the named database. | |
| BoundingBox * | GetCollectionBounds (String *dbName, String *collName, String *geomName, RetrievalContext *rc) |
| Gets the Bounds for the named collection in the indicated database. | |
| FieldDescriptor * | GetFieldDescriptor (System::String *dbName, System::String *collName, System::String *fieldName) |
| Gets the Field Descriptor for the named field in the indicated collection and database. | |
| FieldDescriptor * | GetFieldDescriptor (FieldDescriptor *fields[], String *fieldName) |
| Helper method to return the fieldDescriptor with the given fieldName. | |
| FieldDescriptor * | GetFieldDescriptors (System::String *dbName, String *collName)[] |
| Gets all Field Descriptors for the indicated collection and database. | |
| FieldDescriptor * | GetFieldDescriptors (String *dbName, String *collName, String *type)[] |
| Gets all Field Descriptors for the indicated collection and database. | |
| Enumerator * | GetEnumerator (String *dbName, String *enumName) |
| Gets the named Enumerator in the indicated database. | |
| Record * | GetARecord (String *dbname, String *collName) |
| Gets the first record in the indicated database and collection. | |
| Record * | GetARecord (String *dbname, String *collName, RetrievalContext *rc) |
| Gets the first record in the indicated database and collection using a retrieval context. | |
| Record * | GetRecord (String *dbname, String *collName, String *gisKey) |
| Gets a record with the required key in the indicated database and collection. | |
| Record * | GetRecord (String *dbname, String *collName, String *gisKey, RetrievalContext *rc) |
| Gets a record with the required key in the indicated database and collection and uses a RetrievalContext to control what is returned. | |
| Record * | GetRecord (String *dbname, Geometry *geom) |
| Gets a record which owns the passed geometry in the indicated database. | |
| Record * | GetRecord (String *dbname, Geometry *geom, RetrievalContext *rc) |
| Gets a record which owns the passed geometry in the indicated database and uses a RetrievalContext. | |
| System::Int32 | SetupGetRecords (String *dbname, String *collName) |
| Sets up a Record retrieval stream for the indicated database and collection. | |
| System::Int32 | SetupGetRecords (String *dbname, String *collName, RetrievalContext *rc) |
| Sets up a Record retrieval stream for the indicated database and collection using a RetrievalContext. | |
| Record * | GetRecords ()[] |
| Gets the next chunk of Records primed with a SetupGetRecords() call. | |
| System::Int32 | SetupGetJoinRecords (String *dbname, String *collName, String *gisKey, String *joinName, RetrievalContext *rc) |
| Sets up a Record retrieval stream for joined records. | |
| Record * | GetJoinRecords ()[] |
| Gets the next chunk of Records primed with a SetupGetJoinRecords() call. | |
| IEnumerator * | GetRecordEnumerator (String *dbname, String *collName) |
| Defines a RecordEnumerator able to iterate records from a named database and collection. | |
| String * | ConvertFieldNames (FieldDescriptor *fields[])[] |
| Helper method to convert an array of FieldDescriptors to Field names. | |
| Alternative * | GetAlternative (System::String *dbName) |
| Gets the current alternative in the named database. | |
| Alternative * | GotoAlternative (System::String *dbName, System::String *altName) |
| Goto the indicated alternative in the named database. | |
| System::Int32 | CreateAlternative (System::String *dbName, System::String *altName) |
| Create the indicated alternative in the named database The alternative name may only be specified in relative terms and must not already exist as a child of the current alternative level. | |
| System::Int32 | DeleteAlternative (System::String *dbName, System::String *altName) |
| Delete the indicated alternative in the named database The alternative name may only be specified in relative terms and must exist as a child of the current alternative level. | |
| String * | GetAceNames ()[] |
| Gets all Ace names for the current server. | |
| String * | GetDisplayScaleNames (String *aceName)[] |
| Gets all Display Scale names for the indicated Ace. | |
| String * | GetDrawingApplicationNames (String *aceName)[] |
| Gets all Drawing Application names for the indicated Ace. | |
| Geometry * | GetGeometry (String *dbname, System::UInt32 geomId[], RetrievalContext *rc) |
| Gets a geometry with the passed geomId in the indicated database and uses a RetrievalContext. | |
| System::Int32 | SetupGetGeometry (String *dbname, String *geomSpec, RetrievalContext *rc) |
| Sets up a Geometry retrieval stream for the indicated database and geomSpec using a RetrievalContext. | |
| Geometry * | GetGeometry ()[] |
| Executes a retrieval of geometry based on a previous SetupGetGeometry() call. | |
| Geometry * | GetClosestGeometry (String *dbname, System::UInt32 maxCount, RetrievalContext *rc)[] |
| Gets an array of geometry closest to the location identified by the passed RetrievalContext. | |
| System::Int32 | InsertRecord (Record *rec, CoordinateSystem *cs, String **gisKey) |
| Inserts the passed record and returns the gisKey for the inserted record. | |
| System::Int32 | UpdateRecord (Record *rec, CoordinateSystem *cs) |
| Updates the passed record. | |
| System::Int32 | DeleteRecord (Record *rec) |
| Deletes the passed record. | |
| System::Int32 | DeleteRecord (String *dbname, String *collName, String *gisKey) |
| Deletes the record with key gisKey in collection collName and Database dbname. | |
| Style * | GetStyle (String *dbname, String *drawingApplication, String *rwoType, String *appType, String *styleType, String *scale, System::Int32 subCode) |
| Returns a Style record describing the reqiured geometry symbology. | |
| SBS::Error * | GetLastError () |
| Retrieve the last error or Null if no error has been recorded. | |
| String * | RunUserProc (String *procName, String *args)[] |
| Runs a user defined procedure and returns the results for processing. | |
The class is used as the root for creating connections and passing requests to Smallworld
|
||||||||||||
|
Connects to the indicated SW TICS Service.
|
|
|
Helper method to convert an array of FieldDescriptors to Field names.
|
|
||||||||||||
|
Create the indicated alternative in the named database The alternative name may only be specified in relative terms and must not already exist as a child of the current alternative level.
|
|
||||||||||||
|
Delete the indicated alternative in the named database The alternative name may only be specified in relative terms and must exist as a child of the current alternative level.
|
|
||||||||||||||||
|
Deletes the record with key gisKey in collection collName and Database dbname.
|
|
|
Deletes the passed record.
|
|
|
Disconnects from the current TICS Service.
|
|
|
Gets all Ace names for the current server.
|
|
|
Gets the current alternative in the named database.
|
|
||||||||||||||||
|
Gets the first record in the indicated database and collection using a retrieval context.
|
|
||||||||||||
|
Gets the first record in the indicated database and collection.
|
|
||||||||||||||||
|
Gets an array of geometry closest to the location identified by the passed RetrievalContext.
|
|
||||||||||||
|
Gets the named collection from the indicated database.
|
|
||||||||||||||||||||
|
Gets the Bounds for the named collection in the indicated database.
|
|
|
Gets an array of Collections from the named database.
|
|
|
Gets the named database.
|
|
|
Gets an array of all available databases.
|
|
|
Gets all Display Scale names for the indicated Ace.
|
|
|
Gets all Drawing Application names for the indicated Ace.
|
|
||||||||||||
|
Gets the named Enumerator in the indicated database.
|
|
||||||||||||
|
Helper method to return the fieldDescriptor with the given fieldName. The passed field descriptor array should already be populated. This method is purely a lookup convenience
|
|
||||||||||||||||
|
Gets the Field Descriptor for the named field in the indicated collection and database.
|
|
||||||||||||||||
|
Gets all Field Descriptors for the indicated collection and database.
Valid keywords are:
|
|
||||||||||||
|
Gets all Field Descriptors for the indicated collection and database.
|
|
|
Executes a retrieval of geometry based on a previous SetupGetGeometry() call.
|
|
||||||||||||||||
|
Gets a geometry with the passed geomId in the indicated database and uses a RetrievalContext.
|
|
|
Gets the next chunk of Records primed with a SetupGetJoinRecords() call.
|
|
|
Retrieve the last error or Null if no error has been recorded. Errors are recorded and stored for each SWConnector call, if an error occurs during a call the error is cached and can be immediately retrieved using this method. If another successful call is made then this clears the error cache and the previous error is lost.
|
|
|
Gets the number of defined universes for the named database.
|
|
||||||||||||||||
|
Gets a record which owns the passed geometry in the indicated database and uses a RetrievalContext.
|
|
||||||||||||
|
Gets a record which owns the passed geometry in the indicated database.
|
|
||||||||||||||||||||
|
Gets a record with the required key in the indicated database and collection and uses a RetrievalContext to control what is returned.
For dataless rwo records the key is the gis_id value for the record delimited by the : character Parameters from RetrievalContext used for this call:
|
|
||||||||||||||||
|
Gets a record with the required key in the indicated database and collection.
For dataless rwo records the key is the gis_id value for the record delimited by the : character
|
|
||||||||||||
|
Defines a RecordEnumerator able to iterate records from a named database and collection.
|
|
|
Gets the next chunk of Records primed with a SetupGetRecords() call.
|
|
||||||||||||||||||||||||||||||||
|
Returns a Style record describing the reqiured geometry symbology.
|
|
||||||||||||||||
|
Gets the world from the named database which is owned by the indicated record.
|
|
||||||||||||||||
|
Gets the world from the named database.
|
|
||||||||||||
|
Gets an array of worlds from the named database for the indicated universe.
|
|
||||||||||||
|
Goto the indicated alternative in the named database.
|
|
||||||||||||||||
|
Inserts the passed record and returns the gisKey for the inserted record.
|
|
|
Checks if self is currently connected to SW.
|
|
||||||||||||
|
Runs a user defined procedure and returns the results for processing.
|
|
||||||||||||||||
|
Sets up a Geometry retrieval stream for the indicated database and geomSpec using a RetrievalContext.
GeomSpec indicates the geom_spec used for a SW geometry_scanner. Valid values are general, chain, area, point, text See gis_ds_view.geometry_scanner() for an exhaustive list of options Parameters from RetrievalContext used for this call:
|
|
||||||||||||||||||||||||
|
Sets up a Record retrieval stream for joined records.
Parameters from RetrievalContext used for this call:
|
|
||||||||||||||||
|
Sets up a Record retrieval stream for the indicated database and collection using a RetrievalContext.
Parameters from RetrievalContext used for this call:
|
|
||||||||||||
|
Sets up a Record retrieval stream for the indicated database and collection.
|
|
||||||||||||
|
Updates the passed record.
|
1.4.6-NO