RArrayBase Class Reference
Base class used in the derivation of
RArray
.
The base class is inherited privately.
The class is internal and is not intended for use.
Protected Member Functions
|
|
RArrayBase
(
TInt
)
|
|
RArrayBase
(
TInt
,
TInt
)
|
|
RArrayBase
(
TInt
,
TInt
,
TInt
)
|
|
RArrayBase
(
TInt
,
TInt
,
TInt
,
TInt
)
|
|
RArrayBase
(
TInt
,
TAny
*,
TInt
)
|
IMPORT_C
TInt
|
Append
(const
TAny
*)
|
IMPORT_C
TAny
*
|
At
(
TInt
)
|
IMPORT_C
TInt
|
BinarySearch
(const
TAny
*,
TInt
&,
TGeneralLinearOrder
)
|
IMPORT_C
TInt
|
BinarySearch
(const
TAny
*,
TInt
&,
TGeneralLinearOrder
,
TInt
)
|
IMPORT_C
TInt
|
BinarySearchSigned
(const
TAny
*,
TInt
&)
|
IMPORT_C
TInt
|
BinarySearchSigned
(const
TAny
*,
TInt
&,
TInt
)
|
IMPORT_C
TInt
|
BinarySearchUnsigned
(const
TAny
*,
TInt
&)
|
IMPORT_C
TInt
|
BinarySearchUnsigned
(const
TAny
*,
TInt
&,
TInt
)
|
IMPORT_C void
|
Close
()
|
IMPORT_C void
|
Compress
()
|
IMPORT_C
TInt
|
Count
()
|
IMPORT_C
TInt
|
DoReserve
(
TInt
)
|
IMPORT_C
TInt
|
Find
(const
TAny
*)
|
IMPORT_C
TInt
|
Find
(const
TAny
*,
TGeneralIdentityRelation
)
|
IMPORT_C
TInt
|
FindIsq
(const
TAny
*,
TGeneralLinearOrder
)
|
IMPORT_C
TInt
|
FindIsq
(const
TAny
*,
TGeneralLinearOrder
,
TInt
)
|
IMPORT_C
TInt
|
FindIsqSigned
(const
TAny
*)
|
IMPORT_C
TInt
|
FindIsqSigned
(const
TAny
*,
TInt
)
|
IMPORT_C
TInt
|
FindIsqUnsigned
(const
TAny
*)
|
IMPORT_C
TInt
|
FindIsqUnsigned
(const
TAny
*,
TInt
)
|
IMPORT_C
TInt
|
FindReverse
(const
TAny
*)
|
IMPORT_C
TInt
|
FindReverse
(const
TAny
*,
TGeneralIdentityRelation
)
|
IMPORT_C
TInt
|
GetCount
(const
CBase
*)
|
IMPORT_C const
TAny
*
|
GetElementPtr
(const
CBase
*,
TInt
)
|
IMPORT_C void
|
GranularCompress
()
|
IMPORT_C void
|
HeapSort
(
TGeneralLinearOrder
)
|
IMPORT_C void
|
HeapSortSigned
()
|
IMPORT_C void
|
HeapSortUnsigned
()
|
IMPORT_C
TInt
|
Insert
(const
TAny
*,
TInt
)
|
IMPORT_C
TInt
|
InsertIsq
(const
TAny
*,
TGeneralLinearOrder
,
TBool
)
|
IMPORT_C
TInt
|
InsertIsqSigned
(const
TAny
*,
TBool
)
|
IMPORT_C
TInt
|
InsertIsqUnsigned
(const
TAny
*,
TBool
)
|
IMPORT_C void
|
Remove
(
TInt
)
|
IMPORT_C void
|
Reset
()
|
IMPORT_C void
|
SetKeyOffset
(
TInt
)
|
Constructor & Destructor Documentation
RArrayBase(TInt)
IMPORT_C
|
RArrayBase
|
(
|
TInt
|
anEntrySize
|
)
|
[protected]
|
RArrayBase(TInt, TInt)
IMPORT_C
|
RArrayBase
|
(
|
TInt
|
anEntrySize,
|
|
TInt
|
aGranularity
|
|
)
|
[protected]
|
RArrayBase(TInt, TInt, TInt)
IMPORT_C
|
RArrayBase
|
(
|
TInt
|
anEntrySize,
|
|
TInt
|
aGranularity,
|
|
TInt
|
aKeyOffset
|
|
)
|
[protected]
|
RArrayBase(TInt, TInt, TInt, TInt)
IMPORT_C
|
RArrayBase
|
(
|
TInt
|
anEntrySize,
|
|
TInt
|
aMinGrowBy,
|
|
TInt
|
aKeyOffset,
|
|
TInt
|
aFactor
|
|
)
|
[protected]
|
RArrayBase(TInt, TAny *, TInt)
IMPORT_C
|
RArrayBase
|
(
|
TInt
|
aEntrySize,
|
|
TAny
*
|
aEntries,
|
|
TInt
|
aCount
|
|
)
|
[protected]
|
Member Functions Documentation
Append(const TAny *)
IMPORT_C
TInt
|
Append
|
(
|
const
TAny
*
|
anEntry
|
)
|
[protected]
|
At(TInt)
IMPORT_C
TAny
*
|
At
|
(
|
TInt
|
anIndex
|
)
|
const [protected]
|
BinarySearch(const TAny *, TInt &, TGeneralLinearOrder)
BinarySearch(const TAny *, TInt &, TGeneralLinearOrder, TInt)
BinarySearchSigned(const TAny *, TInt &)
IMPORT_C
TInt
|
BinarySearchSigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
&
|
anIndex
|
|
)
|
const [protected]
|
BinarySearchSigned(const TAny *, TInt &, TInt)
IMPORT_C
TInt
|
BinarySearchSigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
&
|
anIndex,
|
|
TInt
|
aMode
|
|
)
|
const [protected]
|
BinarySearchUnsigned(const TAny *, TInt &)
IMPORT_C
TInt
|
BinarySearchUnsigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
&
|
anIndex
|
|
)
|
const [protected]
|
BinarySearchUnsigned(const TAny *, TInt &, TInt)
IMPORT_C
TInt
|
BinarySearchUnsigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
&
|
anIndex,
|
|
TInt
|
aMode
|
|
)
|
const [protected]
|
Close()
IMPORT_C void
|
Close
|
(
|
)
|
[protected]
|
Compress()
IMPORT_C void
|
Compress
|
(
|
)
|
[protected]
|
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const [protected]
|
DoReserve(TInt)
IMPORT_C
TInt
|
DoReserve
|
(
|
TInt
|
aCount
|
)
|
[protected]
|
Find(const TAny *)
IMPORT_C
TInt
|
Find
|
(
|
const
TAny
*
|
anEntry
|
)
|
const [protected]
|
Find(const TAny *, TGeneralIdentityRelation)
FindIsq(const TAny *, TGeneralLinearOrder)
FindIsq(const TAny *, TGeneralLinearOrder, TInt)
FindIsqSigned(const TAny *)
IMPORT_C
TInt
|
FindIsqSigned
|
(
|
const
TAny
*
|
anEntry
|
)
|
const [protected]
|
FindIsqSigned(const TAny *, TInt)
IMPORT_C
TInt
|
FindIsqSigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
|
aMode
|
|
)
|
const [protected]
|
FindIsqUnsigned(const TAny *)
IMPORT_C
TInt
|
FindIsqUnsigned
|
(
|
const
TAny
*
|
anEntry
|
)
|
const [protected]
|
FindIsqUnsigned(const TAny *, TInt)
IMPORT_C
TInt
|
FindIsqUnsigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
|
aMode
|
|
)
|
const [protected]
|
FindReverse(const TAny *)
IMPORT_C
TInt
|
FindReverse
|
(
|
const
TAny
*
|
aEntry
|
)
|
const [protected]
|
FindReverse(const TAny *, TGeneralIdentityRelation)
GetCount(const CBase *)
IMPORT_C
TInt
|
GetCount
|
(
|
const
CBase
*
|
aPtr
|
)
|
[protected, static]
|
GetElementPtr(const CBase *, TInt)
IMPORT_C const
TAny
*
|
GetElementPtr
|
(
|
const
CBase
*
|
aPtr,
|
|
TInt
|
aIndex
|
|
)
|
[protected, static]
|
GranularCompress()
IMPORT_C void
|
GranularCompress
|
(
|
)
|
[protected]
|
HeapSort(TGeneralLinearOrder)
HeapSortSigned()
IMPORT_C void
|
HeapSortSigned
|
(
|
)
|
[protected]
|
HeapSortUnsigned()
IMPORT_C void
|
HeapSortUnsigned
|
(
|
)
|
[protected]
|
Insert(const TAny *, TInt)
IMPORT_C
TInt
|
Insert
|
(
|
const
TAny
*
|
anEntry,
|
|
TInt
|
aPos
|
|
)
|
[protected]
|
InsertIsq(const TAny *, TGeneralLinearOrder, TBool)
InsertIsqSigned(const TAny *, TBool)
IMPORT_C
TInt
|
InsertIsqSigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TBool
|
aAllowRepeats
|
|
)
|
[protected]
|
InsertIsqUnsigned(const TAny *, TBool)
IMPORT_C
TInt
|
InsertIsqUnsigned
|
(
|
const
TAny
*
|
anEntry,
|
|
TBool
|
aAllowRepeats
|
|
)
|
[protected]
|
Remove(TInt)
IMPORT_C void
|
Remove
|
(
|
TInt
|
anIndex
|
)
|
[protected]
|
Reset()
IMPORT_C void
|
Reset
|
(
|
)
|
[protected]
|
SetKeyOffset(TInt)
IMPORT_C void
|
SetKeyOffset
|
(
|
TInt
|
aKeyOffset
|
)
|
[protected]
|
Member Data Documentation
TInt
iAllocated
TInt
|
iAllocated
|
[private]
|
TAny * iEntries
TAny
*
|
iEntries
|
[private]
|
TInt
iEntrySize
TInt
|
iEntrySize
|
[private]
|
TInt
iGranularity
TInt
|
iGranularity
|
[private]
|
TInt
iKeyOffset
TInt
|
iKeyOffset
|
[private]
|
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.