CSdpRepeatField Class Reference
class CSdpRepeatField : public CBase
|
This class encapsulates the repeat times field 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.
sdpcodec.lib
Constructor & Destructor Documentation
CSdpRepeatField(const TSdpTypedTime, const TSdpTypedTime)
CSdpRepeatField()
CSdpRepeatField
|
(
|
)
|
[private]
|
~CSdpRepeatField()
IMPORT_C
|
~CSdpRepeatField
|
(
|
)
|
|
Deletes the resources held by the instance.
Member Functions Documentation
ActiveDuration()
Gets the active duration..
CloneL()
Creates a new instance that is equal to the target.
ConstructL(const TDesC8 &)
void
|
ConstructL
|
(
|
const
TDesC8
&
|
aText
|
)
|
[private]
|
ConstructL(const RArray< TSdpTypedTime > &)
DecodeL(const TDesC8 &)
Constructs a new repeat times field.
Parameters
const
TDesC8
& aText
|
A string containing a correctly formatted field value terminated by a CRLF.
|
DecodeLC(const TDesC8 &)
Constructs a new repeat times field and adds the pointer to the cleanup stack.
Parameters
const
TDesC8
& aText
|
A string containing a correctly formatted field value terminated by a CRLF.
|
EncodeL(RWriteStream &)
Outputs the field formatted according to SDP syntax and including the terminating CRLF.
Parameters
RWriteStream
& aStream
|
Stream used for output. On return the stream includes correctly formatted repeat field.
|
ExternalizeL(RWriteStream &)
Externalizes the object to stream
Parameters
RWriteStream
& aStream
|
Stream where the object's state will be stored
|
InternalizeL(RReadStream &)
Creates object from the stream data
Parameters
RReadStream
& aStream
|
Stream where the object's state will be read
|
NewL(const TSdpTypedTime, const TSdpTypedTime, const RArray< TSdpTypedTime > &)
Constructs a new repeat times field.
NewLC(const TSdpTypedTime, const TSdpTypedTime, const RArray< TSdpTypedTime > &)
Constructs a new repeat times field and adds the pointer to the cleanup stack.
RepeatInterval()
Gets the repeat interval.
SetActiveDuration(const TSdpTypedTime)
Sets the active duration.
SetRepeatIntervalL(const TSdpTypedTime)
Sets the repeat interval.
-
leave
-
KErrSdpCodecRepeatField if aValue is not positive integer value.
Parameters
const
TSdpTypedTime
aValue
|
Repeat interval value greater than zero.
|
SetTimeOffsetsL(const RArray< TSdpTypedTime > &)
TimeOffsets()
Gets the array of time offsets. This array is used directly for element insertion and removal.
__DbgTestInvariant()
void
|
__DbgTestInvariant
|
(
|
)
|
const [private]
|
operator==(const CSdpRepeatField &)
Compares this instance to another for equality.
Member Data Documentation
TSdpTypedTime
iActiveDuration
TSdpTypedTime
iRepeatInterval
RArray< TSdpTypedTime > iTimeOffsets
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.