API published in: S60 2nd Ed
Link against: sdpcodec.lib
None
#include <sdptypedtime.h>
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.
Public Types | |
| enum | TUnit { ETimeUnitDays, ETimeUnitHours, ETimeUnitMinutes, ETimeUnitSeconds, ETimeUnitNone } |
| Time units. More... | |
Public Member Functions | |
| IMPORT_C | TSdpTypedTime () |
| Constructs a typed time equal to zero and with no time unit set. | |
| IMPORT_C | TSdpTypedTime (TInt64 aValue, TUnit aUnit) |
| Constructs a typed time equal to specified value and time unit. | |
| IMPORT_C TBool | operator== (const TSdpTypedTime &aObj) const |
| Compares this instance to another for equality. | |
| IMPORT_C void | SetValue (TInt64 aValue, TUnit aUnit) |
| Sets the typed time value. | |
| void | ExternalizeL (RWriteStream &aStream) const |
| Externalizes the object to stream. | |
| void | EncodeL (RWriteStream &aStream) const |
| Output the field formatted according to SDP syntax and including the terminating CRLF. | |
Static Public Member Functions | |
| static TSdpTypedTime | InternalizeL (RReadStream &aStream) |
| Creates object from the stream data. | |
| static TSdpTypedTime | DecodeL (const TDesC8 &aText) |
| Construct a new origin field. | |
Data Fields | |
| TInt64 | iValue |
| TInt | iUnit |
|
|
Time units. |
|
|
Constructs a typed time equal to zero and with no time unit set. |
| ||||||||||||
|
Constructs a typed time equal to specified value and time unit.
|
|
|
Construct a new origin field.
|
|
|
Output the field formatted according to SDP syntax and including the terminating CRLF.
|
|
|
Externalizes the object to stream.
|
|
|
Creates object from the stream data.
|
|
|
Compares this instance to another for equality.
|
| ||||||||||||
|
Sets the typed time value.
|
|
|