User Tools

Site Tools


Table of Contents

SQLWizard sample

Documentation | Samples | SQLWizard


How to create a wizard for SQL connection: to select a database, a layer, and a layer format.


This sample illustrates use of:

Name Description
TGIS_TokenizerA simple tokenizer for parameters line splitting.
TGIS_Tokenizer.ExecuteExDo tokenizing of simple stream like “aaaa”,“aaaa”,123,“aaaa”.
TGIS_Tokenizer.ExecuteDo tokenizing.
TGIS_LayerVectorSqlAbstract.SQLParametersExList of additional connection parameters.
TGIS_Layer.GetAvailableLayersGets a list of layers available in storage.
TGIS_Config.SaveSave backup copy of configuration file.
TGIS_Config.WriteStringWrite parameters given by _name.
TGIS_Config.SectionBy assigning this value you are overriding default TGIS_Config behavior.
TGIS_ConfigFactory.CreateConfigCreate a config instance based on a path extension.


This sample is available on following platforms (click to see source code):

2020/05/26 09:38

Page Tools