TSdpTypedTime Class Reference
#include
<mw/sdptypedtime.h>
Link against: sdpcodec.lib
Detailed Description
This class implements the typed time element of the Session Description Protocol.
The normative reference for correct formatting and values is draft-ietf-mmusic-sdp-new-14 unless specified otherwise in member documentation. The implementation supports this normative reference, but does not enforce it fully.
Member Attribute Documentation
Member Enumeration Documentation
Enum TUnit
Enumerator | Value | Description |
---|
ETimeUnitDays | | |
ETimeUnitHours | |
d
|
ETimeUnitMinutes | |
h
|
ETimeUnitSeconds | |
m
|
ETimeUnitNone | |
s
|
Constructor & Destructor Documentation
TSdpTypedTime ( )
Constructs a typed time equal to zero and with no time unit set.
TSdpTypedTime ( TInt64, TUnit )
Constructs a typed time equal to specified value and time unit.
Parameter | Description | aValue | Time value. |
aUnit | Time unit. |
Member Function Documentation
DecodeL ( const TDesC8 & )
Construct a new origin field.
Parameter | Description | aText | A string containing a correctly formatted field value terminated by a CRLF. |
Returns: The new instance.
EncodeL ( RWriteStream & )
Output the field formatted according to SDP syntax and including the terminating CRLF.
Parameter | Description | aStream | Stream used for output. |
ExternalizeL ( RWriteStream & )
Externalizes the object to stream
Parameter | Description | aStream | Stream where the object's state will be stored |
InternalizeL ( RReadStream & )
Creates object from the stream data
Parameter | Description | aStream | Stream where the object's state will be read |
Returns: Initialized object
SetValue ( TInt64, TUnit )
Sets the typed time value.
Parameter | Description | aValue | Time value. |
aUnit | Time unit. |
operator== ( const TSdpTypedTime & )
Compares this instance to another for equality.
Parameter | Description | aObj | Another instance to compare with. |
Returns: ETrue if equal, EFalse if not.