manipulateAttribute overloads

Synopses

Declared in <bdlat_sequencefunctions.h>

Invoke the specified manipulator on the address of the (modifiable) attribute indicated by the specified attributeId of the specified object, supplying manipulator with the corresponding attribute information structure. 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 non‐zero value if the attribute is not found, and the value returned from the invocation of manipulator otherwise.

template<
    class TYPE,
    class MANIPULATOR>
int
manipulateAttribute(
    TYPE* object,
    MANIPULATOR& manipulator,
    int attributeId);

Invoke the specified manipulator on the address of the (modifiable) attribute indicated by the specified attributeName and attributeNameLength of the specified object, supplying manipulator with the corresponding attribute information structure. 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 non‐zero value if the attribute is not found, and the value returned from the invocation of manipulator otherwise.

template<
    class TYPE,
    class MANIPULATOR>
int
manipulateAttribute(
    TYPE* object,
    MANIPULATOR& manipulator,
    char const* attributeName,
    int attributeNameLength);

Created with MrDocs