Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::experimental::status_builder Class Reference

Helper class used in report_error template funcstions to return status from API calls. More...

#include <api_status.h>

Public Member Functions

 status_builder (i_trace *trace, api_status *status, int code)
 Construct a new status builder object. More...
 
 ~status_builder ()
 
 operator int () const
 return the status when cast to an int More...
 
 status_builder (const status_builder &&)=delete
 
 status_builder (const status_builder &)=delete
 
status_builderoperator= (const status_builder &)=delete
 
status_builderoperator= (status_builder &&)=delete
 

Detailed Description

Helper class used in report_error template funcstions to return status from API calls.

Constructor & Destructor Documentation

◆ status_builder() [1/3]

VW::experimental::status_builder::status_builder ( i_trace trace,
api_status status,
int  code 
)

Construct a new status builder object.

Parameters
tracei_trace object which can be null
statusapi_status object which can be null
codeError code

◆ ~status_builder()

VW::experimental::status_builder::~status_builder ( )

◆ status_builder() [2/3]

VW::experimental::status_builder::status_builder ( const status_builder &&  )
delete

◆ status_builder() [3/3]

VW::experimental::status_builder::status_builder ( const status_builder )
delete

Member Function Documentation

◆ operator int()

VW::experimental::status_builder::operator int ( ) const

return the status when cast to an int

◆ operator=() [1/2]

status_builder & VW::experimental::status_builder::operator= ( const status_builder )
delete

◆ operator=() [2/2]

status_builder & VW::experimental::status_builder::operator= ( status_builder &&  )
delete

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