C# Класс qXL.TopicMap

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddTopic ( TopicInfo ti ) : void

Allows adding of the TopicInfo structure to the map.

ContainsColumn ( string tab, string sym, string col ) : bool

Verifies whether given column for given symbol in given table is mapped to some topic already

ContainsSymbol ( string tab, string sym ) : bool

Verifies whether symbol for given table is already present in internal mappings.

ContainsTopic ( ExcelRtdServer topic ) : bool

Verifies whether given topic exists in internal mappings

GetMapKeys ( ExcelRtdServer topic ) : Tuple

Provides mapping between given topic id from Excel RTD and table,symbol,column from kdb+

GetSymbols ( string tab ) : string[]

Provides means of getting all symbols for given table that are mapped to some topic already.

GetTables ( ) : IEnumerable

Lists all the tables that contain mapping for Excel topic ids for RTD.

GetTopicCount ( string tab, string sym ) : int

Counts topics connected with given table and symbol

GetTopics ( string tab, string sym, string col ) : IEnumerable

Provides mapping between tab-sym-col triple and list of Excel topic ids for RTD formula. Topics connected with historical values for given symbol are kept together with the Topic for the symbol itself.

RemoveTopic ( ExcelRtdServer topic ) : void

Removes given topic from internal mpapings

Описание методов

AddTopic() публичный Метод

Allows adding of the TopicInfo structure to the map.
public AddTopic ( TopicInfo ti ) : void
ti TopicInfo object to be stored in map
Результат void

ContainsColumn() публичный Метод

Verifies whether given column for given symbol in given table is mapped to some topic already
public ContainsColumn ( string tab, string sym, string col ) : bool
tab string table
sym string symbol
col string column
Результат bool

ContainsSymbol() публичный Метод

Verifies whether symbol for given table is already present in internal mappings.
public ContainsSymbol ( string tab, string sym ) : bool
tab string table
sym string symbol
Результат bool

ContainsTopic() публичный Метод

Verifies whether given topic exists in internal mappings
public ContainsTopic ( ExcelRtdServer topic ) : bool
topic ExcelDna.Integration.Rtd.ExcelRtdServer topic id
Результат bool

GetMapKeys() публичный Метод

Provides mapping between given topic id from Excel RTD and table,symbol,column from kdb+
public GetMapKeys ( ExcelRtdServer topic ) : Tuple
topic ExcelDna.Integration.Rtd.ExcelRtdServer RTD formula topic id
Результат Tuple

GetSymbols() публичный Метод

Provides means of getting all symbols for given table that are mapped to some topic already.
public GetSymbols ( string tab ) : string[]
tab string table
Результат string[]

GetTables() публичный Метод

Lists all the tables that contain mapping for Excel topic ids for RTD.
public GetTables ( ) : IEnumerable
Результат IEnumerable

GetTopicCount() публичный Метод

Counts topics connected with given table and symbol
public GetTopicCount ( string tab, string sym ) : int
tab string table
sym string symbol
Результат int

GetTopics() публичный Метод

Provides mapping between tab-sym-col triple and list of Excel topic ids for RTD formula. Topics connected with historical values for given symbol are kept together with the Topic for the symbol itself.
public GetTopics ( string tab, string sym, string col ) : IEnumerable
tab string table
sym string symbol
col string column
Результат IEnumerable

RemoveTopic() публичный Метод

Removes given topic from internal mpapings
public RemoveTopic ( ExcelRtdServer topic ) : void
topic ExcelDna.Integration.Rtd.ExcelRtdServer topic id to be removed
Результат void