Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)
Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529) Reuters AdfinX Real Time 1.0 Library User Guide (Doc. No. 4510529)
AdfinX Real Time 1.0 Library - User's Guide Arguments None Return Value Returns the status of the source of the list object. Error handling If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error exception is thrown. Example Public list as AdxRtList Set list = New AdxRtList list.Source = "IDN_SELECTFEED" Status = list.SourceStatus 'Sets Status to the status of the "IDN_SELECTFEED" source; this might be RT_SOURCE_UP or RT_SOURCE_DOWN, for example' 2.2. ADXRTLIST METHODS 2.2.1. IsRegisteredField IsRegisteredField(ItemName, FieldName) This property returns a Boolean value which is True if the designated field is contained in the given item of the AdxRtList object. Otherwise it returns False. Arguments ItemName FieldName The name of the item as a string. The name of the field as a string. Return Value True if the field was found, False otherwise. 20
AdfinX Real Time 1.0 Library - User's Guide Example Public list as AdxRtList Set list = New AdxRtList Dim ItemList(0 To 1) as Variant ItemList(0) = "EUR=" ItemList(1) = "JPY=" Dim FieldList(0 To 1) as Variant FieldList(0) = "BID" FieldList(1) = "ASK" list.RegisterItems ItemList, FieldList TestBid = list.IsRegisteredField("EUR=", "BID") 'Sets TestBid to True' TestDName = list.IsRegisteredField("JPY=", "DISPLAY_NAME") 'Sets TestDName to False' 2.2.2. IsRegisteredItem IsRegisteredItem(ItemName) This property returns a Boolean value which is True if the designated item has been registered in the AdxRtList object. Otherwise it returns False. Arguments ItemName The name of the item as a string. Return Value True if the item was found, False otherwise. Example Public list as AdxRtList Set list = New AdxRtList Dim ItemList(0 To 1) as Variant ItemList(0) = "EUR=" ItemList(1) = "JPY=" list.RegisterItems ItemList, FieldList TestEUR = list.IsRegisteredItem("EUR=") 'Sets TestEUR to True' TestCHF = list.IsRegisteredItem("CHF=") 'Sets TestCHF to False' 21
- Page 1 and 2: AdfinX Real Time 1.0 Library User's
- Page 3 and 4: AdfinX Real Time 1.0 Library - User
- Page 5 and 6: AdfinX Real Time 1.0 Library - User
- Page 7 and 8: AdfinX Real Time 1.0 Library - User
- Page 9 and 10: AdfinX Real Time 1.0 Library - User
- Page 11 and 12: AdfinX Real Time 1.0 Library - User
- Page 13 and 14: AdfinX Real Time 1.0 Library - User
- Page 15 and 16: AdfinX Real Time 1.0 Library - User
- Page 17 and 18: AdfinX Real Time 1.0 Library - User
- Page 19: AdfinX Real Time 1.0 Library - User
- Page 23 and 24: AdfinX Real Time 1.0 Library - User
- Page 25 and 26: AdfinX Real Time 1.0 Library - User
- Page 27 and 28: AdfinX Real Time 1.0 Library - User
- Page 29 and 30: AdfinX Real Time 1.0 Library - User
- Page 31 and 32: AdfinX Real Time 1.0 Library - User
- Page 33 and 34: AdfinX Real Time 1.0 Library - User
- Page 35 and 36: AdfinX Real Time 1.0 Library - User
- Page 37 and 38: AdfinX Real Time 1.0 Library - User
- Page 39 and 40: AdfinX Real Time 1.0 Library - User
- Page 41 and 42: AdfinX Real Time 1.0 Library - User
- Page 43 and 44: AdfinX Real Time 1.0 Library - User
- Page 45 and 46: AdfinX Real Time 1.0 Library - User
- Page 47 and 48: AdfinX Real Time 1.0 Library - User
- Page 49 and 50: AdfinX Real Time 1.0 Library - User
- Page 51: AdfinX Real Time 1.0 Library - User
<strong>AdfinX</strong> <strong>Real</strong> <strong>Time</strong> <strong>1.0</strong> <strong>Library</strong> - <strong>User</strong>'s <strong>Guide</strong><br />
Arguments<br />
<strong>No</strong>ne<br />
Return Value<br />
Returns the status of the source of the list object.<br />
Error handling<br />
If the Source has not been set (i.e. the source is in the state RT_SOURCE_NOT_SET) an error<br />
exception is thrown.<br />
Example<br />
Public list as AdxRtList<br />
Set list = New AdxRtList<br />
list.Source = "IDN_SELECTFEED"<br />
Status = list.SourceStatus<br />
'Sets Status to the status of the "IDN_SELECTFEED" source;<br />
this might be RT_SOURCE_UP or RT_SOURCE_DOWN, for<br />
example'<br />
2.2. ADXRTLIST METHODS<br />
2.2.1. IsRegisteredField<br />
IsRegisteredField(ItemName, FieldName)<br />
This property returns a Boolean value which is True if the designated field is contained in the given<br />
item of the AdxRtList object. Otherwise it returns False.<br />
Arguments<br />
ItemName<br />
FieldName<br />
The name of the item as a string.<br />
The name of the field as a string.<br />
Return Value<br />
True if the field was found, False otherwise.<br />
20