Quick Links:

bal | bbl | bdl | bsl

Classes | Functions

bdlat_SequenceFunctions Namespace Reference
[Component bdlat_sequencefunctions]

Classes

struct  IsSequence

Functions

template<class TYPE , class MANIPULATOR >
int manipulateAttribute (TYPE *object, MANIPULATOR &manipulator, const char *attributeName, int attributeNameLength)
template<class TYPE , class MANIPULATOR >
int manipulateAttribute (TYPE *object, MANIPULATOR &manipulator, int attributeId)
template<class TYPE , class MANIPULATOR >
int manipulateAttributes (TYPE *object, MANIPULATOR &manipulator)
template<class TYPE , class ACCESSOR >
int accessAttribute (const TYPE &object, ACCESSOR &accessor, const char *attributeName, int attributeNameLength)
template<class TYPE , class ACCESSOR >
int accessAttribute (const TYPE &object, ACCESSOR &accessor, int attributeId)
template<class TYPE , class ACCESSOR >
int accessAttributes (const TYPE &object, ACCESSOR &accessor)
template<class TYPE >
bool hasAttribute (const TYPE &object, const char *attributeName, int attributeNameLength)
template<class TYPE >
bool hasAttribute (const TYPE &object, int attributeId)
template<class TYPE , class MANIPULATOR >
int bdlat_sequenceManipulateAttribute (TYPE *object, MANIPULATOR &manipulator, const char *attributeName, int attributeNameLength)
template<class TYPE , class MANIPULATOR >
int bdlat_sequenceManipulateAttribute (TYPE *object, MANIPULATOR &manipulator, int attributeId)
template<class TYPE , class MANIPULATOR >
int bdlat_sequenceManipulateAttributes (TYPE *object, MANIPULATOR &manipulator)
template<class TYPE , class ACCESSOR >
int bdlat_sequenceAccessAttribute (const TYPE &object, ACCESSOR &accessor, const char *attributeName, int attributeNameLength)
template<class TYPE , class ACCESSOR >
int bdlat_sequenceAccessAttribute (const TYPE &object, ACCESSOR &accessor, int attributeId)
template<class TYPE , class ACCESSOR >
int bdlat_sequenceAccessAttributes (const TYPE &object, ACCESSOR &accessor)
template<class TYPE >
bool bdlat_sequenceHasAttribute (const TYPE &object, const char *attributeName, int attributeNameLength)
template<class TYPE >
bool bdlat_sequenceHasAttribute (const TYPE &object, int attributeId)

Function Documentation

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

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. 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 bdlat_SequenceFunctions::manipulateAttribute ( TYPE *  object,
MANIPULATOR &  manipulator,
int  attributeId 
)

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. 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 bdlat_SequenceFunctions::manipulateAttributes ( TYPE *  object,
MANIPULATOR &  manipulator 
)

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. Return the value from the last invocation of manipulator (i.e., the invocation that terminated the sequence).

template<class TYPE , class ACCESSOR >
int bdlat_SequenceFunctions::accessAttribute ( const TYPE &  object,
ACCESSOR &  accessor,
const char *  attributeName,
int  attributeNameLength 
)

Invoke the specified accessor on the (non-modifiable) attribute of the specified object indicated by the specified attributeName and attributeNameLength, supplying accessor with the corresponding attribute information structure. Return non-zero value if the attribute is not found, and the value returned from the invocation of accessor otherwise.

template<class TYPE , class ACCESSOR >
int bdlat_SequenceFunctions::accessAttribute ( const TYPE &  object,
ACCESSOR &  accessor,
int  attributeId 
)

Invoke the specified accessor on the attribute of the specified object with the given attributeId, supplying accessor with the corresponding attribute information structure. Return non-zero if the attribute is not found, and the value returned from the invocation of accessor otherwise.

template<class TYPE , class ACCESSOR >
int bdlat_SequenceFunctions::accessAttributes ( const TYPE &  object,
ACCESSOR &  accessor 
)

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. Return the value from the last invocation of accessor (i.e., the invocation that terminated the sequence).

template<class TYPE >
bool bdlat_SequenceFunctions::hasAttribute ( const TYPE &  object,
const char *  attributeName,
int  attributeNameLength 
)

Return true if the specified object has an attribute with the specified attributeName of the specified attributeNameLength, and false otherwise.

template<class TYPE >
bool bdlat_SequenceFunctions::hasAttribute ( const TYPE &  object,
int  attributeId 
)

Return true if the specified object has an attribute with the specified attributeId, and false otherwise.

template<class TYPE , class MANIPULATOR >
int bdlat_SequenceFunctions::bdlat_sequenceManipulateAttribute ( TYPE *  object,
MANIPULATOR &  manipulator,
const char *  attributeName,
int  attributeNameLength 
)
template<class TYPE , class MANIPULATOR >
int bdlat_SequenceFunctions::bdlat_sequenceManipulateAttribute ( TYPE *  object,
MANIPULATOR &  manipulator,
int  attributeId 
)
template<class TYPE , class MANIPULATOR >
int bdlat_SequenceFunctions::bdlat_sequenceManipulateAttributes ( TYPE *  object,
MANIPULATOR &  manipulator 
)
template<class TYPE , class ACCESSOR >
int bdlat_SequenceFunctions::bdlat_sequenceAccessAttribute ( const TYPE &  object,
ACCESSOR &  accessor,
const char *  attributeName,
int  attributeNameLength 
)
template<class TYPE , class ACCESSOR >
int bdlat_SequenceFunctions::bdlat_sequenceAccessAttribute ( const TYPE &  object,
ACCESSOR &  accessor,
int  attributeId 
)
template<class TYPE , class ACCESSOR >
int bdlat_SequenceFunctions::bdlat_sequenceAccessAttributes ( const TYPE &  object,
ACCESSOR &  accessor 
)
template<class TYPE >
bool bdlat_SequenceFunctions::bdlat_sequenceHasAttribute ( const TYPE &  object,
const char *  attributeName,
int  attributeNameLength 
)
template<class TYPE >
bool bdlat_SequenceFunctions::bdlat_sequenceHasAttribute ( const TYPE &  object,
int  attributeId 
)