class SequenceTasks

February 26, 2020 ยท View on GitHub

Member values

Member nameData typeDescription
sequence_tasksSequenceTaskList of tasks

Member functions

Function nameReturn typeInput typeDescription
sequence_tasks_size() constintvoidReturns the number of elements currently in the field.
sequence_tasks() constconst SequenceTaskint indexReturns the element at the given zero-based index. Calling this method with index outside of [0, sequence_tasks_size()) yields undefined behavior.
mutable_sequence_tasks()SequenceTask*int indexReturns a pointer to the mutable SequenceTask object that stores the value of the element at the given zero-based index. Calling this method with index outside of [0, sequence_tasks_size()) yields undefined behavior.
add_sequence_tasks()SequenceTask*voidAdds a new element and returns a pointer to it. The returned SequenceTask is mutable and will have none of its fields set (i.e. it will be identical to a newly-allocated SequenceTask).
clear_sequence_tasks()voidvoidRemoves all elements from the field. After calling this, sequence_tasks_size() will return zero.
sequence_tasks() constconst RepeatedPtrField< SequenceTask>&voidReturns the underlying RepeatedPtrField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_sequence_tasks()RepeatedPtrField< SequenceTask>*voidReturns a pointer to the underlying mutable RepeatedPtrField that stores the field's elements. This container class provides STL-like iterators and other methods.

Parent topic: Base (C++)