CSmsEMSBufferSegmenter Class Reference
class CSmsEMSBufferSegmenter : public CSmsBufferSegmenter
|
Public Member Functions
|
IMPORT_C
CSmsEMSBufferSegmenter
*
|
NewLC
(
CSmsAlphabetConverter
&, const
CSmsBufferBase
&,
TInt
)
|
TInt
|
SegmentL
(
TDes8
&,
TInt
,
TInt
,
TInt
&,
TInt
&,
TSmsEncoding
)
|
IMPORT_C
TBool
|
SegmentNextL
(
TDes8
&,
TInt
,
TInt
&,
TInt
&,
TSmsEncoding
)
|
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CSmsBufferSegmenter::CSmsBufferSegmenter(CSmsAlphabetConverter &,const CSmsBufferBase &,TInt)
|
|
CSmsBufferSegmenter::CheckConvertedBufferAllocL(TInt)
|
|
CSmsBufferSegmenter::ConstructL()
|
|
CSmsBufferSegmenter::DoSegmentNextL(TDes8 &,TInt,TInt &,TInt &,TSmsEncoding)
|
|
CSmsBufferSegmenter::ElementsToReturnFromConvertedBufferL(TInt)
|
|
CSmsBufferSegmenter::FindBestAlternativeEncodingL(TSmsEncoding,TInt)const
|
|
CSmsBufferSegmenter::MoreL()
|
|
CSmsBufferSegmenter::Reset()
|
|
CSmsBufferSegmenter::SegmentNextL(TDes8 &,TInt &,TInt &,TSmsEncoding)
|
|
CSmsBufferSegmenter::TotalConvertedLengthL(TSmsEncoding)
|
|
CSmsBufferSegmenter::~CSmsBufferSegmenter()
|
Constructor & Destructor Documentation
CSmsEMSBufferSegmenter(CSmsAlphabetConverter &, const CSmsBufferBase &, TInt)
Member Functions Documentation
NewLC(CSmsAlphabetConverter &, const CSmsBufferBase &, TInt)
SegmentL(TDes8 &, TInt, TInt, TInt &, TInt &, TSmsEncoding)
TInt
|
SegmentL
|
(
|
TDes8
&
|
aSegmentBuffer,
|
|
TInt
|
aNativeChars,
|
|
TInt
|
aSegmentMax,
|
|
TInt
&
|
aUnconvertedChars,
|
|
TInt
&
|
aDowngradedChars,
|
|
TSmsEncoding
|
aEncoding
|
|
)
|
|
SegmentL encodes the amount of native chars into a SegmentBuffer WARNING: This method can not be used after a SegmentNextL
Parameters
TDes8
& aSegmentBuffer
|
|
TInt
aNativeChars
|
- Number of native chars to encode.
|
TInt
aSegmentMax
|
- The Ceiling the encode will not go past.
|
TInt
& aUnconvertedChars
|
|
TInt
& aDowngradedChars
|
|
TSmsEncoding
aEncoding
|
|
SegmentNextL(TDes8 &, TInt, TInt &, TInt &, TSmsEncoding)
IMPORT_C
TBool
|
SegmentNextL
|
(
|
TDes8
&
|
aSegmentBuffer,
|
|
TInt
|
aSegmentSize,
|
|
TInt
&
|
aUnconvertedChars,
|
|
TInt
&
|
aDowngradedChars,
|
|
TSmsEncoding
|
aEncoding
|
|
)
|
|
Extracts Segment size out of the Sms Buffer and converts it into aSegmentBuffer
Parameters
TDes8
& aSegmentBuffer
|
|
TInt
aSegmentSize
|
|
TInt
& aUnconvertedChars
|
|
TInt
& aDowngradedChars
|
|
TSmsEncoding
aEncoding
|
|
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.