Location:
btsdp.h
Link against: bluetooth.lib
MSdpAttributeValueVisitor
Supported from 6.1
Abstract interface that can be implemented to receive an enumeration of the values in an attribute list.
The class member functions are called by an CSdpAttrValue
(or one of its sub-classes) object when CSdpAttrValue::AcceptVisitorL()
is called.
Note that:
When AcceptVisitorL()
is called on attributes that are not lists (not DEA or DES), only VisitAttributeValueL()
is called, passing the attribute value object itself (i.e. *this
), and the value attribute type.
When AcceptVisitorL()
is called on attributes that are lists (DEA or DES), VisitAttributeValueL()
is called for each member of the list
This implements the standard Visitor pattern.
Defined in MSdpAttributeValueVisitor
:
EndListL()
, StartListL()
, VisitAttributeValueL()
virtual void VisitAttributeValueL(CSdpAttrValue &aValue, TSdpElementType aType)=0;
Called to pass an attribute value.
|
virtual void StartListL(CSdpAttrValueList &aList)=0;
Called to indicate the start of a list of attribute values.
This call is followed by a call to VisitAttributeValueL()
for each attribute value in the list, and concluded by a call to EndList()
.
|
virtual void EndListL()=0;
Called to indicate the end of a list of attribute values.