class BridgeList

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
bridgeConfigBridgeConfigList of bridge configuration.

Member functions

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