|
Longbridge OpenAPI C++ SDK
|
Content context. More...
#include <content_context.hpp>
Public Member Functions | |
| ContentContext () | |
| ContentContext (const lb_content_context_t *ctx) | |
| ContentContext (const ContentContext &ctx) | |
| ContentContext (ContentContext &&ctx) | |
| ~ContentContext () | |
| ContentContext & | operator= (const ContentContext &ctx) |
| void | topics (const std::string &symbol, AsyncCallback< ContentContext, std::vector< TopicItem >> callback) const |
| Get discussion topics list for a symbol. More... | |
| void | news (const std::string &symbol, AsyncCallback< ContentContext, std::vector< NewsItem >> callback) const |
| Get news list for a symbol. More... | |
Static Public Member Functions | |
| static ContentContext | create (const Config &config) |
Content context.
| longbridge::content::ContentContext::ContentContext | ( | ) |
| longbridge::content::ContentContext::ContentContext | ( | const lb_content_context_t * | ctx | ) |
| longbridge::content::ContentContext::ContentContext | ( | const ContentContext & | ctx | ) |
| longbridge::content::ContentContext::ContentContext | ( | ContentContext && | ctx | ) |
| longbridge::content::ContentContext::~ContentContext | ( | ) |
|
static |
| void longbridge::content::ContentContext::news | ( | const std::string & | symbol, |
| AsyncCallback< ContentContext, std::vector< NewsItem >> | callback | ||
| ) | const |
Get news list for a symbol.
| ContentContext& longbridge::content::ContentContext::operator= | ( | const ContentContext & | ctx | ) |
| void longbridge::content::ContentContext::topics | ( | const std::string & | symbol, |
| AsyncCallback< ContentContext, std::vector< TopicItem >> | callback | ||
| ) | const |
Get discussion topics list for a symbol.