|
C++ YT Wrapper
C++ library for working with YT clusters
|
#include <tvm.h>
Public Member Functions | |
| template<class T, class = typename std::enable_if_t<std::is_convertible_v<T*, IServiceTicketAuth*>>> | |
| IServiceTicketAuthPtrWrapper (const TIntrusivePtr< T > ptr) | |
Public Attributes | |
| NYT::TIntrusivePtr< IServiceTicketAuth > | Ptr |
| Wrapped pointer. | |
This wrapper is required because NYT::NAuth::IServiceTicketAuthPtr is NYT::TIntrusivePtr, and, if we used this pointer in interfaces of mapreduce/yt client, a lot of users of this library could get unexpected build errors that TIntrusivePtr is ambiguous (from :: namespace and from NYT:: namespace). So we use this wrapper in our interfaces to avoid such problems for users.
|
inline |
Construct wrapper from NYT::TIntrusivePtr
This constructor is implicit so users can transparently pass NYT::TIntrusivePtr to the functions of mapreduce/yt client.