class AppendActionInformation
August 13, 2019 ยท View on GitHub
Member values
| Member name | Data type | Description |
|---|---|---|
| sequence_handle | SequenceHandle | Sequence to which action must be appended |
| action | Action | Action to append |
Member functions
| Function name | Return type | Input type | Description |
|---|---|---|---|
| has_sequence_handle() const | bool | void | Returns true if sequence_handle is set. |
| sequence_handle() | const SequenceHandle& | void | Returns the current value of sequence_handle. If sequence_handle is not set, returns a SequenceHandle with none of its fields set (possibly sequence_handle::default_instance()). |
| mutable_sequence_handle() | SequenceHandle * | void | Returns a pointer to the mutable SequenceHandle object that stores the field's value. If the field was not set prior to the call, then the returned SequenceHandle will have none of its fields set (i.e. it will be identical to a newly-allocated SequenceHandle). After calling this, has_sequence_handle() will return true and sequence_handle() will return a reference to the same instance of SequenceHandle. |
| clear_sequence_handle() | void | void | Clears the value of the field. After calling this, has_sequence_handle() will return false and sequence_handle() will return the default value. |
| set_allocated_sequence_handle() | void | SequenceHandle * | Sets the SequenceHandle object to the field and frees the previous field value if it exists. If the SequenceHandle pointer is not NULL, the message takes ownership of the allocated SequenceHandle object and has_ SequenceHandle() will return true. Otherwise, if the sequence_handle is NULL, the behavior is the same as calling clear_sequence_handle(). |
| release_sequence_handle() | SequenceHandle * | void | Releases the ownership of the field and returns the pointer of the SequenceHandle object. After calling this, caller takes the ownership of the allocated SequenceHandle object, has_sequence_handle() will return false, and sequence_handle() will return the default value. |
| has_action() const | bool | void | Returns true if action is set. |
| action() | const Action& | void | Returns the current value of action. If action is not set, returns a Action with none of its fields set (possibly action::default_instance()). |
| mutable_action() | Action * | void | Returns a pointer to the mutable Action object that stores the field's value. If the field was not set prior to the call, then the returned Action will have none of its fields set (i.e. it will be identical to a newly-allocated Action). After calling this, has_action() will return true and action() will return a reference to the same instance of Action. |
| clear_action() | void | void | Clears the value of the field. After calling this, has_action() will return false and action() will return the default value. |
| set_allocated_action() | void | Action * | Sets the Action object to the field and frees the previous field value if it exists. If the Action pointer is not NULL, the message takes ownership of the allocated Action object and has_ Action() will return true. Otherwise, if the action is NULL, the behavior is the same as calling clear_action(). |
| release_action() | Action * | void | Releases the ownership of the field and returns the pointer of the Action object. After calling this, caller takes the ownership of the allocated Action object, has_action() will return false, and action() will return the default value. |
Parent topic: Base (C++)