C# 클래스 qXL.TopicMap

파일 보기 프로젝트 열기: exxeleron/qXL 1 사용 예제들

공개 메소드들

메소드 설명
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