Click or drag to resize

CLTB Class

An LTB object is typically created from a CSV (comma-separated values) file, and is a table of information that may be accessed by row or column. The LTB class is recommended for use with small tables produced from short lists (of the order of 1000's or records) such as the different geographic projections and their defining parameters. Large tables, such as those required for table-lookup functions, should be accessed using the TB class.
Inheritance Hierarchy

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public class CLTB : CHANDLE

public class CLTB : CHANDLE

The CLTB type exposes the following members.

Methods
  NameDescription
Public methodAddRecord
Add a new record.
Public methodContract
Contract the contents of two same-key and same-fields tables.
Public methodStatic memberCreate
Creates a LTB object from a file.
Public methodStatic memberCreateCrypt
Creates a LTB object from an encrypted file.
Public methodStatic memberCreateEx
Creates a LTB object from a file.
Public methodDeleteRecord
Delete a record.
Protected methodDispose
Releases the unmanaged resources used by the CLTB and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodGetConLST
Populate a LST with LTB names from matching fields.
Public methodGetLST
Populate an LST with LTB names
Public methodGetLST2
Populate an LST with LTB names and values
Public methodiFields
Get number of fields.
Public methodiFindField
Return the field number for the specified field.
Public methodiFindKey
Return the key index of a record.
Public methodIGetEnglishString(Int32, Int32, String)
Get the English entry from the LTB
Public methodIGetEnglishString(Int32, Int32, String, Int32)
Get the English entry from the LTB
Public methodIGetField(Int32, String)
Get a field name by index.
Public methodIGetField(Int32, String, Int32)
Get a field name by index.
Public methodiGetInt
Get a int entry from the LTB
Public methodIGetString(Int32, Int32, String)
Get an entry from the LTB
Public methodIGetString(Int32, Int32, String, Int32)
Get an entry from the LTB
Public methodiRecords
Get number of records in LTB.
Public methodiSearch
Search for a record containing field value
Public methodMerge
Merge the contents of two same-key tables.
Public methodrGetReal
Get a real entry from the LTB
Public methodSave
Save LTB changes to existing or new file
Public methodSaveCrypt
Save LTB to a new file using encryption
Public methodSetInt
Set a long entry
Public methodSetReal
Set a double entry
Public methodSetString
Set an entry
Top
See Also