class::api::Result

Members

Result(

int return_value,
int error_number
)

int error_number() const
bool is_error() const
int return_value() const
void set_error_number(

int error_number
)

void set_return_value(

int return_value
)

Details

Result(

int return_value,
int error_number
)


int error_number() const

Returns the C errno value.


bool is_error() const

Returns true if the return value is less than zero indicating an error condition.


int return_value() const

Returns the return value associated with the result.


void set_error_number(

int error_number
)


void set_return_value(

int return_value
)


X

Thanks for Coming!

Subscribe to news and updates