class ControllerConfigurationList

February 26, 2020 ยท View on GitHub

Member values

Member nameData typeDescription
controller_configurationsControllerConfigurationList of controller configurations

Member functions

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