XRootD
Loading...
Searching...
No Matches
XrdClHttp::QueryResponse Class Reference

#include <XrdClHttpResponses.hh>

Inheritance diagram for XrdClHttp::QueryResponse:
Collaboration diagram for XrdClHttp::QueryResponse:

Public Member Functions

virtual ~QueryResponse ()
std::unique_ptr< ResponseInfoGetResponseInfo ()
void SetResponseInfo (std::unique_ptr< ResponseInfo > info)
Public Member Functions inherited from XrdCl::Buffer
 Buffer (Buffer &&buffer)
 Move Constructor.
 Buffer (uint32_t size=0)
 Constructor.
virtual ~Buffer ()
 Destructor.
void AdvanceCursor (uint32_t delta)
 Advance the cursor.
void Allocate (uint32_t size)
 Allocate the buffer.
void Append (const char *buffer, uint32_t size)
 Append data at the position pointed to by the append cursor.
void Append (const char *buffer, uint32_t size, uint32_t offset)
 Append data at the given offset.
void Free ()
 Free the buffer.
void FromString (const std::string str)
 Fill the buffer from a string.
char * GetBuffer (uint32_t offset=0)
 Get the message buffer.
const char * GetBuffer (uint32_t offset=0) const
 Get the message buffer.
char * GetBufferAtCursor ()
 Get the buffer pointer at the append cursor.
const char * GetBufferAtCursor () const
 Get the buffer pointer at the append cursor.
uint32_t GetCursor () const
 Get append cursor.
uint32_t GetSize () const
 Get the size of the message.
void Grab (char *buffer, uint32_t size)
 Grab a buffer allocated outside.
Bufferoperator= (Buffer &&buffer)
 Move assignment operator.
void ReAllocate (uint32_t size)
 Reallocate the buffer to a new location of a given size.
char * Release ()
 Release the buffer.
void SetCursor (uint32_t cursor)
 Set the cursor.
std::string ToString () const
 Convert the buffer to a string.
void Zero ()
 Zero.

Additional Inherited Members

Protected Member Functions inherited from XrdCl::Buffer
void Steal (Buffer &&buffer)

Detailed Description

Definition at line 64 of file XrdClHttpResponses.hh.

Constructor & Destructor Documentation

◆ ~QueryResponse()

virtual XrdClHttp::QueryResponse::~QueryResponse ( )
inlinevirtual

Definition at line 66 of file XrdClHttpResponses.hh.

66{}

Member Function Documentation

◆ GetResponseInfo()

std::unique_ptr< ResponseInfo > XrdClHttp::QueryResponse::GetResponseInfo ( )
inline

Definition at line 68 of file XrdClHttpResponses.hh.

68{return std::move(m_response_info);}

◆ SetResponseInfo()

void XrdClHttp::QueryResponse::SetResponseInfo ( std::unique_ptr< ResponseInfo > info)
inline

Definition at line 69 of file XrdClHttpResponses.hh.

69{m_response_info = std::move(info);}

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