BloombergLP::bdlat_SequenceFunctions

This namespace provides methods that expose "sequence" behavior for "sequence" types. See the component-level documentation for more information.

Types

NameDescription
IsSequence This struct should be specialized for third-party types that need to expose "sequence" behavior. See the component-level documentation for further information.

Functions

NameDescription
accessAttribute accessAttribute overloads
accessAttributes Invoke the specified accessor sequentially on each attribute of the specified object, supplying accessor with the corresponding attribute information structure until such invocation returns a non-zero value. The supplied accessor must be a callable type that can be called as if it had the following signature: ` template <class t_INFO> int accessor(const ATTRIBUTE_TYPE& attribute, const t_INFO& info); ` Return the value from the last invocation of accessor (i.e., the invocation that terminated the sequence).
bdlat_sequenceAccessAttribute bdlat_sequenceAccessAttribute overloads
bdlat_sequenceAccessAttributes Default customization-point implementation of accessAttributes.
bdlat_sequenceHasAttribute bdlat_sequenceHasAttribute overloads
bdlat_sequenceManipulateAttribute bdlat_sequenceManipulateAttribute overloads
bdlat_sequenceManipulateAttributes Default customization-point implementation of manipulateAttributes.
hasAttribute hasAttribute overloads
manipulateAttribute manipulateAttribute overloads
manipulateAttributes Invoke the specified manipulator sequentially on the address of each (modifiable) attribute of the specified object, supplying manipulator with the corresponding attribute information structure until such invocation returns non-zero value. The supplied manipulator must be a callable type that can be called as if it had the following signature: ` template <class t_INFO> int manipulator(ATTRIBUTE_TYPE *attribute, const t_INFO& info); ` Return the value from the last invocation of manipulator (i.e., the invocation that terminated the sequence).