dxFeed Graal CXX API v9.0.0
Loading...
Searching...
No Matches
AuthOrderSource Struct Referencefinal

The order sources and the symbols for each order source available to the client of a PriceLevelService. More...

#include <AuthOrderSource.hpp>

Inheritance diagram for AuthOrderSource:

Public Types

using Ptr = std::shared_ptr<AuthOrderSource>
 The alias to a type of shared pointer to the AuthOrderSource object.
Public Types inherited from SharedEntity
using Ptr = std::shared_ptr<SharedEntity>
 The alias to a type of shared pointer to the SharedEntity object.

Public Member Functions

std::unordered_map< std::int32_t, std::unordered_set< std::string > > getByIds () const
 Returns the available symbols by order source id (OrderSource::id()).
std::unordered_map< OrderSource, std::unordered_set< std::string > > getByOrderSources () const
 Returns the available symbols by order source.
Public Member Functions inherited from SharedEntity
template<typename T>
bool is () const noexcept
 Checks that the object is of type T: its dynamic type is T or derived from T.
template<typename T>
std::shared_ptr< T > sharedAs () noexcept
 Returns a pointer to the current object wrapped in a smart pointer to type T or std::shared_ptr<T>{nullptr} if the object is not managed by std::shared_ptr.
template<typename T>
std::shared_ptr< T > sharedAs () const noexcept
 Returns a pointer to the current object wrapped in a smart pointer to type T or std::shared_ptr<T>{nullptr} if the object is not managed by std::shared_ptr.
virtual std::string toString () const
 Returns a string representation of the current object.
Public Member Functions inherited from Entity
virtual ~Entity () noexcept
 The default virtual d-tor.

Additional Inherited Members

Static Public Member Functions inherited from RequireMakeShared< AuthOrderSource >
static auto createShared (Args &&...args)
 Creates a smart pointer to an object.

Detailed Description

The order sources and the symbols for each order source available to the client of a PriceLevelService.

The sources and the symbols are filtered according to the client permissions.

It is returned by PriceLevelService::getAuthOrderSource().

Member Function Documentation

◆ getByIds()

std::unordered_map< std::int32_t, std::unordered_set< std::string > > AuthOrderSource::getByIds ( ) const

Returns the available symbols by order source id (OrderSource::id()).

Returns
the available symbols by order source id.

◆ getByOrderSources()

std::unordered_map< OrderSource, std::unordered_set< std::string > > AuthOrderSource::getByOrderSources ( ) const

Returns the available symbols by order source.

The sources are made with OrderSource::valueOf() from the ids of getByIds().

Returns
the available symbols by order source.