BLPAPI C++ 3.26.6
Loading...
Searching...
No Matches
RequestRef Class Reference

#include <blpapi_request.h>

Detailed Description

A proxy type enabling move semantics for Request in C++03.

This class implements the Colvin-Gibbons trick, allowing a Request to be moved (transferred) from a non-const lvalue. Users do not construct RequestRef directly; it is obtained via Request::operator RequestRef() and consumed by the Request move constructor.

See Component blpapi_request

Public Member Functions

 RequestRef (Request *request_p)
Requestptr () const
Requestoperator-> () const

Constructor & Destructor Documentation

◆ RequestRef()

RequestRef ( Request * request_p)

Create a RequestRef referring to the specified request_p.

Member Function Documentation

◆ operator->()

Request * operator-> ( ) const

Return a pointer to the Request this object refers to.

◆ ptr()

Request * ptr ( ) const

Return a pointer to the Request this object refers to.


The documentation for this class was generated from the following file: