class ActionExecutionState

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
action_eventuint32Action event type
handleActionHandleIdentifies the action for which this event occured

Member functions

Function nameReturn typeInput typeDescription
action_event() constuint32voidReturns the current value of action_event. If the action_event is not set, returns 0.
set_action_event()voiduint32Sets the value of action_event. After calling this, action_event() will return value.
clear_action_event()voidvoidClears the value of action_event. After calling this, action_event() will return the empty string/empty bytes.
has_handle() constboolvoidReturns true if handle is set.
handle()const ActionHandle&voidReturns the current value of handle. If handle is not set, returns a ActionHandle with none of its fields set (possibly handle::default_instance()).
mutable_handle()ActionHandle *voidReturns a pointer to the mutable ActionHandle object that stores the field's value. If the field was not set prior to the call, then the returned ActionHandle will have none of its fields set (i.e. it will be identical to a newly-allocated ActionHandle). After calling this, has_handle() will return true and handle() will return a reference to the same instance of ActionHandle.
clear_handle()voidvoidClears the value of the field. After calling this, has_handle() will return false and handle() will return the default value.
set_allocated_handle()voidActionHandle *Sets the ActionHandle object to the field and frees the previous field value if it exists. If the ActionHandle pointer is not NULL, the message takes ownership of the allocated ActionHandle object and has_ ActionHandle() will return true. Otherwise, if the handle is NULL, the behavior is the same as calling clear_handle().
release_handle()ActionHandle *voidReleases the ownership of the field and returns the pointer of the ActionHandle object. After calling this, caller takes the ownership of the allocated ActionHandle object, has_handle() will return false, and handle() will return the default value.

Parent topic: Base (C++)