kernel/eka/include/e32des16.h
branchRCL_3
changeset 256 c1f20ce4abcf
parent 0 a41df078684a
child 257 3e88ff8f41d5
equal deleted inserted replaced
249:a179b74831c9 256:c1f20ce4abcf
   130 	IMPORT_C TInt FindC(const TUint16 *aText,TInt aLength, TInt aMaxLevel) const;
   130 	IMPORT_C TInt FindC(const TUint16 *aText,TInt aLength, TInt aMaxLevel) const;
   131 	IMPORT_C TInt FindC(const TDesC16 &aDes,TInt &aLengthFound, const TCollationMethod &aMethod,TInt aMaxLevel) const;
   131 	IMPORT_C TInt FindC(const TDesC16 &aDes,TInt &aLengthFound, const TCollationMethod &aMethod,TInt aMaxLevel) const;
   132 	IMPORT_C HBufC16 *Alloc() const;
   132 	IMPORT_C HBufC16 *Alloc() const;
   133 	IMPORT_C HBufC16 *AllocL() const;
   133 	IMPORT_C HBufC16 *AllocL() const;
   134 	IMPORT_C HBufC16 *AllocLC() const;
   134 	IMPORT_C HBufC16 *AllocLC() const;
       
   135 
       
   136 	// surrogate-aware ones
       
   137 	IMPORT_C TInt FindCorruptSurrogate() const;
       
   138 	IMPORT_C TInt Locate2(TChar aChar) const;
       
   139 	IMPORT_C TInt LocateF2(TChar aChar) const;
       
   140 	IMPORT_C TInt LocateReverse2(TChar aChar) const;
       
   141 	IMPORT_C TInt LocateReverseF2(TChar aChar) const;
       
   142 	IMPORT_C TInt Match2(const TDesC16 &aDes) const;
       
   143 
   135 protected:
   144 protected:
   136 	inline TDesC16() {}
   145 	inline TDesC16() {}
   137 	inline TDesC16(TInt aType,TInt aLength);
   146 	inline TDesC16(TInt aType,TInt aLength);
   138 // delay this for a while
   147 // delay this for a while
   139 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS
   148 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS
   333 	IMPORT_C void AppendNum(TUint64 aVal, TRadix aRadix);
   342 	IMPORT_C void AppendNum(TUint64 aVal, TRadix aRadix);
   334 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,TDes16Overflow *aOverflowHandler,...);
   343 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,TDes16Overflow *aOverflowHandler,...);
   335 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,...);
   344 	IMPORT_C void AppendFormat(TRefByValue<const TDesC16> aFmt,...);
   336 	IMPORT_C void AppendFormatList(const TDesC16 &aFmt,VA_LIST aList,TDes16Overflow *aOverflowHandler=NULL);
   345 	IMPORT_C void AppendFormatList(const TDesC16 &aFmt,VA_LIST aList,TDes16Overflow *aOverflowHandler=NULL);
   337 	IMPORT_C TPtr8 Collapse();
   346 	IMPORT_C TPtr8 Collapse();
       
   347 	
       
   348 	// surrogate-aware ones
       
   349 	IMPORT_C void Append2(TChar aChar);
       
   350 	IMPORT_C void Fill2(TChar aChar);
       
   351 	IMPORT_C void Fill2(TChar aChar, TInt aLength);
       
   352 	IMPORT_C void AppendFill2(TChar aChar, TInt aLength);
       
   353 	IMPORT_C void Justify2(const TDesC16 &aDes, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   354 	IMPORT_C void AppendJustify2(const TDesC16 &aDes, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   355 	IMPORT_C void AppendJustify2(const TDesC16 &aDes, TInt aLength, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   356 	IMPORT_C void AppendJustify2(const TUint16 *aString, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   357 	IMPORT_C void AppendJustify2(const TUint16 *aString, TInt aLength, TInt aWidth, TAlign anAlignment, TChar aFill);
       
   358 	IMPORT_C void Fold2();
       
   359 	IMPORT_C void Collate2();
       
   360 	IMPORT_C void LowerCase2();
       
   361 	IMPORT_C void UpperCase2();
       
   362 	IMPORT_C void Capitalize2();
       
   363 	IMPORT_C void CopyF2(const TDesC16 &aDes);
       
   364 	IMPORT_C void CopyC2(const TDesC16 &aDes);
       
   365 	IMPORT_C void CopyLC2(const TDesC16 &aDes);
       
   366 	IMPORT_C void CopyUC2(const TDesC16 &aDes);
       
   367 	IMPORT_C void CopyCP2(const TDesC16 &aDes);
       
   368 	
   338 protected:
   369 protected:
   339 	inline TDes16() {}
   370 	inline TDes16() {}
   340 	inline TDes16(TInt aType,TInt aLength,TInt aMaxLength);
   371 	inline TDes16(TInt aType,TInt aLength,TInt aMaxLength);
   341 // delay this for a while
   372 // delay this for a while
   342 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS
   373 #ifdef SYMBIAN_FIX_TDESC_CONSTRUCTORS