C# Class qXL.TopicMap

Afficher le fichier Open project: exxeleron/qXL Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

AddTopic() public méthode

Allows adding of the TopicInfo structure to the map.
public AddTopic ( TopicInfo ti ) : void
ti TopicInfo object to be stored in map
Résultat void

ContainsColumn() public méthode

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
Résultat bool

ContainsSymbol() public méthode

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
Résultat bool

ContainsTopic() public méthode

Verifies whether given topic exists in internal mappings
public ContainsTopic ( ExcelRtdServer topic ) : bool
topic ExcelDna.Integration.Rtd.ExcelRtdServer topic id
Résultat bool

GetMapKeys() public méthode

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
Résultat Tuple

GetSymbols() public méthode

Provides means of getting all symbols for given table that are mapped to some topic already.
public GetSymbols ( string tab ) : string[]
tab string table
Résultat string[]

GetTables() public méthode

Lists all the tables that contain mapping for Excel topic ids for RTD.
public GetTables ( ) : IEnumerable
Résultat IEnumerable

GetTopicCount() public méthode

Counts topics connected with given table and symbol
public GetTopicCount ( string tab, string sym ) : int
tab string table
sym string symbol
Résultat int

GetTopics() public méthode

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
Résultat IEnumerable

RemoveTopic() public méthode

Removes given topic from internal mpapings
public RemoveTopic ( ExcelRtdServer topic ) : void
topic ExcelDna.Integration.Rtd.ExcelRtdServer topic id to be removed
Résultat void