CTextFieldSet Class Reference
class CTextFieldSet : public CBase
|
The engine that keeps the field table up to date
Public Member Functions
|
|
~CTextFieldSet
()
|
IMPORT_C
TInt
|
CharCount
()
|
IMPORT_C void
|
CopyComponentsL
(
CStreamStore
&,
CStoreMap
&,
TInt
,
TInt
)
|
IMPORT_C
TStreamId
|
CopyToStoreL
(
CStreamStore
&,
TInt
,
TInt
)
|
IMPORT_C void
|
CopyToStreamL
(
RWriteStream
&,
TInt
,
TInt
)
|
IMPORT_C void
|
ExternalizeL
(
RWriteStream
&)
|
IMPORT_C
TInt
|
FieldCount
()
|
IMPORT_C
MTextFieldFactory
*
|
FieldFactory
()
|
IMPORT_C
TBool
|
FindFields
(
TInt
)
|
IMPORT_C
TBool
|
FindFields
(
TFindFieldInfo
&,
TInt
,
TInt
)
|
IMPORT_C
TInt
|
InsertFieldL
(
TInt
,
CTextField
*,
TUid
)
|
IMPORT_C void
|
InternalizeL
(
RReadStream
&)
|
IMPORT_C
CTextField
*
|
NewFieldL
(
TUid
)
|
IMPORT_C
TInt
|
NewFieldValueL
(
HBufC
*&,
TInt
)
|
IMPORT_C
CTextFieldSet
*
|
NewL
(
TInt
)
|
IMPORT_C
CTextFieldSet
*
|
NewL
(const
MTextFieldFactory
*, const
CStreamStore
&,
TStreamId
)
|
IMPORT_C void
|
NotifyDeletion
(
TInt
,
TInt
)
|
IMPORT_C void
|
NotifyFieldUpdate
(
TInt
,
TInt
)
|
IMPORT_C void
|
NotifyInsertion
(
TInt
,
TInt
)
|
IMPORT_C void
|
PasteComponentsL
(const
CStreamStore
&,
TInt
)
|
IMPORT_C void
|
PasteFromStoreL
(const
CStreamStore
&,
TStreamId
,
TInt
,
TInt
)
|
IMPORT_C void
|
PasteFromStreamL
(
RReadStream
&,
TInt
,
TInt
)
|
IMPORT_C
TInt
|
RemoveField
(
TInt
)
|
IMPORT_C void
|
Reset
()
|
IMPORT_C void
|
RestoreFieldsL
(const
CStreamStore
&)
|
IMPORT_C void
|
RestoreL
(const
CStreamStore
&,
TStreamId
)
|
IMPORT_C void
|
RollbackPaste
()
|
IMPORT_C void
|
SetFieldFactory
(
MTextFieldFactory
*)
|
IMPORT_C void
|
StoreFieldsL
(
CStreamStore
&,
CStoreMap
&)
|
IMPORT_C
TStreamId
|
StoreL
(
CStreamStore
&)
|
IMPORT_C const
CTextField
*
|
TextField
(
TInt
)
|
Private Member Functions
|
void
|
AddInitialFieldEntryL
(
CArrayFixSeg
<
TTextFieldEntry
> *,
TInt
)
|
void
|
AppendEntryL
(
TTextFieldEntry
&)
|
void
|
AppendEntryL
(
TTextFieldEntry
&,
CArrayFixSeg
<
TTextFieldEntry
> *)
|
void
|
CopyToArrayL
(
CArrayFixSeg
<
TTextFieldEntry
> *,
TInt
,
TInt
)
|
void
|
DeleteFieldEntry
(
TInt
)
|
void
|
DeleteFieldEntry
(
CArrayFixSeg
<
TTextFieldEntry
> *,
TInt
)
|
void
|
DoPasteL
(
CArrayFixSeg
<
TTextFieldEntry
> *,
TInt
)
|
void
|
DoRestoreFieldsL
(
CArrayFixSeg
<
TTextFieldEntry
> *, const
CStreamStore
&,
TInt
)
|
void
|
DoRestoreL
(const
CStreamStore
&,
TStreamId
)
|
TInt
|
EntryLen
(const
TTextFieldEntry
&)
|
TInt
|
EntryLen
(
TInt
)
|
void
|
ExternalizeL
(
RWriteStream
&,
CArrayFixSeg
<
TTextFieldEntry
> *)
|
TBool
|
InField
(const
TInt
,
TInt
&,
TInt
&)
|
void
|
InsertEntryL
(
TInt
,
TTextFieldEntry
&)
|
void
|
InsertEntryL
(
TInt
,
TTextFieldEntry
&,
CArrayFixSeg
<
TTextFieldEntry
> *)
|
void
|
InternalizeL
(
CArrayFixSeg
<
TTextFieldEntry
> *,
RReadStream
&)
|
void
|
RecordRollbackInfoL
(
TInt
)
|
TTextFieldEntry
|
SplitEntry
(
TInt
,
TInt
,
TInt
)
|
void
|
StoreFieldsL
(
CStreamStore
&,
CStoreMap
&,
CArrayFixSeg
<
TTextFieldEntry
> *)
|
Constructor & Destructor Documentation
CTextFieldSet()
CTextFieldSet
|
(
|
)
|
[protected]
|
~CTextFieldSet()
IMPORT_C
|
~CTextFieldSet
|
(
|
)
|
|
Member Functions Documentation
AddInitialFieldEntryL(CArrayFixSeg< TTextFieldEntry > *, TInt)
AppendEntryL(TTextFieldEntry &)
AppendEntryL(TTextFieldEntry &, CArrayFixSeg< TTextFieldEntry > *)
CharCount()
IMPORT_C
TInt
|
CharCount
|
(
|
)
|
const
|
ConstructL(TInt)
void
|
ConstructL
|
(
|
TInt
|
aDocumentLength
|
)
|
[protected]
|
ConstructL(const CStreamStore &, TStreamId)
CopyComponentsL(CStreamStore &, CStoreMap &, TInt, TInt)
CopyToArrayL(CArrayFixSeg< TTextFieldEntry > *, TInt, TInt)
CopyToStoreL(CStreamStore &, TInt, TInt)
CopyToStreamL(RWriteStream &, TInt, TInt)
DeleteFieldEntry(TInt)
void
|
DeleteFieldEntry
|
(
|
TInt
|
anIndex
|
)
|
[private]
|
DeleteFieldEntry(CArrayFixSeg< TTextFieldEntry > *, TInt)
DoPasteL(CArrayFixSeg< TTextFieldEntry > *, TInt)
DoRestoreFieldsL(CArrayFixSeg< TTextFieldEntry > *, const CStreamStore &, TInt)
DoRestoreL(const CStreamStore &, TStreamId)
EntryLen(const TTextFieldEntry &)
EntryLen(TInt)
TInt
|
EntryLen
|
(
|
TInt
|
aIndex
|
)
|
const [private]
|
ExternalizeL(RWriteStream &)
ExternalizeL(RWriteStream &, CArrayFixSeg< TTextFieldEntry > *)
FieldCount()
IMPORT_C
TInt
|
FieldCount
|
(
|
)
|
const
|
FindFields(TInt)
IMPORT_C
TBool
|
FindFields
|
(
|
TInt
|
aPos
|
)
|
const
|
FindFields(TFindFieldInfo &, TInt, TInt)
InField(const TInt, TInt &, TInt &)
InsertEntryL(TInt, TTextFieldEntry &)
InsertEntryL(TInt, TTextFieldEntry &, CArrayFixSeg< TTextFieldEntry > *)
InsertFieldL(TInt, CTextField *, TUid)
InternalizeL(RReadStream &)
InternalizeL(CArrayFixSeg< TTextFieldEntry > *, RReadStream &)
NewFieldValueL(HBufC *&, TInt)
NewL(const MTextFieldFactory *, const CStreamStore &, TStreamId)
NotifyDeletion(TInt, TInt)
IMPORT_C void
|
NotifyDeletion
|
(
|
TInt
|
aPos,
|
|
TInt
|
aNumberRemoved
|
|
)
|
|
NotifyFieldUpdate(TInt, TInt)
IMPORT_C void
|
NotifyFieldUpdate
|
(
|
TInt
|
aPos,
|
|
TInt
|
aNewFieldValueLength
|
|
)
|
|
NotifyInsertion(TInt, TInt)
IMPORT_C void
|
NotifyInsertion
|
(
|
TInt
|
aPos,
|
|
TInt
|
aNumberAdded
|
|
)
|
|
PasteComponentsL(const CStreamStore &, TInt)
PasteFromStoreL(const CStreamStore &, TStreamId, TInt, TInt)
PasteFromStreamL(RReadStream &, TInt, TInt)
IMPORT_C void
|
PasteFromStreamL
|
(
|
RReadStream
&
|
aStream,
|
|
TInt
|
aPos,
|
|
TInt
|
aMaxLen = ENoPasteLimit
|
|
)
|
|
RecordRollbackInfoL(TInt)
void
|
RecordRollbackInfoL
|
(
|
TInt
|
aPastePos
|
)
|
[private]
|
RestoreFieldsL(const CStreamStore &)
IMPORT_C void
|
RestoreFieldsL
|
(
|
const
CStreamStore
&
|
aFieldStore
|
)
|
|
RestoreL(const CStreamStore &, TStreamId)
RollbackPaste()
IMPORT_C void
|
RollbackPaste
|
(
|
)
|
|
SetFieldFactory(MTextFieldFactory *)
SplitEntry(TInt, TInt, TInt)
StoreFieldsL(CStreamStore &, CStoreMap &)
StoreFieldsL(CStreamStore &, CStoreMap &, CArrayFixSeg< TTextFieldEntry > *)
Member Data Documentation
CArrayFixSeg< TTextFieldEntry > * iFieldArray
MTextFieldFactory * iFieldFactory
TRollbackInfo * iRollbackInfo
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.