Skip to main content

api::ExecutionContext

Friends

ErrorScope#

friend class ErrorScope 

Type: class

Parameters:

Static Functions

context_count()#

inline

static size_t api::ExecutionContext::context_count ()

Type: size_t

error()#

inline

static Error & api::ExecutionContext::error ()

Type: Error &

exit_fatal(const char *message)#

static void api::ExecutionContext::exit_fatal (const char *message)

Type: void

Parameters:

  • const char * message

free_context()#

inline

static void api::ExecutionContext::free_context ()

Type: void

handle_system_call_null_result(int line, const char message, T value)#

inline

static T * api::ExecutionContext::handle_system_call_null_result (int line, const char *message, T *value)

Type: T *

Parameters:

  • int line
  • const char * message
  • T * value

handle_system_call_result(int line, const char *message, int value)#

inline

static int api::ExecutionContext::handle_system_call_result (int line, const char *message, int value)

Type: int

Parameters:

  • int line
  • const char * message
  • int value

is_error()#

inline

static bool api::ExecutionContext::is_error ()

Type: bool

is_success()#

inline

static bool api::ExecutionContext::is_success ()

Type: bool

reset_error()#

inline

static void api::ExecutionContext::reset_error ()

Type: void

return_value()#

inline

static int api::ExecutionContext::return_value ()

Type: int

Details

This class is the base class for almost all classes in all API frameworks.