class GpioConfigurationList

June 4, 2021 ยท View on GitHub

Member values

Member nameData typeDescription
port_configurationsGpioConfigurationPort configuration list

Member functions

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