#include <ATQuoteStreamResponseParser.h>
ATQuoteStreamResponseParser class. This class is used for parsing the quote stream response initiated by ATCreateQuoteStreamRequest.
- See Also
- ATCreateQuoteStreamRequest
virtual ATQuoteStreamResponseParser::~ATQuoteStreamResponseParser |
( |
void |
| ) |
|
|
virtual |
Get one of ATStreamResponseType enum types for current response.
- Returns
- ATStreamRespomnseType for current response.
- Note
- This method can only be called after successful call to MoveToFirstDataItem or MoveToNextDataItem.
- See Also
- ATStreamResponseType
LPATSYMBOL ATQuoteStreamResponseParser::GetSymbol |
( |
| ) |
const |
Get pointer to ATSYMBOL for current response.
- Returns
- ATSYMBOL for current response if object is in valid state, NULL otherwise.
- Note
- This method can only be called after successful call to MoveToFirstDataItem or MoveToNextDataItem.
- See Also
- ATSYMBOL
Get one of ATSymbolStatus enum types for current response.
- Returns
- ATSymbolStatus for current response.
- Note
- This method can only be called after successful call to MoveToFirstDataItem or MoveToNextDataItem.
- See Also
- ATSymbolStatus
void ATQuoteStreamResponseParser::MoveToBeginning |
( |
| ) |
|
Move internal parser pointer to beginning of ATQUOTEDB_RESPONSE response.
- See Also
- ATQUOTEDB_RESPONSE
bool ATQuoteStreamResponseParser::MoveToFirstDataItem |
( |
| ) |
|
Move internal parser pointer to first data item within ATQUOTEDB_RESPONSE response.
- Returns
- TRUE if pointer was moved successfully, FALSE otherwise.
- See Also
- ATQUOTEDB_RESPONSE
bool ATQuoteStreamResponseParser::MoveToNextDataItem |
( |
| ) |
|
Move internal parser pointer to next data item within ATQUOTEDB_RESPONSE response.
- Note
- This method can only be called after successful call to MoveToFirstDataItem.
- Returns
- TRUE if pointer was moved successfully, FALSE otherwise.
- See Also
- ATQUOTEDB_RESPONSE
-
MoveToFirstDataItem