Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 2.24 KB

File metadata and controls

22 lines (16 loc) · 2.24 KB

class ControllerConfigurationList

Member values

Member name Data type Description
controller_configurations ControllerConfiguration List of controller configurations

Member functions

Function name Return type Input type Description
controller_configurations_size() const int void Returns the number of elements currently in the field.
controller_configurations() const const ControllerConfiguration int index Returns 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 index Returns 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* void Adds 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() void void Removes all elements from the field. After calling this, controller_configurations_size() will return zero.
controller_configurations() const const RepeatedPtrField< ControllerConfiguration>& void Returns the underlying RepeatedPtrField that stores the field's elements. This container class provides STL-like iterators and other methods.
mutable_controller_configurations() RepeatedPtrField< ControllerConfiguration>* void Returns 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++)