winscw_uid.inc
上传用户:laixiong
上传日期:2007-03-11
资源大小:2994k
文件大小:163k
- class PlatSec
- {
- public:
- #line 4509
- __declspec(dllexport) static TBool IsCapabilityEnforced(TCapability aCapability);
- enum TConfigSetting
- {
- EPlatSecEnforcement,
- EPlatSecDiagnotics,
- EPlatSecProcessIsolation,
- EPlatSecEnforceSysBin,
- };
- #line 4535
- __declspec(dllexport) static TInt ConfigSetting(TConfigSetting aSetting);
- #line 4544
- public:
- static inline TInt LoaderCapabilityViolation(const TDesC8& aImporterName, const TDesC8& aFileName, const SCapabilitySet& aMissingCaps);
- #line 4564
- static inline TInt LoaderCapabilityViolation(RProcess aLoadingProcess, const TDesC8& aFileName, const SCapabilitySet& aMissingCaps);
- static inline TInt CreatorCapabilityCheckFail(TCapability aCapability, const char* aContextText);
- static inline TInt CreatorCapabilityCheckFail(const TCapabilitySet& aMissingCaps, const char* aContextText);
- static inline TInt CapabilityCheckFail(TInt aHandle, TCapability aCapability, const char* aContextText);
- static inline TInt CapabilityCheckFail(TInt aHandle, const TCapabilitySet& aMissingCaps, const char* aContextText);
- static inline TInt PolicyCheckFail(TInt aHandle, const SSecurityInfo& aMissing, const char* aContextText);
- static inline TInt CapabilityCheckFail(RMessagePtr2 aMessage, TCapability aCapability, const char* aContextText);
- static inline TInt CapabilityCheckFail(RMessagePtr2 aMessage, const TCapabilitySet& aMissingCaps, const char* aContextText);
- static inline TInt PolicyCheckFail(RMessagePtr2 aMessage, const SSecurityInfo& aMissingCaps, const char* aContextText);
- static inline TInt PolicyCheckFail(RSessionBase aSession, const SSecurityInfo& aMissingCaps, const char* aContextText);
- static inline TInt CreatorPolicyCheckFail(const SSecurityInfo& aMissingCaps, const char* aContextText);
- static inline TInt CreatorCapabilityCheckFail(TCapability aCapability);
- static inline TInt CreatorCapabilityCheckFail(const TCapabilitySet& aMissingCaps);
- static inline TInt CapabilityCheckFail(TInt aHandle, TCapability aCapability);
- static inline TInt CapabilityCheckFail(TInt aHandle, const TCapabilitySet& aMissingCaps);
- static inline TInt PolicyCheckFail(TInt aHandle, const SSecurityInfo& aMissing);
- static inline TInt CapabilityCheckFail(RMessagePtr2 aMessage, TCapability aCapability);
- static inline TInt CapabilityCheckFail(RMessagePtr2 aMessage, const TCapabilitySet& aMissingCaps);
- static inline TInt PolicyCheckFail(RMessagePtr2 aMessage, const SSecurityInfo& aMissingCaps);
- static inline TInt CreatorPolicyCheckFail(const SSecurityInfo& aMissingCaps);
- private:
- __declspec(dllexport) static TInt EmitDiagnostic(TPlatSecDiagnostic& aDiagnostic, const char* aContextText);
- #line 4616
- public:
- __declspec(dllexport) static TInt EmitDiagnostic();
- };
- struct TEmulatorImageHeader
- {
- TUid iUids[KMaxCheckedUid];
- TProcessPriority iPriority;
- SSecurityInfo iS;
- TUint32 iSpare1;
- TUint32 iSpare2;
- TUint32 iModuleVersion;
- TUint32 iFlags;
- };
- #line 4648
- class TProcessMemoryInfo
- {
- public:
- TUint32 iCodeBase;
- TUint32 iCodeSize;
- TUint32 iConstDataBase;
- TUint32 iConstDataSize;
- TUint32 iInitialisedDataBase;
- TUint32 iInitialisedDataSize;
- TUint32 iUninitialisedDataBase;
- TUint32 iUninitialisedDataSize;
- };
- #line 4709
- typedef TProcessMemoryInfo TModuleMemoryInfo;
- class CBase;
- #line 4768
- template <class T>
- class TArray
- {
- public:
- inline TArray(TInt (*aCount)(const CBase* aPtr),const TAny*(*anAt)(const CBase* aPtr,TInt anIndex),const CBase* aPtr);
- inline TInt Count() const;
- inline const T& operator[](TInt anIndex) const;
- private:
- const CBase* iPtr;
- TInt (*iCount)(const CBase* aPtr);
- const TAny*(*iAt)(const CBase* aPtr,TInt anIndex);
- };
- #line 4796
- typedef TBool (*TGeneralIdentityRelation)(const TAny*, const TAny*);
- #line 4812
- typedef TInt (*TGeneralLinearOrder)(const TAny*, const TAny*);
- #line 4832
- template <class T>
- class TIdentityRelation
- {
- public:
- inline TIdentityRelation( TBool (*anIdentity)(const T&, const T&) );
- inline operator TGeneralIdentityRelation() const;
- private:
- TGeneralIdentityRelation iIdentity;
- };
- #line 4857
- class DefaultIdentity
- {
- public:
- __declspec(dllexport) static TBool Integer(const TInt&, const TInt&);
- __declspec(dllexport) static TBool Des8(const TDesC8&, const TDesC8&);
- __declspec(dllexport) static TBool Des16(const TDesC16&, const TDesC16&);
- };
- #line 4883
- template <class T>
- class TLinearOrder
- {
- public:
- inline TLinearOrder( TInt(*anOrder)(const T&, const T&) );
- inline operator TGeneralLinearOrder() const;
- private:
- TGeneralLinearOrder iOrder;
- };
- #line 4913
- enum TArrayFindMode
- {
- #line 4923
- EArrayFindMode_Any = 0,
- EArrayFindMode_First = 1,
- EArrayFindMode_Last = 2,
- EArrayFindMode_Limit = 3
- };
- #line 4954
- class RPointerArrayBase
- {
- protected:
- __declspec(dllexport) RPointerArrayBase();
- __declspec(dllexport) RPointerArrayBase(TInt aGranularity);
- __declspec(dllexport) RPointerArrayBase(TInt aMinGrowBy, TInt aFactor);
- __declspec(dllexport) void Close();
- __declspec(dllexport) TInt Count() const;
- inline void ZeroCount() {iCount=0;}
- inline TAny** Entries() {return iEntries;}
- __declspec(dllexport) TAny*& At(TInt anIndex) const;
- __declspec(dllexport) TInt Append(const TAny* anEntry);
- __declspec(dllexport) TInt Insert(const TAny* anEntry, TInt aPos);
- __declspec(dllexport) void Remove(TInt anIndex);
- __declspec(dllexport) void Compress();
- __declspec(dllexport) void Reset();
- __declspec(dllexport) TInt Find(const TAny* anEntry) const;
- __declspec(dllexport) TInt Find(const TAny* anEntry, TGeneralIdentityRelation anIdentity) const;
- __declspec(dllexport) TInt FindIsqSigned(TInt anEntry) const;
- __declspec(dllexport) TInt FindIsqUnsigned(TUint anEntry) const;
- __declspec(dllexport) TInt FindIsq(const TAny* anEntry, TGeneralLinearOrder anOrder) const;
- __declspec(dllexport) TInt FindIsqSigned(TInt anEntry, TInt aMode) const;
- __declspec(dllexport) TInt FindIsqUnsigned(TUint anEntry, TInt aMode) const;
- __declspec(dllexport) TInt FindIsq(const TAny* anEntry, TGeneralLinearOrder anOrder, TInt aMode) const;
- __declspec(dllexport) TInt InsertIsqSigned(TInt anEntry, TBool aAllowRepeats);
- __declspec(dllexport) TInt InsertIsqUnsigned(TUint anEntry, TBool aAllowRepeats);
- __declspec(dllexport) TInt InsertIsq(const TAny* anEntry, TGeneralLinearOrder anOrder, TBool aAllowRepeats);
- __declspec(dllexport) TInt BinarySearchSigned(TInt anEntry, TInt& anIndex) const;
- __declspec(dllexport) TInt BinarySearchUnsigned(TUint anEntry, TInt& anIndex) const;
- __declspec(dllexport) TInt BinarySearch(const TAny* anEntry, TInt& anIndex, TGeneralLinearOrder anOrder) const;
- __declspec(dllexport) TInt BinarySearchSigned(TInt anEntry, TInt& anIndex, TInt aMode) const;
- __declspec(dllexport) TInt BinarySearchUnsigned(TUint anEntry, TInt& anIndex, TInt aMode) const;
- __declspec(dllexport) TInt BinarySearch(const TAny* anEntry, TInt& anIndex, TGeneralLinearOrder anOrder, TInt aMode) const;
- __declspec(dllexport) RPointerArrayBase(TAny** aEntries, TInt aCount);
- __declspec(dllexport) void GranularCompress();
- __declspec(dllexport) TInt DoReserve(TInt aCount);
- __declspec(dllexport) void HeapSortSigned();
- __declspec(dllexport) void HeapSortUnsigned();
- __declspec(dllexport) void HeapSort(TGeneralLinearOrder anOrder);
- __declspec(dllexport) static TInt GetCount(const CBase* aPtr);
- __declspec(dllexport) static const TAny* GetElementPtr(const CBase* aPtr, TInt aIndex);
- private:
- TInt Grow();
- private:
- TInt iCount;
- TAny** iEntries;
- TInt iAllocated;
- TInt iGranularity;
- TInt iSpare1;
- TInt iSpare2;
- };
- #line 5024
- template <class T>
- class RPointerArray : private RPointerArrayBase
- {
- public:
- inline RPointerArray();
- inline explicit RPointerArray(TInt aGranularity);
- inline RPointerArray(TInt aMinGrowBy, TInt aFactor);
- inline void Close();
- inline TInt Count() const;
- inline T* const& operator[](TInt anIndex) const;
- inline T*& operator[](TInt anIndex);
- inline TInt Append(const T* anEntry);
- inline TInt Insert(const T* anEntry, TInt aPos);
- inline void Remove(TInt anIndex);
- inline void Compress();
- inline void Reset();
- void ResetAndDestroy();
- inline TInt Find(const T* anEntry) const;
- inline TInt Find(const T* anEntry, TIdentityRelation<T> anIdentity) const;
- inline TInt FindInAddressOrder(const T* anEntry) const;
- inline TInt FindInOrder(const T* anEntry, TLinearOrder<T> anOrder) const;
- inline TInt FindInAddressOrder(const T* anEntry, TInt& anIndex) const;
- inline TInt FindInOrder(const T* anEntry, TInt& anIndex, TLinearOrder<T> anOrder) const;
- template <class K>
- inline TInt FindInOrder(const K& aKey, TInt (*apfnCompare)(const K* k, const T& t)) const
- { return RPointerArrayBase::FindIsq((T*)&aKey,*(TLinearOrder<T> *)&apfnCompare); }
- inline TInt SpecificFindInAddressOrder(const T* anEntry, TInt aMode) const;
- inline TInt SpecificFindInOrder(const T* anEntry, TLinearOrder<T> anOrder, TInt aMode) const;
- inline TInt SpecificFindInAddressOrder(const T* anEntry, TInt& anIndex, TInt aMode) const;
- inline TInt SpecificFindInOrder(const T* anEntry, TInt& anIndex, TLinearOrder<T> anOrder, TInt aMode) const;
- inline TInt InsertInAddressOrder(const T* anEntry);
- inline TInt InsertInOrder(const T* anEntry, TLinearOrder<T> anOrder);
- inline TInt InsertInAddressOrderAllowRepeats(const T* anEntry);
- inline TInt InsertInOrderAllowRepeats(const T* anEntry, TLinearOrder<T> anOrder);
- inline void AppendL(const T* anEntry);
- inline void InsertL(const T* anEntry, TInt aPos);
- inline TInt FindL(const T* anEntry) const;
- inline TInt FindL(const T* anEntry, TIdentityRelation<T> anIdentity) const;
- inline TInt FindInAddressOrderL(const T* anEntry) const;
- inline TInt FindInOrderL(const T* anEntry, TLinearOrder<T> anOrder) const;
- inline void FindInAddressOrderL(const T* anEntry, TInt& anIndex) const;
- inline void FindInOrderL(const T* anEntry, TInt& anIndex, TLinearOrder<T> anOrder) const;
- inline TInt SpecificFindInAddressOrderL(const T* anEntry, TInt aMode) const;
- inline TInt SpecificFindInOrderL(const T* anEntry, TLinearOrder<T> anOrder, TInt aMode) const;
- inline void SpecificFindInAddressOrderL(const T* anEntry, TInt& anIndex, TInt aMode) const;
- inline void SpecificFindInOrderL(const T* anEntry, TInt& anIndex, TLinearOrder<T> anOrder, TInt aMode) const;
- inline void InsertInAddressOrderL(const T* anEntry);
- inline void InsertInOrderL(const T* anEntry, TLinearOrder<T> anOrder);
- inline void InsertInAddressOrderAllowRepeatsL(const T* anEntry);
- inline void InsertInOrderAllowRepeatsL(const T* anEntry, TLinearOrder<T> anOrder);
- inline RPointerArray(T** aEntries, TInt aCount);
- inline void GranularCompress();
- inline TInt Reserve(TInt aCount);
- inline void ReserveL(TInt aCount);
- inline void SortIntoAddressOrder();
- inline void Sort(TLinearOrder<T> anOrder);
- inline TArray<T*> Array() const;
- };
- #line 5099
- template<> class RPointerArray<TAny> : private RPointerArrayBase
- {
- public:
- inline RPointerArray();
- inline explicit RPointerArray(TInt aGranularity);
- inline RPointerArray(TInt aMinGrowBy, TInt aFactor);
- inline void Close();
- inline TInt Count() const;
- inline TAny* const& operator[](TInt anIndex) const;
- inline TAny*& operator[](TInt anIndex);
- inline TInt Append(const TAny* anEntry);
- inline TInt Insert(const TAny* anEntry, TInt aPos);
- inline void Remove(TInt anIndex);
- inline void Compress();
- inline void Reset();
- inline TInt Find(const TAny* anEntry) const;
- inline TInt FindInAddressOrder(const TAny* anEntry) const;
- inline TInt FindInAddressOrder(const TAny* anEntry, TInt& anIndex) const;
- inline TInt SpecificFindInAddressOrder(const TAny* anEntry, TInt aMode) const;
- inline TInt SpecificFindInAddressOrder(const TAny* anEntry, TInt& anIndex, TInt aMode) const;
- inline TInt InsertInAddressOrder(const TAny* anEntry);
- inline TInt InsertInAddressOrderAllowRepeats(const TAny* anEntry);
- inline void AppendL(const TAny* anEntry);
- inline void InsertL(const TAny* anEntry, TInt aPos);
- inline TInt FindL(const TAny* anEntry) const;
- inline TInt FindInAddressOrderL(const TAny* anEntry) const;
- inline void FindInAddressOrderL(const TAny* anEntry, TInt& anIndex) const;
- inline TInt SpecificFindInAddressOrderL(const TAny* anEntry, TInt aMode) const;
- inline void SpecificFindInAddressOrderL(const TAny* anEntry, TInt& anIndex, TInt aMode) const;
- inline void InsertInAddressOrderL(const TAny* anEntry);
- inline void InsertInAddressOrderAllowRepeatsL(const TAny* anEntry);
- inline RPointerArray(TAny** aEntries, TInt aCount);
- inline void GranularCompress();
- inline void SortIntoAddressOrder();
- inline TArray<TAny*> Array() const;
- };
- #line 5150
- class RArrayBase
- {
- protected:
- __declspec(dllexport) RArrayBase(TInt anEntrySize);
- __declspec(dllexport) RArrayBase(TInt anEntrySize, TInt aGranularity);
- __declspec(dllexport) RArrayBase(TInt anEntrySize, TInt aGranularity, TInt aKeyOffset);
- __declspec(dllexport) RArrayBase(TInt anEntrySize, TInt aMinGrowBy, TInt aKeyOffset, TInt aFactor);
- __declspec(dllexport) void Close();
- __declspec(dllexport) TInt Count() const;
- __declspec(dllexport) TAny* At(TInt anIndex) const;
- __declspec(dllexport) TInt Append(const TAny* anEntry);
- __declspec(dllexport) TInt Insert(const TAny* anEntry, TInt aPos);
- __declspec(dllexport) void Remove(TInt anIndex);
- __declspec(dllexport) void Compress();
- __declspec(dllexport) void Reset();
- __declspec(dllexport) TInt Find(const TAny* anEntry) const;
- __declspec(dllexport) TInt Find(const TAny* anEntry, TGeneralIdentityRelation anIdentity) const;
- __declspec(dllexport) TInt FindIsqSigned(const TAny* anEntry) const;
- __declspec(dllexport) TInt FindIsqUnsigned(const TAny* anEntry) const;
- __declspec(dllexport) TInt FindIsq(const TAny* anEntry, TGeneralLinearOrder anOrder) const;
- __declspec(dllexport) TInt FindIsqSigned(const TAny* anEntry, TInt aMode) const;
- __declspec(dllexport) TInt FindIsqUnsigned(const TAny* anEntry, TInt aMode) const;
- __declspec(dllexport) TInt FindIsq(const TAny* anEntry, TGeneralLinearOrder anOrder, TInt aMode) const;
- __declspec(dllexport) TInt InsertIsqSigned(const TAny* anEntry, TBool aAllowRepeats);
- __declspec(dllexport) TInt InsertIsqUnsigned(const TAny* anEntry, TBool aAllowRepeats);
- __declspec(dllexport) TInt InsertIsq(const TAny* anEntry, TGeneralLinearOrder anOrder, TBool aAllowRepeats);
- __declspec(dllexport) TInt BinarySearchSigned(const TAny* anEntry, TInt& anIndex) const;
- __declspec(dllexport) TInt BinarySearchUnsigned(const TAny* anEntry, TInt& anIndex) const;
- __declspec(dllexport) TInt BinarySearch(const TAny* anEntry, TInt& anIndex, TGeneralLinearOrder anOrder) const;
- __declspec(dllexport) TInt BinarySearchSigned(const TAny* anEntry, TInt& anIndex, TInt aMode) const;
- __declspec(dllexport) TInt BinarySearchUnsigned(const TAny* anEntry, TInt& anIndex, TInt aMode) const;
- __declspec(dllexport) TInt BinarySearch(const TAny* anEntry, TInt& anIndex, TGeneralLinearOrder anOrder, TInt aMode) const;
- __declspec(dllexport) RArrayBase(TInt aEntrySize,TAny* aEntries, TInt aCount);
- __declspec(dllexport) void GranularCompress();
- __declspec(dllexport) TInt DoReserve(TInt aCount);
- __declspec(dllexport) void HeapSortSigned();
- __declspec(dllexport) void HeapSortUnsigned();
- __declspec(dllexport) void HeapSort(TGeneralLinearOrder anOrder);
- __declspec(dllexport) static TInt GetCount(const CBase* aPtr);
- __declspec(dllexport) static const TAny* GetElementPtr(const CBase* aPtr, TInt aIndex);
- private:
- TInt Grow();
- private:
- TInt iCount;
- TAny* iEntries;
- TInt iEntrySize;
- TInt iKeyOffset;
- TInt iAllocated;
- TInt iGranularity;
- TInt iSpare1;
- TInt iSpare2;
- };
- #line 5244
- template <class T>
- class RArray : private RArrayBase
- {
- public:
- inline RArray();
- inline explicit RArray(TInt aGranularity);
- inline RArray(TInt aGranularity, TInt aKeyOffset);
- inline RArray(TInt aMinGrowBy, TInt aKeyOffset, TInt aFactor);
- inline void Close();
- inline TInt Count() const;
- inline const T& operator[](TInt anIndex) const;
- inline T& operator[](TInt anIndex);
- inline TInt Append(const T& anEntry);
- inline TInt Insert(const T& anEntry, TInt aPos);
- inline void Remove(TInt anIndex);
- inline void Compress();
- inline void Reset();
- inline TInt Find(const T& anEntry) const;
- inline TInt Find(const T& anEntry, TIdentityRelation<T> anIdentity) const;
- inline TInt FindInSignedKeyOrder(const T& anEntry) const;
- inline TInt FindInUnsignedKeyOrder(const T& anEntry) const;
- inline TInt FindInOrder(const T& anEntry, TLinearOrder<T> anOrder) const;
- inline TInt FindInSignedKeyOrder(const T& anEntry, TInt& anIndex) const;
- inline TInt FindInUnsignedKeyOrder(const T& anEntry, TInt& anIndex) const;
- inline TInt FindInOrder(const T& anEntry, TInt& anIndex, TLinearOrder<T> anOrder) const;
- template <class K>
- inline TInt FindInOrder(const K& aKey, TInt (*apfnCompare)(const K* k, const T& t)) const
- { return RArrayBase::FindIsq((T*)&aKey,*(TLinearOrder<T> *)&apfnCompare); }
- inline TInt SpecificFindInSignedKeyOrder(const T& anEntry, TInt aMode) const;
- inline TInt SpecificFindInUnsignedKeyOrder(const T& anEntry, TInt aMode) const;
- inline TInt SpecificFindInOrder(const T& anEntry, TLinearOrder<T> anOrder, TInt aMode) const;
- inline TInt SpecificFindInSignedKeyOrder(const T& anEntry, TInt& anIndex, TInt aMode) const;
- inline TInt SpecificFindInUnsignedKeyOrder(const T& anEntry, TInt& anIndex, TInt aMode) const;
- inline TInt SpecificFindInOrder(const T& anEntry, TInt& anIndex, TLinearOrder<T> anOrder, TInt aMode) const;
- inline TInt InsertInSignedKeyOrder(const T& anEntry);
- inline TInt InsertInUnsignedKeyOrder(const T& anEntry);
- inline TInt InsertInOrder(const T& anEntry, TLinearOrder<T> anOrder);
- inline TInt InsertInSignedKeyOrderAllowRepeats(const T& anEntry);
- inline TInt InsertInUnsignedKeyOrderAllowRepeats(const T& anEntry);
- inline TInt InsertInOrderAllowRepeats(const T& anEntry, TLinearOrder<T> anOrder);
- inline void AppendL(const T& anEntry);
- inline void InsertL(const T& anEntry, TInt aPos);
- inline TInt FindL(const T& anEntry) const;
- inline TInt FindL(const T& anEntry, TIdentityRelation<T> anIdentity) const;
- inline TInt FindInSignedKeyOrderL(const T& anEntry) const;
- inline TInt FindInUnsignedKeyOrderL(const T& anEntry) const;
- inline TInt FindInOrderL(const T& anEntry, TLinearOrder<T> anOrder) const;
- inline void FindInSignedKeyOrderL(const T& anEntry, TInt& anIndex) const;
- inline void FindInUnsignedKeyOrderL(const T& anEntry, TInt& anIndex) const;
- inline void FindInOrderL(const T& anEntry, TInt& anIndex, TLinearOrder<T> anOrder) const;
- inline TInt SpecificFindInSignedKeyOrderL(const T& anEntry, TInt aMode) const;
- inline TInt SpecificFindInUnsignedKeyOrderL(const T& anEntry, TInt aMode) const;
- inline TInt SpecificFindInOrderL(const T& anEntry, TLinearOrder<T> anOrder, TInt aMode) const;
- inline void SpecificFindInSignedKeyOrderL(const T& anEntry, TInt& anIndex, TInt aMode) const;
- inline void SpecificFindInUnsignedKeyOrderL(const T& anEntry, TInt& anIndex, TInt aMode) const;
- inline void SpecificFindInOrderL(const T& anEntry, TInt& anIndex, TLinearOrder<T> anOrder, TInt aMode) const;
- inline void InsertInSignedKeyOrderL(const T& anEntry);
- inline void InsertInUnsignedKeyOrderL(const T& anEntry);
- inline void InsertInOrderL(const T& anEntry, TLinearOrder<T> anOrder);
- inline void InsertInSignedKeyOrderAllowRepeatsL(const T& anEntry);
- inline void InsertInUnsignedKeyOrderAllowRepeatsL(const T& anEntry);
- inline void InsertInOrderAllowRepeatsL(const T& anEntry, TLinearOrder<T> anOrder);
- inline RArray(TInt aEntrySize,T* aEntries, TInt aCount);
- inline void GranularCompress();
- inline TInt Reserve(TInt aCount);
- inline void ReserveL(TInt aCount);
- inline void SortSigned();
- inline void SortUnsigned();
- inline void Sort(TLinearOrder<T> anOrder);
- inline TArray<T> Array() const;
- };
- #line 5331
- template<> class RArray<TInt> : private RPointerArrayBase
- {
- public:
- inline RArray();
- inline explicit RArray(TInt aGranularity);
- inline RArray(TInt aMinGrowBy, TInt aFactor);
- inline void Close();
- inline TInt Count() const;
- inline const TInt& operator[](TInt anIndex) const;
- inline TInt& operator[](TInt anIndex);
- inline TInt Append(TInt anEntry);
- inline TInt Insert(TInt anEntry, TInt aPos);
- inline void Remove(TInt anIndex);
- inline void Compress();
- inline void Reset();
- inline TInt Find(TInt anEntry) const;
- inline TInt FindInOrder(TInt anEntry) const;
- inline TInt FindInOrder(TInt anEntry, TInt& anIndex) const;
- inline TInt SpecificFindInOrder(TInt anEntry, TInt aMode) const;
- inline TInt SpecificFindInOrder(TInt anEntry, TInt& anIndex, TInt aMode) const;
- inline TInt InsertInOrder(TInt anEntry);
- inline TInt InsertInOrderAllowRepeats(TInt anEntry);
- inline void AppendL(TInt anEntry);
- inline void InsertL(TInt anEntry, TInt aPos);
- inline TInt FindL(TInt anEntry) const;
- inline TInt FindInOrderL(TInt anEntry) const;
- inline void FindInOrderL(TInt anEntry, TInt& anIndex) const;
- inline TInt SpecificFindInOrderL(TInt anEntry, TInt aMode) const;
- inline void SpecificFindInOrderL(TInt anEntry, TInt& anIndex, TInt aMode) const;
- inline void InsertInOrderL(TInt anEntry);
- inline void InsertInOrderAllowRepeatsL(TInt anEntry);
- inline RArray(TInt* aEntries, TInt aCount);
- inline void GranularCompress();
- inline TInt Reserve(TInt aCount);
- inline void ReserveL(TInt aCount);
- inline void Sort();
- inline TArray<TInt> Array() const;
- };
- #line 5387
- template<> class RArray<TUint> : private RPointerArrayBase
- {
- public:
- inline RArray();
- inline explicit RArray(TInt aGranularity);
- inline RArray(TInt aMinGrowBy, TInt aFactor);
- inline void Close();
- inline TInt Count() const;
- inline const TUint& operator[](TInt anIndex) const;
- inline TUint& operator[](TInt anIndex);
- inline TInt Append(TUint anEntry);
- inline TInt Insert(TUint anEntry, TInt aPos);
- inline void Remove(TInt anIndex);
- inline void Compress();
- inline void Reset();
- inline TInt Find(TUint anEntry) const;
- inline TInt FindInOrder(TUint anEntry) const;
- inline TInt FindInOrder(TUint anEntry, TInt& anIndex) const;
- inline TInt SpecificFindInOrder(TUint anEntry, TInt aMode) const;
- inline TInt SpecificFindInOrder(TUint anEntry, TInt& anIndex, TInt aMode) const;
- inline TInt InsertInOrder(TUint anEntry);
- inline TInt InsertInOrderAllowRepeats(TUint anEntry);
- inline void AppendL(TUint anEntry);
- inline void InsertL(TUint anEntry, TInt aPos);
- inline TInt FindL(TUint anEntry) const;
- inline TInt FindInOrderL(TUint anEntry) const;
- inline void FindInOrderL(TUint anEntry, TInt& anIndex) const;
- inline TInt SpecificFindInOrderL(TUint anEntry, TInt aMode) const;
- inline void SpecificFindInOrderL(TUint anEntry, TInt& anIndex, TInt aMode) const;
- inline void InsertInOrderL(TUint anEntry);
- inline void InsertInOrderAllowRepeatsL(TUint anEntry);
- inline RArray(TUint* aEntries, TInt aCount);
- inline void GranularCompress();
- inline TInt Reserve(TInt aCount);
- inline void ReserveL(TInt aCount);
- inline void Sort();
- inline TArray<TUint> Array() const;
- };
- #line 5822
- extern TAny* operator new(TUint aSize) throw() ;
- extern TAny* operator new(TUint aSize,TUint anExtraSize) throw() ;
- extern void operator delete(TAny* aPtr) throw() ;
- extern TAny* operator new[](TUint aSize) throw() ;
- extern void operator delete[](TAny* aPtr) throw() ;
- inline TAny* operator new(TUint aSize, TAny* aBase) throw() ;
- inline TAny* operator new[](TUint aSize, TAny* aBase) throw() ;
- inline void operator delete(TAny* aPtr, TAny* aBase) throw() ;
- inline void operator delete[](TAny* aPtr, TAny* aBase) throw() ;
- #line 5886
- TBool operator==(TTrue,volatile const TBool);
- TBool operator==(volatile const TBool,TTrue);
- TBool operator!=(TTrue,volatile const TBool);
- TBool operator!=(volatile const TBool,TTrue);
- #line 5928
- class TIpcArgs
- {
- public:
- enum TArgType
- {
- EUnspecified = 0,
- EHandle = 1,
- EFlagDes = 4,
- EFlagConst = 2,
- EFlag16Bit = 1,
- EDes8 = EFlagDes,
- EDes16 = EFlagDes|EFlag16Bit,
- EDesC8 = EFlagDes|EFlagConst,
- EDesC16 = EFlagDes|EFlagConst|EFlag16Bit,
- };
- enum {
- KBitsPerType=3
- };
- enum TNothing {
- #line 5976
- ENothing
- };
- public:
- inline TIpcArgs()
- :iFlags(0)
- {}
- #line 5998
- template <class T0>
- inline explicit TIpcArgs(T0 a0)
- {
- Assign(iArgs[0],a0);
- iFlags=(Type(a0)<<(0*KBitsPerType));
- }
- #line 6015
- template <class T0,class T1>
- inline TIpcArgs(T0 a0,T1 a1)
- {
- Assign(iArgs[0],a0);
- Assign(iArgs[1],a1);
- iFlags=(Type(a0)<<(0*KBitsPerType))|(Type(a1)<<(1*KBitsPerType));
- }
- #line 6035
- template <class T0,class T1,class T2>
- inline TIpcArgs(T0 a0,T1 a1,T2 a2)
- {
- Assign(iArgs[0],a0);
- Assign(iArgs[1],a1);
- Assign(iArgs[2],a2);
- iFlags=(Type(a0)<<(0*KBitsPerType))|(Type(a1)<<(1*KBitsPerType))|(Type(a2)<<(2*KBitsPerType));
- }
- #line 6058
- template <class T0,class T1,class T2,class T3>
- inline TIpcArgs(T0 a0,T1 a1,T2 a2,T3 a3)
- {
- Assign(iArgs[0],a0);
- Assign(iArgs[1],a1);
- Assign(iArgs[2],a2);
- Assign(iArgs[3],a3);
- iFlags=(Type(a0)<<(0*KBitsPerType))|(Type(a1)<<(1*KBitsPerType))|(Type(a2)<<(2*KBitsPerType))|(Type(a3)<<(3*KBitsPerType));
- }
- inline void Set(TInt aIndex,TNothing);
- inline void Set(TInt aIndex,TInt aValue);
- inline void Set(TInt aIndex,const TAny* aValue);
- inline void Set(TInt aIndex,RHandleBase aValue);
- inline void Set(TInt aIndex,const TDesC8* aValue);
- inline void Set(TInt aIndex,const TDesC16* aValue);
- inline void Set(TInt aIndex,TDes8* aValue);
- inline void Set(TInt aIndex,TDes16* aValue);
- private:
- inline static TArgType Type(TNothing);
- inline static TArgType Type(TInt);
- inline static TArgType Type(const TAny*);
- inline static TArgType Type(RHandleBase aValue);
- inline static TArgType Type(const TDesC8*);
- inline static TArgType Type(const TDesC16*);
- inline static TArgType Type(TDes8*);
- inline static TArgType Type(TDes16*);
- inline static void Assign(TInt&,TNothing);
- inline static void Assign(TInt& aArg,TInt aValue);
- inline static void Assign(TInt& aArg,const TAny* aValue);
- inline static void Assign(TInt& aArg,RHandleBase aValue);
- inline static void Assign(TInt& aArg,const TDesC8* aValue);
- inline static void Assign(TInt& aArg,const TDesC16* aValue);
- inline static void Assign(TInt& aArg,TDes8* aValue);
- inline static void Assign(TInt& aArg,TDes16* aValue);
- public:
- TInt iArgs[KMaxMessageArguments];
- #line 6123
- TInt iFlags;
- };
- struct SInt64
- {
- public:
- inline SInt64();
- inline SInt64(Int64 a);
- inline SInt64& operator=(Int64 a);
- inline operator Int64() const;
- public:
- TUint32 iData[2];
- };
- struct SUint64
- {
- public:
- inline SUint64();
- inline SUint64(Uint64 a);
- inline SUint64& operator=(Uint64 a);
- inline operator Uint64() const;
- public:
- TUint32 iData[2];
- };
- struct SDouble
- {
- public:
- inline SDouble();
- inline SDouble(TReal a);
- inline SDouble& operator=(TReal a);
- inline operator TReal() const;
- public:
- TUint32 iData[2];
- };
- #line 6181
- class TThreadStackInfo
- {
- public:
- TLinAddr iBase;
- TLinAddr iLimit;
- TLinAddr iExpandLimit;
- };
- #line 6214
- class XLeaveException
- {
- public:
- inline XLeaveException() {}
- inline XLeaveException(TInt aReason) {iR = aReason;}
- inline TInt Reason() const {return iR;}
- __declspec(dllexport) TInt GetReason() const;
- private:
- #line 6230
- private:
- TAny* iVtable;
- TInt iR;
- };
- namespace std {
- bool uncaught_exception(void);
- void terminate(void);
- void unexpected(void);
- typedef void (*terminate_handler)();
- terminate_handler set_terminate(terminate_handler h) throw();
- typedef void (*unexpected_handler)();
- unexpected_handler set_unexpected(unexpected_handler h) throw();
- }
- class __UnknownWindowsType1;
- class __UnknownWindowsType2;
- class TWin32SEHTrap;
- typedef TUint32 (TWin32SEHExceptionHandler)(__UnknownWindowsType1* aExceptionRecord, TWin32SEHTrap* aRegistrationRecord, __UnknownWindowsType2* aContext);
- class TWin32SEHTrap
- {
- private:
- TWin32SEHTrap(TWin32SEHTrap const &);
- TWin32SEHTrap& operator=(TWin32SEHTrap const &);
- #line 6297
- public:
- __declspec(dllexport) TWin32SEHTrap();
- public:
- __declspec(dllexport) void Trap();
- __declspec(dllexport) void UnTrap();
- private:
- static TUint32 ExceptionHandler(__UnknownWindowsType1* aException, TWin32SEHTrap* aRegistrationRecord, __UnknownWindowsType2* aContext);
- TWin32SEHTrap* iPrevExceptionRegistrationRecord;
- TWin32SEHExceptionHandler* iExceptionHandler;
- private:
- TUint32 iPadding[254];
- };
- #line 1 "C:\Symbian\9.1\S60_3rd\epoc32\include\e32cmn.inl" /* stack depth 2 */
- #line 9
- inline TAny* operator new(TUint , TAny* aBase) throw()
- {return aBase;}
- inline void operator delete(TAny* , TAny* ) throw()
- {}
- inline TAny* operator new[](TUint , TAny* aBase) throw()
- {return aBase;}
- inline void operator delete[](TAny* , TAny* ) throw()
- {}
- inline RAllocator::RAllocator()
- {
- iAccessCount=1;
- iHandleCount=0;
- iHandles=0;
- iFlags=0;
- iCellCount=0;
- iTotalAllocSize=0;
- }
- inline void RAllocator::__DbgMarkCheck(TBool aCountAll, TInt aCount, const TUint8* aFileName, TInt aLineNum)
- {__DbgMarkCheck(aCountAll, aCount, TPtrC8(aFileName), aLineNum);}
- inline RHeap::RHeap()
- {}
- inline TInt RHeap::MaxLength() const
- {return iMaxLength;}
- inline void RHeap::operator delete(TAny*, TAny*)
- {}
- inline TUint8* RHeap::Base() const
- #line 73
- {return iBase;}
- inline TInt RHeap::Size() const
- #line 89
- {return iTop-iBase;}
- inline TInt RHeap::Align(TInt a) const
- {return (((a)+( iAlign)-1)&~(( iAlign)-1)) ;}
- inline const TAny* RHeap::Align(const TAny* a) const
- {return (const TAny*)((((TLinAddr)a)+( iAlign)-1)&~(( iAlign)-1)) ;}
- inline TBool RHeap::IsLastCell(const SCell* aCell) const
- {return (((TUint8*)aCell) + aCell->len) == iTop;}
- inline void RHeap::Lock() const
- {((RFastLock&)iLock).Wait();}
- inline void RHeap::Unlock() const
- {((RFastLock&)iLock).Signal();}
- template <class T>
- inline TRefByValue<T>::TRefByValue(T &aRef)
- : iRef(aRef)
- {}
- template <class T>
- inline TRefByValue<T>::operator T &()
- {return(iRef);}
- #line 201
- inline TInt RBusLogicalChannel::DoCreate(const TDesC& aDevice, const TVersion& aVer, TInt aUnit, const TDesC* aDriver, const TDesC8* aInfo, TOwnerType aType, TBool aTransferable)
- { return DoCreate(aDevice, aVer, aUnit, aDriver, aInfo, (TInt)aType | (aTransferable?KCreateProtectedObject:0) ); }
- inline TChar::TChar()
- {}
- inline TChar::TChar(TUint aChar)
- : iChar(aChar)
- {}
- inline TChar& TChar::operator-=(TUint aChar)
- #line 241
- {iChar-=aChar;return(*this);}
- inline TChar& TChar::operator+=(TUint aChar)
- #line 256
- {iChar+=aChar;return(*this);}
- inline TChar TChar::operator-(TUint aChar)
- #line 273
- {return(iChar-aChar);}
- inline TChar TChar::operator+(TUint aChar)
- #line 288
- {return(iChar+aChar);}
- inline TChar::operator TUint() const
- {return(iChar);}
- inline TBool TDesC8::operator<(const TDesC8 &aDes) const
- #line 320
- {return(Compare(aDes)<0);}
- inline TBool TDesC8::operator<=(const TDesC8 &aDes) const
- #line 339
- {return(Compare(aDes)<=0);}
- inline TBool TDesC8::operator>(const TDesC8 &aDes) const
- #line 358
- {return(Compare(aDes)>0);}
- inline TBool TDesC8::operator>=(const TDesC8 &aDes) const
- #line 377
- {return(Compare(aDes)>=0);}
- inline TBool TDesC8::operator==(const TDesC8 &aDes) const
- #line 396
- {return(Compare(aDes)==0);}
- inline TBool TDesC8::operator!=(const TDesC8 &aDes) const
- #line 415
- {return(Compare(aDes)!=0);}
- inline const TUint8 &TDesC8::operator[](TInt anIndex) const
- #line 433
- {return(AtC(anIndex));}
- inline TInt TDesC8::Length() const
- {return(iLength&KMaskDesLength8);}
- inline TInt TDesC8::Size() const
- {return(Length());}
- inline void TDesC8::DoSetLength(TInt aLength)
- {iLength=(iLength&(~KMaskDesLength8))|aLength;}
- inline void TPtrC8::Set(const TUint8 *aBuf,TInt aLength)
- #line 483
- {new(this) TPtrC8(aBuf,aLength);}
- inline void TPtrC8::Set(const TDesC8 &aDes)
- {new(this) TPtrC8(aDes);}
- inline void TPtrC8::Set(const TPtrC8& aPtr)
- #line 510
- {new(this) TPtrC8(aPtr);}
- inline TPtr8 TBufCBase8::DoDes(TInt aMaxLength)
- {return TPtr8(*this,aMaxLength);}
- template <TInt S>
- inline TBufC8<S>::TBufC8()
- : TBufCBase8()
- #line 540
- {}
- template <TInt S>
- inline TBufC8<S>::TBufC8(const TUint8 *aString)
- : TBufCBase8(aString,S)
- #line 564
- {}
- template <TInt S>
- inline TBufC8<S>::TBufC8(const TDesC8 &aDes)
- : TBufCBase8(aDes,S)
- #line 588
- {}
- template <TInt S>
- inline TBufC8<S> &TBufC8<S>::operator=(const TUint8 *aString)
- #line 607
- {Copy(aString,S);return(*this);}
- template <TInt S>
- inline TBufC8<S> &TBufC8<S>::operator=(const TDesC8 &aDes)
- #line 626
- {Copy(aDes,S);return(*this);}
- template <TInt S>
- inline TPtr8 TBufC8<S>::Des()
- #line 656
- {return DoDes(S);}
- inline HBufC8 &HBufC8::operator=(const HBufC8 &aLcb)
- #line 681
- {return *this=static_cast<const TDesC8&>(aLcb);}
- #line 710
- inline void RBuf8::CreateL(RReadStream &aStream,TInt aMaxLength)
- {
- Assign(HBufC8::NewL(aStream,aMaxLength));
- }
- inline TDes8 &TDes8::operator=(const TUint8 *aString)
- #line 733
- {Copy(aString);return(*this);}
- inline TDes8 &TDes8::operator=(const TDesC8 &aDes)
- #line 751
- {Copy(aDes);return(*this);}
- inline TDes8 &TDes8::operator=(const TDes8 &aDes)
- #line 769
- {Copy(aDes);return(*this);}
- inline TDes8 &TDes8::operator+=(const TDesC8 &aDes)
- #line 788
- {Append(aDes);return(*this);}
- inline const TUint8 &TDes8::operator[](TInt anIndex) const
- #line 806
- {return(AtC(anIndex));}
- inline TUint8 &TDes8::operator[](TInt anIndex)
- #line 825
- {return((TUint8 &)AtC(anIndex));}
- inline TInt TDes8::MaxLength() const
- #line 839
- {return(iMaxLength);}
- inline TInt TDes8::MaxSize() const
- #line 853
- {return(iMaxLength);}
- inline TUint8 * TDes8::WPtr() const
- {return((TUint8 *)Ptr());}
- inline TPtr8 &TPtr8::operator=(const TUint8 *aString)
- #line 879
- {Copy(aString);return(*this);}
- inline TPtr8 &TPtr8::operator=(const TDesC8 &aDes)
- #line 899
- {Copy(aDes);return(*this);}
- inline TPtr8 &TPtr8::operator=(const TPtr8 &aDes)
- #line 919
- {Copy(aDes);return(*this);}
- inline void TPtr8::Set(TUint8 *aBuf,TInt aLength,TInt aMaxLength)
- #line 940
- {new(this) TPtr8(aBuf,aLength,aMaxLength);}
- inline void TPtr8::Set(const TPtr8 &aPtr)
- #line 955
- {new(this) TPtr8(aPtr);}
- template <TInt S>
- inline TBuf8<S>::TBuf8()
- : TBufBase8(S)
- #line 972
- {}
- template <TInt S>
- inline TBuf8<S>::TBuf8(TInt aLength)
- : TBufBase8(aLength,S)
- #line 994
- {}
- template <TInt S>
- inline TBuf8<S>::TBuf8(const TUint8 *aString)
- : TBufBase8(aString,S)
- #line 1018
- {}
- template <TInt S>
- inline TBuf8<S>::TBuf8(const TDesC8 &aDes)
- : TBufBase8(aDes,S)
- #line 1042
- {}
- template <TInt S>
- inline TBuf8<S> &TBuf8<S>::operator=(const TUint8 *aString)
- #line 1062
- {Copy(aString);return(*this);}
- template <TInt S>
- inline TBuf8<S> &TBuf8<S>::operator=(const TDesC8 &aDes)
- #line 1082
- {Copy(aDes);return(*this);}
- template <TInt S>
- inline TBuf8<S>& TBuf8<S>::operator=(const TBuf8<S>& aBuf)
- #line 1100
- {Copy(aBuf);return *this;}
- template <TInt S>
- inline TAlignedBuf8<S>::TAlignedBuf8()
- : TBufBase8(S)
- #line 1117
- {}
- template <TInt S>
- inline TAlignedBuf8<S>::TAlignedBuf8(TInt aLength)
- : TBufBase8(aLength,S)
- #line 1139
- {}
- template <TInt S>
- inline TAlignedBuf8<S>::TAlignedBuf8(const TUint8 *aString)
- : TBufBase8(aString,S)
- #line 1163
- {}
- template <TInt S>
- inline TAlignedBuf8<S>::TAlignedBuf8(const TDesC8 &aDes)
- : TBufBase8(aDes,S)
- #line 1187
- {}
- template <TInt S>
- inline TAlignedBuf8<S> &TAlignedBuf8<S>::operator=(const TUint8 *aString)
- #line 1207
- {Copy(aString);return(*this);}
- template <TInt S>
- inline TAlignedBuf8<S> &TAlignedBuf8<S>::operator=(const TDesC8 &aDes)
- #line 1227
- {Copy(aDes);return(*this);}
- template <TInt S>
- inline TAlignedBuf8<S>& TAlignedBuf8<S>::operator=(const TAlignedBuf8<S>& aBuf)
- #line 1245
- {Copy(aBuf);return *this;}
- template <TInt S>
- inline const TDesC8* TLitC8<S>::operator&() const
- {return (reinterpret_cast<const TDesC8*>(this)) ;}
- template <TInt S>
- inline const TDesC8& TLitC8<S>::operator()() const
- {return *operator&();}
- template <TInt S>
- inline TLitC8<S>::operator const TDesC8&() const
- {return *operator&();}
- template <TInt S>
- inline TLitC8<S>::operator const __TRefDesC8() const
- {return *operator&();}
- inline TBool TDesC16::operator<(const TDesC16 &aDes) const
- #line 1314
- {return(Compare(aDes)<0);}
- inline TBool TDesC16::operator<=(const TDesC16 &aDes) const
- #line 1333
- {return(Compare(aDes)<=0);}
- inline TBool TDesC16::operator>(const TDesC16 &aDes) const
- #line 1352
- {return(Compare(aDes)>0);}
- inline TBool TDesC16::operator>=(const TDesC16 &aDes) const
- #line 1371
- {return(Compare(aDes)>=0);}
- inline TBool TDesC16::operator==(const TDesC16 &aDes) const
- #line 1390
- {return(Compare(aDes)==0);}
- inline TBool TDesC16::operator!=(const TDesC16 &aDes) const
- #line 1409
- {return(Compare(aDes)!=0);}
- inline const TUint16 &TDesC16::operator[](TInt anIndex) const
- #line 1427
- {return(AtC(anIndex));}
- inline TInt TDesC16::Length() const
- {return(iLength&KMaskDesLength16);}
- inline TInt TDesC16::Size() const
- #line 1454
- {return(Length()<<1);}
- inline void TDesC16::DoSetLength(TInt aLength)
- {iLength=(iLength&(~KMaskDesLength16))|aLength;}
- inline void TPtrC16::Set(const TUint16 *aBuf,TInt aLength)
- #line 1478
- {new(this) TPtrC16(aBuf,aLength);}
- inline void TPtrC16::Set(const TDesC16 &aDes)
- {new(this) TPtrC16(aDes);}
- inline void TPtrC16::Set(const TPtrC16& aPtr)
- {new(this) TPtrC16(aPtr);}
- inline TPtr16 TBufCBase16::DoDes(TInt aMaxLength)
- {return TPtr16(*this,aMaxLength);}
- template <TInt S>
- inline TBufC16<S>::TBufC16()
- : TBufCBase16()
- #line 1526
- {}
- template <TInt S>
- inline TBufC16<S>::TBufC16(const TUint16 *aString)
- : TBufCBase16(aString,S)
- #line 1550
- {}
- template <TInt S>
- inline TBufC16<S>::TBufC16(const TDesC16 &aDes)
- : TBufCBase16(aDes,S)
- #line 1574
- {}
- template <TInt S>
- inline TBufC16<S> &TBufC16<S>::operator=(const TUint16 *aString)
- #line 1593
- {Copy(aString,S);return(*this);}
- template <TInt S>
- inline TBufC16<S> &TBufC16<S>::operator=(const TDesC16 &aDes)
- #line 1612
- {Copy(aDes,S);return(*this);}
- template <TInt S>
- inline TPtr16 TBufC16<S>::Des()
- #line 1642
- {return(DoDes(S));}
- inline HBufC16 &HBufC16::operator=(const HBufC16 &aLcb)
- #line 1667
- {return *this=static_cast<const TDesC16&>(aLcb);}
- inline TDes16 &TDes16::operator=(const TUint16 *aString)
- #line 1687
- {Copy(aString);return(*this);}
- inline TDes16 &TDes16::operator=(const TDesC16 &aDes)
- #line 1705
- {Copy(aDes);return(*this);}
- inline TDes16 &TDes16::operator=(const TDes16 &aDes)
- #line 1723
- {Copy(aDes);return(*this);}
- inline TDes16 &TDes16::operator+=(const TDesC16 &aDes)
- #line 1742
- {Append(aDes);return(*this);}
- inline const TUint16 &TDes16::operator[](TInt anIndex) const
- #line 1759
- {return(AtC(anIndex));}
- inline TUint16 &TDes16::operator[](TInt anIndex)
- #line 1778
- {return((TUint16 &)AtC(anIndex));}
- inline TInt TDes16::MaxLength() const
- #line 1792
- {return(iMaxLength);}
- inline TInt TDes16::MaxSize() const
- #line 1806
- {return(iMaxLength<<1);}
- inline TUint16 * TDes16::WPtr() const
- {return((TUint16 *)Ptr());}
- inline TPtr16 &TPtr16::operator=(const TUint16 *aString)
- #line 1832
- {Copy(aString);return(*this);}
- inline TPtr16 &TPtr16::operator=(const TDesC16 &aDes)
- #line 1852
- {Copy(aDes);return(*this);}
- inline TPtr16 &TPtr16::operator=(const TPtr16 &aDes)
- #line 1872
- {Copy(aDes);return(*this);}
- inline void TPtr16::Set(TUint16 *aBuf,TInt aLength,TInt aMaxLength)
- #line 1893
- {new(this) TPtr16(aBuf,aLength,aMaxLength);}
- inline void TPtr16::Set(const TPtr16 &aPtr)
- #line 1908
- {new(this) TPtr16(aPtr);}
- template <TInt S>
- inline TBuf16<S>::TBuf16()
- : TBufBase16(S)
- #line 1925
- {}
- template <TInt S>
- inline TBuf16<S>::TBuf16(TInt aLength)
- : TBufBase16(aLength,S)
- #line 1947
- {}
- template <TInt S>
- inline TBuf16<S>::TBuf16(const TUint16 *aString)
- : TBufBase16(aString,S)
- #line 1971
- {}
- template <TInt S>
- inline TBuf16<S>::TBuf16(const TDesC16 &aDes)
- : TBufBase16(aDes,S)
- #line 1995
- {}
- template <TInt S>
- inline TBuf16<S> &TBuf16<S>::operator=(const TUint16 *aString)
- #line 2015
- {Copy(aString);return(*this);}
- template <TInt S>
- inline TBuf16<S> &TBuf16<S>::operator=(const TDesC16 &aDes)
- #line 2035
- {Copy(aDes);return(*this);}
- template <TInt S>
- inline TBuf16<S>& TBuf16<S>::operator=(const TBuf16<S>& aBuf)
- #line 2056
- {Copy(aBuf);return *this;}
- #line 2083
- inline void RBuf16::CreateL(RReadStream &aStream,TInt aMaxLength)
- {
- Assign(HBufC16::NewL(aStream,aMaxLength));
- }
- template <TInt S>
- inline const TDesC16* TLitC16<S>::operator&() const
- {return (reinterpret_cast<const TDesC16*>(this)) ;}
- template <TInt S>
- inline const TDesC16& TLitC16<S>::operator()() const
- {return *operator&();}
- template <TInt S>
- inline TLitC16<S>::operator const TDesC16&() const
- {return *operator&();}
- template <TInt S>
- inline TLitC16<S>::operator const __TRefDesC16() const
- {return *operator&();}
- template <TInt S>
- inline TBufC<S>::TBufC()
- : TBufCBase16()
- #line 2157
- {}
- template <TInt S>
- inline TBufC<S>::TBufC(const TText *aString)
- : TBufCBase16(aString,S)
- #line 2186
- {}
- template <TInt S>
- inline TBufC<S>::TBufC(const TDesC &aDes)
- : TBufCBase16(aDes,S)
- #line 2219
- {}
- #line 2234
- template <TInt S>
- inline TBufC<S> &TBufC<S>::operator=(const TText *aString)
- #line 2253
- {Copy(aString,S);return(*this);}
- template <TInt S>
- inline TBufC<S> &TBufC<S>::operator=(const TDesC &aDes)
- #line 2277
- {Copy(aDes,S);return(*this);}
- template <TInt S>
- inline TPtr TBufC<S>::Des()
- #line 2308
- {return(DoDes(S));}
- template <TInt S>
- inline TBuf<S>::TBuf()
- : TBufBase16(S)
- {}
- template <TInt S>
- inline TBuf<S>::TBuf(TInt aLength)
- : TBufBase16(aLength,S)
- #line 2350
- {}
- template <TInt S>
- inline TBuf<S>::TBuf(const TText *aString)
- : TBufBase16(aString,S)
- #line 2378
- {}
- template <TInt S>
- inline TBuf<S>::TBuf(const TDesC &aDes)
- : TBufBase16(aDes,S)
- #line 2407
- {}
- #line 2426
- template <TInt S>
- inline TBuf<S> &TBuf<S>::operator=(const TText *aString)
- {Copy(aString);return(*this);}
- template <TInt S>
- inline TBuf<S> &TBuf<S>::operator=(const TDesC &aDes)
- {Copy(aDes);return(*this);}
- template <TInt S>
- inline TBuf<S> &TBuf<S>::operator=(const TBuf<S> &aBuf)
- {Copy(aBuf);return(*this);}
- template <TInt S>
- inline const TDesC* TLitC<S>::operator&() const
- {return (reinterpret_cast<const TDesC*>(this)) ;}
- template <TInt S>
- inline const TDesC& TLitC<S>::operator()() const
- {return *operator&();}
- template <TInt S>
- inline TLitC<S>::operator const TDesC&() const
- {return *operator&();}
- template <TInt S>
- inline TLitC<S>::operator const __TRefDesC() const
- {return *operator&();}
- template <class T>
- inline TPckgC<T>::TPckgC(const T &aRef)
- : TPtrC8((const TUint8 *)&aRef,sizeof(T))
- {}
- template <class T>
- inline const T &TPckgC<T>::operator()() const
- {return(*((const T *)iPtr));}
- template <class T>
- inline TPckg<T>::TPckg(const T &aRef)
- : TPtr8((TUint8 *)&aRef,sizeof(T),sizeof(T))
- {}
- template <class T>
- inline T &TPckg<T>::operator()()
- {return(*((T *)iPtr));}
- template <class T>
- inline TPckgBuf<T>::TPckgBuf()
- : TAlignedBuf8<sizeof(T)>(sizeof(T))
- {new(&this->iBuf[0]) T;}
- template <class T>
- inline TPckgBuf<T>::TPckgBuf(const T &aRef)
- : TAlignedBuf8<sizeof(T)>(sizeof(T))
- #line 2576
- {new(&this->iBuf[0]) T(aRef);}
- template <class T>
- inline TPckgBuf<T> &TPckgBuf<T>::operator=(const TPckgBuf<T> &aRef)
- {this->Copy(aRef);return(*this);}
- template <class T>
- inline T &TPckgBuf<T>::operator=(const T &aRef)
- #line 2605
- {this->Copy((TUint8 *)&aRef,sizeof(T));return(*((T *)&this->iBuf[0]));}
- template <class T>
- inline T &TPckgBuf<T>::operator()()
- {return(*((T *)&this->iBuf[0]));}
- template <class T>
- inline const T &TPckgBuf<T>::operator()() const
- {return(*((T *)&this->iBuf[0]));}
- inline TRequestStatus::TRequestStatus()
- : iFlags(0)
- {}
- inline TRequestStatus::TRequestStatus(TInt aVal)
- : iStatus(aVal),
- iFlags(aVal==KRequestPending ? TRequestStatus::ERequestPending : 0)
- {}
- inline TInt TRequestStatus::operator=(TInt aVal)
- {
- if(aVal==KRequestPending)
- iFlags|=TRequestStatus::ERequestPending;
- else
- iFlags&=~TRequestStatus::ERequestPending;
- return (iStatus=aVal);
- }
- inline TBool TRequestStatus::operator==(TInt aVal) const
- #line 2691
- {return(iStatus==aVal);}
- inline TBool TRequestStatus::operator!=(TInt aVal) const
- #line 2705
- {return(iStatus!=aVal);}
- inline TBool TRequestStatus::operator>=(TInt aVal) const
- #line 2720
- {return(iStatus>=aVal);}
- inline TBool TRequestStatus::operator<=(TInt aVal) const
- #line 2735
- {return(iStatus<=aVal);}
- inline TBool TRequestStatus::operator>(TInt aVal) const
- #line 2750
- {return(iStatus>aVal);}
- inline TBool TRequestStatus::operator<(TInt aVal) const
- #line 2765
- {return(iStatus<aVal);}
- inline TInt TRequestStatus::Int() const
- {return(iStatus);}
- inline TPoint::TPoint()
- : iX(0),iY(0)
- {}
- inline TPoint::TPoint(TInt aX,TInt aY)
- : iX(aX),iY(aY)
- {}
- inline TSize::TSize()
- : iWidth(0),iHeight(0)
- {}
- inline TSize::TSize(TInt aWidth,TInt aHeight)
- : iWidth(aWidth),iHeight(aHeight)
- {}
- inline RHandleBase::RHandleBase()
- : iHandle(0)
- {}
- inline RHandleBase::RHandleBase(TInt aHandle)
- : iHandle(aHandle)
- #line 2853
- {}
- inline void RHandleBase::SetHandle(TInt aHandle)
- { iHandle=aHandle; }
- inline TInt RHandleBase::Handle() const
- {return(iHandle);}
- inline TInt RHandleBase::SetReturnedHandle(TInt aHandleOrError)
- #line 2899
- {
- if(aHandleOrError>=0)
- {
- iHandle = aHandleOrError;
- return KErrNone;
- }
- iHandle = 0;
- return aHandleOrError;
- }
- inline TInt RSemaphore::Open(const TFindSemaphore& aFind,TOwnerType aType)
- #line 2935
- {return(RHandleBase::Open((const TFindHandleBase&)aFind,aType));}
- #line 2947
- inline RFastLock::RFastLock()
- : iCount(0)
- {}
- #line 2960
- inline RMessagePtr2::RMessagePtr2()
- : iHandle(0)
- {}
- #line 2972
- inline TBool RMessagePtr2::IsNull() const
- {return iHandle==0;}
- #line 2983
- inline TInt RMessagePtr2::Handle() const
- {return iHandle;}
- inline TBool operator==(RMessagePtr2 aLeft,RMessagePtr2 aRight)
- {return aLeft.Handle()==aRight.Handle();}
- inline TBool operator!=(RMessagePtr2 aLeft,RMessagePtr2 aRight)
- {return aLeft.Handle()!=aRight.Handle();}
- #line 3000
- inline RMessage2::RMessage2()
- {}
- #line 3011
- inline TInt RMessage2::Function() const
- {return(iFunction);}
- #line 3022
- inline TInt RMessage2::Int0() const
- {return(iArgs[0]);}
- #line 3033
- inline TInt RMessage2::Int1() const
- {return(iArgs[1]);}
- #line 3044
- inline TInt RMessage2::Int2() const
- {return(iArgs[2]);}
- #line 3054
- inline TInt RMessage2::Int3() const
- {return(iArgs[3]);}
- #line 3064
- inline const TAny *RMessage2::Ptr0() const
- {return((const TAny *)iArgs[0]);}
- #line 3075
- inline const TAny *RMessage2::Ptr1() const
- {return((const TAny *)iArgs[1]);}
- #line 3086
- inline const TAny *RMessage2::Ptr2() const
- {return((const TAny *)iArgs[2]);}
- #line 3097
- inline const TAny *RMessage2::Ptr3() const
- {return((const TAny *)iArgs[3]);}
- #line 3107
- inline CSession2* RMessage2::Session() const
- {return (CSession2*)iSessionPtr; }
- inline TUid TUid::Uid(TInt aUid)
- #line 3123
- {TUid uid={aUid};return uid;}
- inline TUid TUid::Null()
- {TUid uid={KNullUidValue};return uid;}
- template <class T>
- inline TArray<T>::TArray(TInt (*aCount)(const CBase *aPtr),const TAny *(*anAt)(const CBase *aPtr,TInt anIndex),const CBase *aPtr)
- : iPtr(aPtr),iCount(aCount),iAt(anAt)
- #line 3195
- {}
- template <class T>
- inline TInt TArray<T>::Count() const
- {return((*iCount)(iPtr));}
- template <class T>
- inline const T &TArray<T>::operator[](TInt anIndex) const
- #line 3232
- {return(*((const T *)(*iAt)(iPtr,anIndex)));}
- template <class T>
- inline TIdentityRelation<T>::TIdentityRelation( TBool (*anIdentity)(const T&, const T&) )
- #line 3254
- { iIdentity=(TGeneralIdentityRelation)anIdentity; }
- template <class T>
- inline TIdentityRelation<T>::operator TGeneralIdentityRelation() const
- { return iIdentity; }
- template <class T>
- inline TLinearOrder<T>::TLinearOrder( TInt(*anOrder)(const T&, const T&) )
- #line 3288
- { iOrder=(TGeneralLinearOrder)anOrder; }
- template <class T>
- inline TLinearOrder<T>::operator TGeneralLinearOrder() const
- { return iOrder; }
- #line 3312
- template <class T>
- inline RPointerArray<T>::RPointerArray()
- : RPointerArrayBase()
- {}
- #line 3331
- template <class T>
- inline RPointerArray<T>::RPointerArray(TInt aGranularity)
- : RPointerArrayBase(aGranularity)
- {}
- #line 3354
- template <class T>
- inline RPointerArray<T>::RPointerArray(TInt aMinGrowBy, TInt aFactor)
- : RPointerArrayBase(aMinGrowBy, aFactor)
- {}
- template <class T>
- inline void RPointerArray<T>::Close()
- #line 3372
- {RPointerArrayBase::Close();}
- template <class T>
- inline TInt RPointerArray<T>::Count() const
- { return RPointerArrayBase::Count(); }
- template <class T>
- inline T* const& RPointerArray<T>::operator[](TInt anIndex) const
- #line 3408
- {return (T* const&)At(anIndex);}
- template <class T>
- inline T*& RPointerArray<T>::operator[](TInt anIndex)
- #line 3432
- {return (T*&)At(anIndex);}
- template <class T>
- inline TInt RPointerArray<T>::Append(const T* anEntry)
- #line 3447
- { return RPointerArrayBase::Append(anEntry); }
- template <class T>
- inline TInt RPointerArray<T>::Insert(const T* anEntry, TInt aPos)
- #line 3468
- { return RPointerArrayBase::Insert(anEntry,aPos); }
- template <class T>
- inline void RPointerArray<T>::Remove(TInt anIndex)
- #line 3488
- {RPointerArrayBase::Remove(anIndex);}
- template <class T>
- inline void RPointerArray<T>::Compress()
- #line 3503
- {RPointerArrayBase::Compress();}
- template <class T>
- inline void RPointerArray<T>::Reset()
- #line 3522
- {RPointerArrayBase::Reset();}
- template <class T>
- inline TInt RPointerArray<T>::Find(const T* anEntry) const
- #line 3542
- { return RPointerArrayBase::Find(anEntry); }
- template <class T>
- inline TInt RPointerArray<T>::Find(const T* anEntry, TIdentityRelation<T> anIdentity) const
- #line 3566
- { return RPointerArrayBase::Find(anEntry,anIdentity); }
- template <class T>
- inline TInt RPointerArray<T>::FindInAddressOrder(const T* anEntry) const
- #line 3584
- { return RPointerArrayBase::FindIsqUnsigned((TUint)anEntry); }
- template <class T>
- inline TInt RPointerArray<T>::FindInOrder(const T* anEntry, TLinearOrder<T> anOrder) const
- #line 3606
- { return RPointerArrayBase::FindIsq(anEntry,anOrder); }
- template <class T>
- inline TInt RPointerArray<T>::FindInAddressOrder(const T* anEntry, TInt& anIndex) const
- #line 3631
- { return RPointerArrayBase::BinarySearchUnsigned((TUint)anEntry,anIndex); }
- template <class T>
- inline TInt RPointerArray<T>::FindInOrder(const T* anEntry, TInt& anIndex, TLinearOrder<T> anOrder) const
- #line 3660
- { return RPointerArrayBase::BinarySearch(anEntry,anIndex,anOrder); }
- template <class T>
- inline TInt RPointerArray<T>::SpecificFindInAddressOrder(const T* anEntry, TInt aMode) const
- #line 3691
- { return RPointerArrayBase::FindIsqUnsigned((TUint)anEntry, aMode); }
- template <class T>
- inline TInt RPointerArray<T>::SpecificFindInOrder(const T* anEntry, TLinearOrder<T> anOrder, TInt aMode) const
- #line 3726
- { return RPointerArrayBase::FindIsq(anEntry,anOrder,aMode); }
- template <class T>
- inline TInt RPointerArray<T>::SpecificFindInAddressOrder(const T* anEntry, TInt& anIndex, TInt aMode) const
- #line 3766
- { return RPointerArrayBase::BinarySearchUnsigned((TUint)anEntry,anIndex,aMode); }
- template <class T>
- inline TInt RPointerArray<T>::SpecificFindInOrder(const T* anEntry, TInt& anIndex, TLinearOrder<T> anOrder, TInt aMode) const
- #line 3810
- { return RPointerArrayBase::BinarySearch(anEntry,anIndex,anOrder,aMode); }
- template <class T>
- inline TInt RPointerArray<T>::InsertInAddressOrder(const T* anEntry)
- #line 3833
- { return RPointerArrayBase::InsertIsqUnsigned((TUint)anEntry,EFalse); }
- template <class T>
- inline TInt RPointerArray<T>::InsertInOrder(const T* anEntry, TLinearOrder<T> anOrder)
- #line 3862
- { return RPointerArrayBase::InsertIsq(anEntry,anOrder,EFalse); }
- template <class T>
- inline TInt RPointerArray<T>::InsertInAddressOrderAllowRepeats(const T* anEntry)
- #line 3885
- { return RPointerArrayBase::InsertIsqUnsigned((TUint)anEntry,ETrue); }
- template <class T>
- inline TInt RPointerArray<T>::InsertInOrderAllowRepeats(const T* anEntry, TLinearOrder<T> anOrder)
- #line 3911
- { return RPointerArrayBase::InsertIsq(anEntry,anOrder,ETrue); }
- template <class T>
- inline RPointerArray<T>::RPointerArray(T** aEntries, TInt aCount)
- : RPointerArrayBase((TAny **)aEntries, aCount)
- #line 3935
- {}
- template <class T>
- inline void RPointerArray<T>::GranularCompress()
- #line 3950
- {RPointerArrayBase::GranularCompress();}
- template <class T>
- inline TInt RPointerArray<T>::Reserve(TInt aCount)
- #line 3969
- { return RPointerArrayBase::DoReserve(aCount); }
- template <class T>
- inline void RPointerArray<T>::SortIntoAddressOrder()
- { HeapSortUnsigned(); }
- template <class T>
- inline void RPointerArray<T>::Sort(TLinearOrder<T> anOrder)
- #line 3996
- { HeapSort(anOrder); }
- template <class T>
- inline TArray<T*> RPointerArray<T>::Array() const
- { return TArray<T*>(GetCount,GetElementPtr,(const CBase*)this); }
- template <class T>
- void RPointerArray<T>::ResetAndDestroy()
- #line 4026
- {
- TInt c=Count();
- T** pE=(T**)Entries();
- ZeroCount();
- TInt i;
- for (i=0; i<c; i++)
- {
- delete *pE;
- pE++;
- }
- Reset();
- }
- #line 4049
- inline RPointerArray<TAny>::RPointerArray()
- : RPointerArrayBase()
- {}
- #line 4067
- inline RPointerArray<TAny>::RPointerArray(TInt aGranularity)
- : RPointerArrayBase(aGranularity)
- {}
- #line 4089
- inline RPointerArray<TAny>::RPointerArray(TInt aMinGrowBy, TInt aFactor)
- : RPointerArrayBase(aMinGrowBy, aFactor)
- {}
- inline void RPointerArray<TAny>::Close()
- #line 4105
- {RPointerArrayBase::Close();}
- inline TInt RPointerArray<TAny>::Count() const
- { return RPointerArrayBase::Count(); }
- inline TAny* const& RPointerArray<TAny>::operator[](TInt anIndex) const
- #line 4139
- {return At(anIndex);}
- inline TAny*& RPointerArray<TAny>::operator[](TInt anIndex)
- #line 4162
- {return At(anIndex);}
- inline TInt RPointerArray<TAny>::Append(const TAny* anEntry)
- #line 4176
- { return RPointerArrayBase::Append(anEntry); }
- inline TInt RPointerArray<TAny>::Insert(const TAny* anEntry, TInt aPos)
- #line 4196
- { return RPointerArrayBase::Insert(anEntry,aPos); }
- inline void RPointerArray<TAny>::Remove(TInt anIndex)
- #line 4215
- {RPointerArrayBase::Remove(anIndex);}
- inline void RPointerArray<TAny>::Compress()
- #line 4229
- {RPointerArrayBase::Compress();}
- inline void RPointerArray<TAny>::Reset()
- #line 4247
- {RPointerArrayBase::Reset();}
- inline TInt RPointerArray<TAny>::Find(const TAny* anEntry) const
- #line 4266
- { return RPointerArrayBase::Find(anEntry); }
- inline TInt RPointerArray<TAny>::FindInAddressOrder(const TAny* anEntry) const
- #line 4283
- { return RPointerArrayBase::FindIsqUnsigned((TUint)anEntry); }
- inline TInt RPointerArray<TAny>::FindInAddressOrder(const TAny* anEntry, TInt& anIndex) const
- #line 4307
- { return RPointerArrayBase::BinarySearchUnsigned((TUint)anEntry,anIndex); }
- inline TInt RPointerArray<TAny>::SpecificFindInAddressOrder(const TAny* anEntry, TInt aMode) const
- #line 4337
- { return RPointerArrayBase::FindIsqUnsigned((TUint)anEntry, aMode); }
- inline TInt RPointerArray<TAny>::SpecificFindInAddressOrder(const TAny* anEntry, TInt& anIndex, TInt aMode) const
- #line 4376
- { return RPointerArrayBase::BinarySearchUnsigned((TUint)anEntry,anIndex,aMode); }
- inline TInt RPointerArray<TAny>::InsertInAddressOrder(const TAny* anEntry)
- #line 4398
- { return RPointerArrayBase::InsertIsqUnsigned((TUint)anEntry,EFalse); }
- inline TInt RPointerArray<TAny>::InsertInAddressOrderAllowRepeats(const TAny* anEntry)
- #line 4420
- { return RPointerArrayBase::InsertIsqUnsigned((TUint)anEntry,ETrue); }
- inline RPointerArray<TAny>::RPointerArray(TAny** aEntries, TInt aCount)
- : RPointerArrayBase((TAny **)aEntries, aCount)
- #line 4443
- {}
- inline void RPointerArray<TAny>::GranularCompress()
- #line 4457
- {RPointerArrayBase::GranularCompress();}
- inline void RPointerArray<TAny>::SortIntoAddressOrder()
- { HeapSortUnsigned(); }
- inline TArray<TAny*> RPointerArray<TAny>::Array() const
- { return TArray<TAny*>(GetCount,GetElementPtr,(const CBase*)this); }
- template <class T>
- inline RArray<T>::RArray()
- : RArrayBase(sizeof(T))
- #line 4497
- {}
- template <class T>
- inline RArray<T>::RArray(TInt aGranularity)
- : RArrayBase(sizeof(T),aGranularity)
- #line 4519
- {}
- template <class T>
- inline RArray<T>::RArray(TInt aGranularity, TInt aKeyOffset)
- : RArrayBase(sizeof(T),aGranularity,aKeyOffset)
- #line 4543
- {}
- #line 4567
- template <class T>
- inline RArray<T>::RArray(TInt aMinGrowBy, TInt aKeyOffset, TInt aFactor)
- : RArrayBase(sizeof(T), aMinGrowBy, aKeyOffset, aFactor)
- {}
- template <class T>
- inline void RArray<T>::Close()
- {RArrayBase::Close();}
- template <class T>
- inline TInt RArray<T>::Count() const
- {return RArrayBase::Count();}
- template <class T>
- inline const T& RArray<T>::operator[](TInt anIndex) const
- #line 4616
- {return *(const T*)At(anIndex); }
- template <class T>
- inline T& RArray<T>::operator[](TInt anIndex)
- #line 4638
- {return *(T*)At(anIndex); }
- template <class T>
- inline TInt RArray<T>::Append(const T& anEntry)
- #line 4653
- {return RArrayBase::Append(&anEntry);}
- template <class T>
- inline TInt RArray<T>::Insert(const T& anEntry, TInt aPos)
- #line 4675
- {return RArrayBase::Insert(&anEntry,aPos);}
- template <class T>
- inline void RArray<T>::Remove(TInt anIndex)
- #line 4692
- {RArrayBase::Remove(anIndex);}
- template <class T>
- inline void RArray<T>::Compress()
- {RArrayBase::Compress();}
- template <class T>
- inline void RArray<T>::Reset()
- #line 4721
- {RArrayBase::Reset();}
- template <class T>
- inline TInt RArray<T>::Find(const T& anEntry) const
- #line 4743
- {return RArrayBase::Find(&anEntry);}
- template <class T>
- inline TInt RArray<T>::Find(const T& anEntry, TIdentityRelation<T> anIdentity) const
- #line 4768
- {return RArrayBase::Find(&anEntry,anIdentity);}
- template <class T>
- inline TInt RArray<T>::FindInSignedKeyOrder(const T& anEntry) const
- #line 4787
- {return RArrayBase::FindIsqSigned(&anEntry);}
- template <class T>
- inline TInt RArray<T>::FindInUnsignedKeyOrder(const T& anEntry) const
- #line 4806
- {return RArrayBase::FindIsqUnsigned(&anEntry);}
- template <class T>
- inline TInt RArray<T>::FindInOrder(const T& anEntry, TLinearOrder<T> anOrder) const
- #line 4828
- {return RArrayBase::FindIsq(&anEntry,anOrder);}
- template <class T>
- inline TInt RArray<T>::FindInSignedKeyOrder(const T& anEntry, TInt& anIndex) const
- #line 4851
- {return RArrayBase::BinarySearchSigned(&anEntry,anIndex);}
- template <class T>
- inline TInt RArray<T>::FindInUnsignedKeyOrder(const T& anEntry, TInt& anIndex) const
- #line 4875
- {return RArrayBase::BinarySearchUnsigned(&anEntry,anIndex);}
- template <class T>
- inline TInt RArray<T>::FindInOrder(const T& anEntry, TInt& anIndex, TLinearOrder<T> anOrder) const
- #line 4902
- {return RArrayBase::BinarySearch(&anEntry,anIndex,anOrder);}
- template <class T>
- inline TInt RArray<T>::SpecificFindInSignedKeyOrder(const T& anEntry, TInt aMode) const
- #line 4936
- {return RArrayBase::FindIsqSigned(&anEntry,aMode);}
- template <class T>
- inline TInt RArray<T>::SpecificFindInUnsignedKeyOrder(const T& anEntry, TInt aMode) const
- #line 4970
- {return RArrayBase::FindIsqUnsigned(&anEntry,aMode);}
- template <class T>
- inline TInt RArray<T>::SpecificFindInOrder(const T& anEntry, TLinearOrder<T> anOrder, TInt aMode) const
- #line 5003
- {return RArrayBase::FindIsq(&anEntry,anOrder,aMode);}
- template <class T>
- inline TInt RArray<T>::SpecificFindInSignedKeyOrder(const T& anEntry, TInt& anIndex, TInt aMode) const
- #line 5042
- {return RArrayBase::BinarySearchSigned(&anEntry,anIndex,aMode);}
- template <class T>
- inline TInt RArray<T>::SpecificFindInUnsignedKeyOrder(const T& anEntry, TInt& anIndex, TInt aMode) const
- #line 5081
- {return RArrayBase::BinarySearchUnsigned(&anEntry,anIndex,aMode);}
- template <class T>
- inline TInt RArray<T>::SpecificFindInOrder(const T& anEntry, TInt& anIndex, TLinearOrder<T> anOrder, TInt aMode) const
- #line 5123
- {return RArrayBase::BinarySearch(&anEntry,anIndex,anOrder,aMode);}
- template <class T>
- inline TInt RArray<T>::InsertInSignedKeyOrder(const T& anEntry)
- #line 5146
- {return RArrayBase::InsertIsqSigned(&anEntry,EFalse);}
- template <class T>
- inline TInt RArray<T>::InsertInUnsignedKeyOrder(const T& anEntry)
- #line 5169
- {return RArrayBase::InsertIsqUnsigned(&anEntry,EFalse);}
- template <class T>
- inline TInt RArray<T>::InsertInOrder(const T& anEntry, TLinearOrder<T> anOrder)
- #line 5197
- {return RArrayBase::InsertIsq(&anEntry,anOrder,EFalse);}
- template <class T>
- inline TInt RArray<T>::InsertInSignedKeyOrderAllowRepeats(const T& anEntry)
- #line 5221
- {return RArrayBase::InsertIsqSigned(&anEntry,ETrue);}
- template <class T>
- inline TInt RArray<T>::InsertInUnsignedKeyOrderAllowRepeats(const T& anEntry)
- #line 5245
- {return RArrayBase::InsertIsqUnsigned(&anEntry,ETrue);}
- template <class T>
- inline TInt RArray<T>::InsertInOrderAllowRepeats(const T& anEntry, TLinearOrder<T> anOrder)
- #line 5272
- {return RArrayBase::InsertIsq(&anEntry,anOrder,ETrue);}
- template <class T>
- inline RArray<T>::RArray(TInt aEntrySize,T* aEntries, TInt aCount)
- : RArrayBase(aEntrySize,aEntries,aCount)
- #line 5303
- {}
- template <class T>
- inline void RArray<T>::GranularCompress()
- #line 5318
- {RArrayBase::GranularCompress();}
- template <class T>
- inline TInt RArray<T>::Reserve(TInt aCount)
- #line 5337
- { return RArrayBase::DoReserve(aCount); }
- template <class T>
- inline void RArray<T>::SortSigned()
- {HeapSortSigned();}
- template <class T>
- inline void RArray<T>::SortUnsigned()
- {HeapSortUnsigned();}
- template <class T>
- inline void RArray<T>::Sort(TLinearOrder<T> anOrder)
- #line 5375
- {HeapSort(anOrder);}
- template <class T>
- inline TArray<T> RArray<T>::Array() const
- { return TArray<T>(GetCount,GetElementPtr,(const CBase*)this); }
- inline RArray<TInt>::RArray()
- : RPointerArrayBase()
- {}
- inline RArray<TInt>::RArray(TInt aGranularity)
- : RPointerArrayBase(aGranularity)
- #line 5417
- {}
- #line 5437
- inline RArray<TInt>::RArray(TInt aMinGrowBy, TInt aFactor)
- : RPointerArrayBase(aMinGrowBy, aFactor)
- {}
- inline void RArray<TInt>::Close()
- {RPointerArrayBase::Close();}
- inline TInt RArray<TInt>::Count() const
- { return RPointerArrayBase::Count(); }
- inline const TInt& RArray<TInt>::operator[](TInt anIndex) const
- #line 5484
- {return (const TInt&)At(anIndex);}
- inline TInt& RArray<TInt>::operator[](TInt anIndex)
- #line 5507
- {return (TInt&)At(anIndex);}
- inline TInt RArray<TInt>::Append(TInt anEntry)
- #line 5521
- { return RPointerArrayBase::Append((const TAny*)anEntry); }
- inline TInt RArray<TInt>::Insert(TInt anEntry, TInt aPos)
- #line 5541
- { return RPointerArrayBase::Insert((const TAny*)anEntry,aPos); }
- inline void RArray<TInt>::Remove(TInt anIndex)
- #line 5558
- {RPointerArrayBase::Remove(anIndex);}
- inline void RArray<TInt>::Compress()
- {RPointerArrayBase::Compress();}
- inline void RArray<TInt>::Reset()
- #line 5586
- {RPointerArrayBase::Reset();}
- inline TInt RArray<TInt>::Find(TInt anEntry) const
- #line 5604
- { return RPointerArrayBase::Find((const TAny*)anEntry); }
- inline TInt RArray<TInt>::FindInOrder(TInt anEntry) const
- #line 5621
- { return RPointerArrayBase::FindIsqSigned(anEntry); }
- inline TInt RArray<TInt>::FindInOrder(TInt anEntry, TInt& anIndex) const
- #line 5644
- { return RPointerArrayBase::BinarySearchSigned(anEntry,anIndex); }
- inline TInt RArray<TInt>::SpecificFindInOrder(TInt anEntry, TInt aMode) const
- #line 5675
- { return RPointerArrayBase::FindIsqSigned(anEntry,aMode); }
- inline TInt RArray<TInt>::SpecificFindInOrder(TInt anEntry, TInt& anIndex, TInt aMode) const
- #line 5713
- { return RPointerArrayBase::BinarySearchSigned(anEntry,anIndex,aMode); }
- inline TInt RArray<TInt>::InsertInOrder(TInt anEntry)
- #line 5735
- { return RPointerArrayBase::InsertIsqSigned(anEntry,EFalse); }
- inline TInt RArray<TInt>::InsertInOrderAllowRepeats(TInt anEntry)
- #line 5758
- { return RPointerArrayBase::InsertIsqSigned(anEntry,ETrue); }
- inline RArray<TInt>::RArray(TInt* aEntries, TInt aCount)
- : RPointerArrayBase((TAny**)aEntries, aCount)
- #line 5781
- {}
- inline void RArray<TInt>::GranularCompress()
- #line 5792
- {RPointerArrayBase::GranularCompress();}
- inline TInt RArray<TInt>::Reserve(TInt aCount)
- #line 5810
- { return RPointerArrayBase::DoReserve(aCount); }
- inline void RArray<TInt>::Sort()
- { HeapSortSigned(); }
- inline TArray<TInt> RArray<TInt>::Array() const
- { return TArray<TInt>(GetCount,GetElementPtr,(const CBase*)this); }
- inline RArray<TUint>::RArray()
- : RPointerArrayBase()
- #line 5847
- {}
- inline RArray<TUint>::RArray(TInt aGranularity)
- : RPointerArrayBase(aGranularity)
- #line 5863
- {}
- #line 5883
- inline RArray<TUint>::RArray(TInt aMinGrowBy, TInt aFactor)
- : RPointerArrayBase(aMinGrowBy, aFactor)
- {}
- inline void RArray<TUint>::Close()
- {RPointerArrayBase::Close();}
- inline TInt RArray<TUint>::Count() const
- {return RPointerArrayBase::Count(); }
- inline const TUint& RArray<TUint>::operator[](TInt anIndex) const
- #line 5930
- {return (const TUint&)At(anIndex);}
- inline TUint& RArray<TUint>::operator[](TInt anIndex)
- #line 5953
- {return (TUint&)At(anIndex);}
- inline TInt RArray<TUint>::Append(TUint anEntry)
- { return RPointerArrayBase::Append((const TAny*)anEntry); }
- inline TInt RArray<TUint>::Insert(TUint anEntry, TInt aPos)
- #line 5987
- { return RPointerArrayBase::Insert((const TAny*)anEntry,aPos); }
- inline void RArray<TUint>::Remove(TInt anIndex)
- #line 6005
- {RPointerArrayBase::Remove(anIndex);}
- inline void RArray<TUint>::Compress()
- {RPointerArrayBase::Compress();}
- inline void RArray<TUint>::Reset()
- #line 6033
- {RPointerArrayBase::Reset();}
- inline TInt RArray<TUint>::Find(TUint anEntry) const
- #line 6051
- { return RPointerArrayBase::Find((const TAny*)anEntry); }
- inline TInt RArray<TUint>::FindInOrder(TUint anEntry) const
- #line 6070
- { return RPointerArrayBase::FindIsqUnsigned(anEntry); }
- inline TInt RArray<TUint>::FindInOrder(TUint anEntry, TInt& anIndex) const
- #line 6098
- { return RPointerArrayBase::BinarySearchUnsigned(anEntry,anIndex); }
- inline TInt RArray<TUint>::SpecificFindInOrder(TUint anEntry, TInt aMode) const
- #line 6128
- { return RPointerArrayBase::FindIsqUnsigned(anEntry,aMode); }
- inline TInt RArray<TUint>::SpecificFindInOrder(TUint anEntry, TInt& anIndex, TInt aMode) const
- #line 6163
- { return RPointerArrayBase::BinarySearchUnsigned(anEntry,anIndex,aMode); }
- inline TInt RArray<TUint>::InsertInOrder(TUint anEntry)
- #line 6185
- { return RPointerArrayBase::InsertIsqUnsigned(anEntry,EFalse); }
- inline TInt RArray<TUint>::InsertInOrderAllowRepeats(TUint anEntry)
- #line 6208
- { return RPointerArrayBase::InsertIsqUnsigned(anEntry,ETrue); }
- inline RArray<TUint>::RArray(TUint* aEntries, TInt aCount)
- : RPointerArrayBase((TAny**)aEntries, aCount)
- #line 6231
- {}
- inline void RArray<TUint>::GranularCompress()
- #line 6244
- {RPointerArrayBase::GranularCompress();}
- inline TInt RArray<TUint>::Reserve(TInt aCount)
- #line 6262
- { return RPointerArrayBase::DoReserve(aCount); }
- inline void RArray<TUint>::Sort()
- { HeapSortUnsigned(); }
- inline TArray<TUint> RArray<TUint>::Array() const
- { return TArray<TUint>(GetCount,GetElementPtr,(const CBase*)this); }
- #line 6293
- inline void TIpcArgs::Set(TInt,TNothing)
- {}
- #line 6307
- inline void TIpcArgs::Set(TInt aIndex,TInt aValue)
- {
- iArgs[aIndex] = aValue;
- iFlags |= EUnspecified<<(aIndex*KBitsPerType);
- }
- #line 6324
- inline void TIpcArgs::Set(TInt aIndex,const TAny* aValue)
- {
- iArgs[aIndex] = (TInt)aValue;
- iFlags |= EUnspecified<<(aIndex*KBitsPerType);
- }
- #line 6341
- inline void TIpcArgs::Set(TInt aIndex,RHandleBase aValue)
- {
- iArgs[aIndex] = (TInt)aValue.Handle();
- iFlags |= EHandle<<(aIndex*KBitsPerType);
- }
- #line 6358
- inline void TIpcArgs::Set(TInt aIndex,const TDesC8* aValue)
- {
- iArgs[aIndex] = (TInt)aValue;
- iFlags |= EDesC8<<(aIndex*KBitsPerType);
- }
- #line 6377
- inline void TIpcArgs::Set(TInt aIndex,const TDesC16* aValue)
- {
- iArgs[aIndex] = (TInt)aValue;
- iFlags |= EDesC16<<(aIndex*KBitsPerType);
- }
- #line 6396
- inline void TIpcArgs::Set(TInt aIndex,TDes8* aValue)
- {
- iArgs[aIndex] = (TInt)aValue;
- iFlags |= EDes8<<(aIndex*KBitsPerType);
- }
- #line 6415
- inline void TIpcArgs::Set(TInt aIndex,TDes16* aValue)
- {
- iArgs[aIndex] = (TInt)aValue;
- iFlags |= EDes16<<(aIndex*KBitsPerType);
- }
- inline TIpcArgs::TArgType TIpcArgs::Type(TNothing)
- { return EUnspecified; }
- inline TIpcArgs::TArgType TIpcArgs::Type(TInt)
- { return EUnspecified; }
- inline TIpcArgs::TArgType TIpcArgs::Type(const TAny*)
- { return EUnspecified; }
- inline TIpcArgs::TArgType TIpcArgs::Type(RHandleBase)
- { return EHandle; }
- inline TIpcArgs::TArgType TIpcArgs::Type(const TDesC8*)
- { return EDesC8; }
- inline TIpcArgs::TArgType TIpcArgs::Type(const TDesC16*)
- { return EDesC16; }
- inline TIpcArgs::TArgType TIpcArgs::Type(TDes8*)
- { return EDes8; }
- inline TIpcArgs::TArgType TIpcArgs::Type(TDes16*)
- { return EDes16; }
- inline void TIpcArgs::Assign(TInt&,TIpcArgs::TNothing)
- {}
- inline void TIpcArgs::Assign(TInt& aArg,TInt aValue)
- { aArg = aValue; }
- inline void TIpcArgs::Assign(TInt& aArg,const TAny* aValue)
- { aArg = (TInt)aValue; }
- inline void TIpcArgs::Assign(TInt& aArg,RHandleBase aValue)
- { aArg = (TInt)aValue.Handle(); }
- inline void TIpcArgs::Assign(TInt& aArg,const TDesC8* aValue)
- { aArg = (TInt)aValue; }
- inline void TIpcArgs::Assign(TInt& aArg,const TDesC16* aValue)
- { aArg = (TInt)aValue; }
- inline void TIpcArgs::Assign(TInt& aArg,TDes8* aValue)
- { aArg = (TInt)aValue; }
- inline void TIpcArgs::Assign(TInt& aArg,TDes16* aValue)
- { aArg = (TInt)aValue; }
- inline SInt64::SInt64()
- {}
- inline SInt64::SInt64(Int64 a)
- {
- iData[0] = (TUint32)((Uint64)a);
- iData[1] = (TUint32)(((Uint64)a)>>32);
- }
- inline SInt64& SInt64::operator=(Int64 a)
- {
- iData[0] = (TUint32)((Uint64)a);
- iData[1] = (TUint32)(((Uint64)a)>>32);
- return *this;
- }
- inline SInt64::operator Int64() const
- {
- Int64 x;
- TUint32* px = (TUint32*)&x;
- px[0] = iData[0];
- px[1] = iData[1];
- return x;
- }
- inline SUint64::SUint64()
- {}
- inline SUint64::SUint64(Uint64 a)
- {
- iData[0] = (TUint32)a;
- iData[1] = (TUint32)(a>>32);
- }
- inline SUint64& SUint64::operator=(Uint64 a)
- {
- iData[0] = (TUint32)a;
- iData[1] = (TUint32)(a>>32);
- return *this;
- }
- inline SUint64::operator Uint64() const
- {
- Uint64 x;
- TUint32* px = (TUint32*)&x;
- px[0] = iData[0];
- px[1] = iData[1];
- return x;
- }
- inline SDouble::SDouble()
- {}
- inline SDouble::SDouble(TReal a)
- {
- const TUint32* pa = (const TUint32*)&a;
- iData[0] = pa[0];
- iData[1] = pa[1];
- }
- inline SDouble& SDouble::operator=(TReal a)
- {
- new (this) SDouble(a);
- return *this;
- }
- inline SDouble::operator TReal() const
- {
- TReal x;
- TUint32* px = (TUint32*)&x;
- px[0] = iData[0];
- px[1] = iData[1];
- return x;
- }
- inline TSecureId::TSecureId()
- {}
- inline TSecureId::TSecureId(TUint32 aId)
- : iId(aId) {}
- inline TSecureId::operator TUint32() const
- { return iId; }
- inline TSecureId::TSecureId(TUid aId)
- : iId(aId.iUid) {}
- inline TSecureId::operator TUid() const
- { return (TUid&)iId; }
- inline const TSecureId* SSecureId::operator&() const
- { return (const TSecureId*)this; }
- inline SSecureId::operator const TSecureId&() const
- { return (const TSecureId&)iId; }
- inline SSecureId::operator TUint32() const
- { return iId; }
- inline SSecureId::operator TUid() const
- { return (TUid&)iId; }
- inline TVendorId::TVendorId()
- {}
- inline TVendorId::TVendorId(TUint32 aId)
- : iId(aId) {}
- inline TVendorId::operator TUint32() const
- { return iId; }
- inline TVendorId::TVendorId(TUid aId)
- : iId(aId.iUid) {}
- inline TVendorId::operator TUid() const
- { return (TUid&)iId; }
- inline const TVendorId* SVendorId::operator&() const
- { return (const TVendorId*)this; }
- inline SVendorId::operator const TVendorId&() const
- { return (const TVendorId&)iId; }
- inline SVendorId::operator TUint32() const
- { return iId; }
- inline SVendorId::operator TUid() const
- { return (TUid&)iId; }
- inline TCapabilitySet::TCapabilitySet()
- {}
- inline TCapabilitySet::TCapabilitySet(TCapability aCapability)
- { new (this) TCapabilitySet(aCapability, aCapability); }
- inline void TCapabilitySet::Set(TCapability aCapability)
- { new (this) TCapabilitySet(aCapability, aCapability); }
- inline void TCapabilitySet::Set(TCapability aCapability1, TCapability aCapability2)
- { new (this) TCapabilitySet(aCapability1, aCapability2); }
- inline TSecurityInfo::TSecurityInfo()
- {}
- inline TSecurityPolicy::TSecurityPolicy()
- { new (this) TSecurityPolicy(EAlwaysFail); }
- inline const TSecurityPolicy* TStaticSecurityPolicy::operator&() const
- { return (const TSecurityPolicy*)this; }
- inline TStaticSecurityPolicy::operator const TSecurityPolicy&() const
- { return *(const TSecurityPolicy*)this; }
- inline const TSecurityPolicy& TStaticSecurityPolicy::operator()() const
- { return *(const TSecurityPolicy*)this; }
- #line 6341 "C:\Symbian\9.1\S60_3rd\epoc32\include\e32cmn.h" /* stack depth 1 */
- #line 2 "C:\gbtukmanpf01\NOK124\Courses\S60\05300-S60_C++_Introduction\Working\LabCode\Lab_05304-s2.cb1\starter\.generated\winscw_uid.cpp" /* stack depth 0 */
- #pragma data_seg(".SYMBIAN")
- #line 4
- TEmulatorImageHeader uid={{0x1000007a,0x100039CE,0x08B9993D},EPriorityForeground,{0x08B9993D,0x00000000,{0x00000000u,0x00000000u}},0,0,0x00000000,0};
- #pragma data_seg()