BDE 4.14.0 Production release
Loading...
Searching...
No Matches

Classes

struct  IsSequence
 
struct  IsSequence< s_baltst::TestDynamicType< VALUE_TYPE > >
 
struct  IsSequence< s_baltst::TestSequence< V0, V1, V2 > >
 
struct  IsSequence< s_baltst::TestTaggedValue< TAG_TYPE, VALUE_TYPE > >
 

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

◆ accessAttribute() [1/2]

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.

◆ accessAttribute() [2/2]

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.

◆ accessAttributes()

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).

◆ bdlat_sequenceAccessAttribute() [1/2]

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

◆ bdlat_sequenceAccessAttribute() [2/2]

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

◆ bdlat_sequenceAccessAttributes()

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

◆ bdlat_sequenceHasAttribute() [1/2]

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

◆ bdlat_sequenceHasAttribute() [2/2]

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

◆ bdlat_sequenceManipulateAttribute() [1/2]

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

◆ bdlat_sequenceManipulateAttribute() [2/2]

template<class TYPE , class MANIPULATOR >
int bdlat_SequenceFunctions::bdlat_sequenceManipulateAttribute ( TYPE *  object,
MANIPULATOR &  manipulator,
int  attributeId 
)

◆ bdlat_sequenceManipulateAttributes()

template<class TYPE , class MANIPULATOR >
int bdlat_SequenceFunctions::bdlat_sequenceManipulateAttributes ( TYPE *  object,
MANIPULATOR &  manipulator 
)

◆ hasAttribute() [1/2]

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.

◆ hasAttribute() [2/2]

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.

◆ manipulateAttribute() [1/2]

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.

◆ manipulateAttribute() [2/2]

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.

◆ manipulateAttributes()

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).