S60 3rd Edition SDK for Symbian OS
Example Applications Guide

TChatSdpAttributeParser::TChatSdpAttributeNode Class Reference

#include <ChatSdpAttributeParser.h>

List of all members.

Public Member Functions

 TChatSdpAttributeNode ()
 ~TChatSdpAttributeNode ()
void SetCommand (TNodeCommand aCommand)
void SetType (TSdpElementType aType)
void SetValue (TInt aValue)
TNodeCommand Command () const
TSdpElementType Type () const
TInt Value () const

Private Attributes

TNodeCommand iCommand
TSdpElementType iType
TInt iValue


Detailed Description

TChatSdpAttributeNode An instance of TChatSdpAttributeNode is used to determine how to parse an SDP attribute value data element

Definition at line 60 of file ChatSdpAttributeParser.h.


Constructor & Destructor Documentation

TChatSdpAttributeParser::TChatSdpAttributeNode::TChatSdpAttributeNode (   ) 
 

TChatSdpAttributeNode Construct a TChatSdpAttributeNode

Definition at line 225 of file ChatSdpAttributeParser.cpp.

00226   {
00227   // no implementation needed
00228   }

TChatSdpAttributeParser::TChatSdpAttributeNode::~TChatSdpAttributeNode (   ) 
 

~TChatSdpAttributeNode destructor

Definition at line 235 of file ChatSdpAttributeParser.cpp.

00236   {
00237     // no implementation needed
00238     }


Member Function Documentation

void TChatSdpAttributeParser::TChatSdpAttributeNode::SetCommand (  TNodeCommand  aCommand  ) 
 

SetCommand set value of iCommand member variable, iCommand is the command for the node

Parameters:
aCommand the value of the iCommand

Definition at line 245 of file ChatSdpAttributeParser.cpp.

References iCommand.

00246     {
00247     iCommand = aCommand;
00248     }

void TChatSdpAttributeParser::TChatSdpAttributeNode::SetType (  TSdpElementType  aType  ) 
 

SetType set value of iType member variable iType is the expected type

Parameters:
aType the value of the iType

Definition at line 255 of file ChatSdpAttributeParser.cpp.

References iType.

00256     {
00257     iType = aType;
00258     }

void TChatSdpAttributeParser::TChatSdpAttributeNode::SetValue (  TInt  aValue  ) 
 

SetValue set value of iValue member variable, iValue the expected value for ECheckValue,the value of aKey passed to the observer for EReadValue

Parameters:
aValue the value of the iValue

Definition at line 265 of file ChatSdpAttributeParser.cpp.

References iValue.

00266     {
00267     iValue = aValue;
00268     }

TChatSdpAttributeParser::TNodeCommand TChatSdpAttributeParser::TChatSdpAttributeNode::Command (   )  const
 

Command get value of iCommand member variable

Returns:
the value of the iCommand

Definition at line 275 of file ChatSdpAttributeParser.cpp.

References iCommand.

00276     {
00277     return iCommand;
00278     }

TSdpElementType TChatSdpAttributeParser::TChatSdpAttributeNode::Type (   )  const
 

Type get value of iType member variable

Returns:
the value of the iType

Definition at line 285 of file ChatSdpAttributeParser.cpp.

References iType.

00286     {
00287     return iType;
00288     }

TInt TChatSdpAttributeParser::TChatSdpAttributeNode::Value (   )  const
 

Value get value of iValue member variable

Returns:
the value of the iValue

Definition at line 295 of file ChatSdpAttributeParser.cpp.

References iValue.

00296     {
00297     return iValue;
00298     }   


Member Data Documentation

TNodeCommand TChatSdpAttributeParser::TChatSdpAttributeNode::iCommand [private]
 

iCommand the command for the node

Definition at line 127 of file ChatSdpAttributeParser.h.

TSdpElementType TChatSdpAttributeParser::TChatSdpAttributeNode::iType [private]
 

iType the expected type

Definition at line 132 of file ChatSdpAttributeParser.h.

TInt TChatSdpAttributeParser::TChatSdpAttributeNode::iValue [private]
 

iValue the expected value for ECheckValue,the value of aKey passed to the observer for EReadValue

Definition at line 138 of file ChatSdpAttributeParser.h.


© Nokia 2006

Back to top