📄 testnoteappview.inc
字号:
EOtherNeutral
};
enum TCjkWidth
{
ENeutralWidth,
EHalfWidth,
EFullWidth,
ENarrow,
EWide
};
enum TEncoding
{
EUnicode,
EShiftJIS
};
#line 946
enum
{
EFoldCase = 1,
EFoldAccents = 2,
EFoldDigits = 4,
EFoldSpaces = 8,
EFoldKana = 16,
EFoldWidth = 32,
EFoldStandard = EFoldCase | EFoldAccents | EFoldDigits | EFoldSpaces,
EFoldAll = -1
};
struct TCharInfo
{
TCategory iCategory;
TBdCategory iBdCategory;
TInt iCombiningClass;
TUint iLowerCase;
TUint iUpperCase;
TUint iTitleCase;
TBool iMirrored;
TInt iNumericValue;
};
inline TChar();
inline TChar(TUint aChar);
inline TChar& operator-=(TUint aChar);
inline TChar& operator+=(TUint aChar);
inline TChar operator-(TUint aChar);
inline TChar operator+(TUint aChar);
inline operator TUint() const;
inline void Fold();
inline void LowerCase();
inline void UpperCase();
inline TBool Eos() const;
__declspec(dllexport) TUint GetUpperCase() const;
__declspec(dllexport) TUint GetLowerCase() const;
__declspec(dllexport) TBool IsLower() const;
__declspec(dllexport) TBool IsUpper() const;
__declspec(dllexport) TBool IsAlpha() const;
__declspec(dllexport) TBool IsDigit() const;
__declspec(dllexport) TBool IsAlphaDigit() const;
__declspec(dllexport) TBool IsHexDigit() const;
__declspec(dllexport) TBool IsSpace() const;
__declspec(dllexport) TBool IsPunctuation() const;
__declspec(dllexport) TBool IsGraph() const;
__declspec(dllexport) TBool IsPrint() const;
__declspec(dllexport) TBool IsControl() const;
inline void Fold(TInt aFlags);
inline void TitleCase();
__declspec(dllexport) TUint GetTitleCase() const;
__declspec(dllexport) TBool IsTitle() const;
__declspec(dllexport) TBool IsAssigned() const;
__declspec(dllexport) void GetInfo(TCharInfo& aInfo) const;
__declspec(dllexport) TCategory GetCategory() const;
__declspec(dllexport) TBdCategory GetBdCategory() const;
__declspec(dllexport) TInt GetCombiningClass() const;
__declspec(dllexport) TBool IsMirrored() const;
__declspec(dllexport) TInt GetNumericValue() const;
__declspec(dllexport) TCjkWidth GetCjkWidth() const;
__declspec(dllexport) static TBool Compose(TUint& aResult,const TDesC16& aSource);
__declspec(dllexport) TBool Decompose(TPtrC16& aResult) const;
__declspec(dllexport) TBool TranslateFromUnicode(TUint& aCode,TEncoding aEncoding) const;
__declspec(dllexport) static TBool TranslateToUnicode(TUint& aTo,TUint aFrom,TEncoding aEncoding);
protected:
inline void SetChar(TUint aChar);
private:
TUint iChar;
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
#line 1 "C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\e32des8.h" /* stack depth 5 */
#line 12
const TUint KMaskDesLength8=0xfffffff;
const TInt KShiftDesType8=28;
class TBufCBase8;
class TDes8;
class TPtrC8;
class TPtr8;
class TPtr16;
class HBufC8;
class TDesC8
#line 48
{
public:
inline TBool operator<(const TDesC8 &aDes) const;
inline TBool operator<=(const TDesC8 &aDes) const;
inline TBool operator>(const TDesC8 &aDes) const;
inline TBool operator>=(const TDesC8 &aDes) const;
inline TBool operator==(const TDesC8 &aDes) const;
inline TBool operator!=(const TDesC8 &aDes) const;
inline const TUint8 &operator[](TInt anIndex) const;
inline TInt Length() const;
inline TInt Size() const;
__declspec(dllexport) const TUint8 *Ptr() const;
__declspec(dllexport) TInt Compare(const TDesC8 &aDes) const;
__declspec(dllexport) TInt Match(const TDesC8 &aDes) const;
__declspec(dllexport) TInt MatchF(const TDesC8 &aDes) const;
__declspec(dllexport) TInt MatchC(const TDesC8 &aDes) const;
__declspec(dllexport) TInt Locate(TChar aChar) const;
__declspec(dllexport) TInt LocateReverse(TChar aChar) const;
__declspec(dllexport) TInt Find(const TDesC8 &aDes) const;
__declspec(dllexport) TInt Find(const TUint8 *pS,TInt aLenS) const;
__declspec(dllexport) TPtrC8 Left(TInt aLength) const;
__declspec(dllexport) TPtrC8 Right(TInt aLength) const;
__declspec(dllexport) TPtrC8 Mid(TInt aPos) const;
__declspec(dllexport) TPtrC8 Mid(TInt aPos,TInt aLength) const;
__declspec(dllexport) TInt CompareF(const TDesC8 &aDes) const;
__declspec(dllexport) TInt CompareC(const TDesC8 &aDes) const;
__declspec(dllexport) TInt LocateF(TChar aChar) const;
__declspec(dllexport) TInt LocateReverseF(TChar aChar) const;
__declspec(dllexport) TInt FindF(const TDesC8 &aDes) const;
__declspec(dllexport) TInt FindF(const TUint8 *pS,TInt aLenS) const;
__declspec(dllexport) TInt FindC(const TDesC8 &aDes) const;
__declspec(dllexport) TInt FindC(const TUint8 *pS,TInt aLenS) const;
__declspec(dllexport) HBufC8 *Alloc() const;
__declspec(dllexport) HBufC8 *AllocL() const;
__declspec(dllexport) HBufC8 *AllocLC() const;
protected:
inline TDesC8(TInt aType,TInt aLength);
inline TDesC8() {}
inline TInt Type() const;
inline void DoSetLength(TInt aLength);
__declspec(dllexport) const TUint8 &AtC(TInt anIndex) const;
private:
TUint iLength;
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TPtrC8 : public TDesC8
#line 122
{
public:
__declspec(dllexport) TPtrC8();
__declspec(dllexport) TPtrC8(const TDesC8 &aDes);
__declspec(dllexport) TPtrC8(const TUint8 *aString);
__declspec(dllexport) TPtrC8(const TUint8 *aBuf,TInt aLength);
inline void Set(const TUint8 *aBuf,TInt aLength);
inline void Set(const TDesC8 &aDes);
inline void Set(const TPtrC8& aPtr);
private:
TPtrC8& operator=(const TPtrC8 &aDes);
protected:
const TUint8 *iPtr;
private:
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TDes8Overflow
#line 154
{
public:
#line 165
virtual void Overflow(TDes8 &aDes)=0;
};
class TDesC16;
class TRealFormat;
class TDes8 : public TDesC8
#line 192
{
public:
inline TDes8& operator=(const TUint8 *aString);
inline TDes8& operator=(const TDesC8 &aDes);
inline TDes8& operator=(const TDes8 &aDes);
inline TInt MaxLength() const;
inline TInt MaxSize() const;
inline const TUint8 &operator[](TInt anIndex) const;
inline TUint8 &operator[](TInt anIndex);
inline TDes8 &operator+=(const TDesC8 &aDes);
__declspec(dllexport) void Zero();
__declspec(dllexport) void SetLength(TInt aLength);
__declspec(dllexport) void SetMax();
__declspec(dllexport) void Copy(const TDesC8 &aDes);
__declspec(dllexport) void Copy(const TUint8 *aBuf,TInt aLength);
__declspec(dllexport) void Copy(const TUint8 *aString);
__declspec(dllexport) void Copy(const TDesC16 &aDes);
__declspec(dllexport) void Append(TChar aChar);
__declspec(dllexport) void Append(const TDesC8 &aDes);
__declspec(dllexport) void Append(const TDesC16 &aDes);
__declspec(dllexport) void Append(const TUint8 *aBuf,TInt aLength);
__declspec(dllexport) void Fill(TChar aChar);
__declspec(dllexport) void Fill(TChar aChar,TInt aLength);
__declspec(dllexport) void FillZ();
__declspec(dllexport) void FillZ(TInt aLength);
__declspec(dllexport) void Num(TInt64 aVal);
__declspec(dllexport) void Num(TUint64 aVal, TRadix aRadix);
__declspec(dllexport) void NumFixedWidth(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) void AppendNum(TInt64 aVal);
__declspec(dllexport) void AppendNum(TUint64 aVal, TRadix aRadix);
__declspec(dllexport) void AppendNumFixedWidth(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) TPtr8 LeftTPtr(TInt aLength) const;
__declspec(dllexport) TPtr8 RightTPtr(TInt aLength) const;
__declspec(dllexport) TPtr8 MidTPtr(TInt aPos) const;
__declspec(dllexport) TPtr8 MidTPtr(TInt aPos,TInt aLength) const;
__declspec(dllexport) const TUint8 *PtrZ();
__declspec(dllexport) void CopyF(const TDesC8 &aDes);
__declspec(dllexport) void CopyC(const TDesC8 &aDes);
__declspec(dllexport) void CopyLC(const TDesC8 &aDes);
__declspec(dllexport) void CopyUC(const TDesC8 &aDes);
__declspec(dllexport) void CopyCP(const TDesC8 &aDes);
__declspec(dllexport) void Swap(TDes8 &aDes);
__declspec(dllexport) void AppendFill(TChar aChar,TInt aLength);
__declspec(dllexport) void ZeroTerminate();
__declspec(dllexport) void Fold();
__declspec(dllexport) void Collate();
__declspec(dllexport) void LowerCase();
__declspec(dllexport) void UpperCase();
__declspec(dllexport) void Capitalize();
__declspec(dllexport) void Repeat(const TUint8 *aBuf,TInt aLength);
__declspec(dllexport) void Repeat(const TDesC8 &aDes);
__declspec(dllexport) void Trim();
__declspec(dllexport) void TrimAll();
__declspec(dllexport) void TrimLeft();
__declspec(dllexport) void TrimRight();
__declspec(dllexport) void Insert(TInt aPos,const TDesC8 &aDes);
__declspec(dllexport) void Delete(TInt aPos,TInt aLength);
__declspec(dllexport) void Replace(TInt aPos,TInt aLength,const TDesC8 &aDes);
__declspec(dllexport) void Justify(const TDesC8 &aDes,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void NumFixedWidthUC(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) void NumUC(TUint64 aVal, TRadix aRadix=EDecimal);
__declspec(dllexport) TInt Num(TReal aVal,const TRealFormat &aFormat) ;
__declspec(dllexport) void AppendNumFixedWidthUC(TUint aVal,TRadix aRadix,TInt aWidth);
__declspec(dllexport) TInt AppendNum(TReal aVal,const TRealFormat &aFormat) ;
__declspec(dllexport) void AppendNumUC(TUint64 aVal,TRadix aRadix=EDecimal);
__declspec(dllexport) void Format(TRefByValue<const TDesC8> aFmt,...);
__declspec(dllexport) void FormatList(const TDesC8 &aFmt,VA_LIST aList);
__declspec(dllexport) void AppendJustify(const TDesC8 &Des,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendJustify(const TDesC8 &Des,TInt aLength,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendJustify(const TUint8 *aString,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendJustify(const TUint8 *aString,TInt aLength,TInt aWidth,TAlign anAlignment,TChar aFill);
__declspec(dllexport) void AppendFormat(TRefByValue<const TDesC8> aFmt,TDes8Overflow *aOverflowHandler,...);
__declspec(dllexport) void AppendFormat(TRefByValue<const TDesC8> aFmt,...);
__declspec(dllexport) void AppendFormatList(const TDesC8 &aFmt,VA_LIST aList,TDes8Overflow *aOverflowHandler=0 );
__declspec(dllexport) TPtr16 Expand();
__declspec(dllexport) void Collapse();
protected:
inline TDes8(TInt aType,TInt aLength,TInt aMaxLength);
inline TUint8 *WPtr() const;
inline TDes8() {}
void DoAppendNum(TUint64 aVal, TRadix aRadix, TUint aA, TInt aW);
void DoPadAppendNum(TInt aLength, TInt aW, const TUint8* aBuf);
protected:
TInt iMaxLength;
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TPtr8 : public TDes8
#line 308
{
public:
__declspec(dllexport) TPtr8(TUint8 *aBuf,TInt aMaxLength);
__declspec(dllexport) TPtr8(TUint8 *aBuf,TInt aLength,TInt aMaxLength);
inline TPtr8& operator=(const TUint8 *aString);
inline TPtr8& operator=(const TDesC8& aDes);
inline TPtr8& operator=(const TPtr8& aPtr);
inline void Set(TUint8 *aBuf,TInt aLength,TInt aMaxLength);
inline void Set(const TPtr8 &aPtr);
private:
__declspec(dllexport) TPtr8(TBufCBase8 &aLcb,TInt aMaxLength);
protected:
TUint8 *iPtr;
private:
friend class TBufCBase8;
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
class TBufCBase8 : public TDesC8
{
protected:
__declspec(dllexport) TBufCBase8();
inline TBufCBase8(TInt aLength);
__declspec(dllexport) TBufCBase8(const TUint8 *aString,TInt aMaxLength);
__declspec(dllexport) TBufCBase8(const TDesC8 &aDes,TInt aMaxLength);
__declspec(dllexport) void Copy(const TUint8 *aString,TInt aMaxLength);
__declspec(dllexport) void Copy(const TDesC8 &aDes,TInt aMaxLength);
inline TPtr8 DoDes(TInt aMaxLength);
inline TUint8 *WPtr() const;
};
class RReadStream;
class HBufC8 : public TBufCBase8
#line 379
{
public:
__declspec(dllexport) static HBufC8 *New(TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewL(TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewLC(TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewMax(TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewMaxL(TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewMaxLC(TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewL(RReadStream &aStream,TInt aMaxLength);
__declspec(dllexport) static HBufC8 *NewLC(RReadStream &aStream,TInt aMaxLength);
__declspec(dllexport) HBufC8& operator=(const TUint8 *aString);
__declspec(dllexport) HBufC8& operator=(const TDesC8 &aDes);
inline HBufC8& operator=(const HBufC8 &aLcb);
__declspec(dllexport) HBufC8 *ReAlloc(TInt aMaxLength);
__declspec(dllexport) HBufC8 *ReAllocL(TInt aMaxLength);
__declspec(dllexport) TPtr8 Des();
private:
inline HBufC8(TInt aLength);
private:
TText8 iBuf[1];
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
#line 412
template <TInt S>
class TBufC8 : public TBufCBase8
#line 438
{
public:
inline TBufC8();
inline TBufC8(const TUint8 *aString);
inline TBufC8(const TDesC8 &aDes);
inline TBufC8<S> &operator=(const TUint8 *aString);
inline TBufC8<S> &operator=(const TDesC8 &aDes);
inline TPtr8 Des();
protected:
TUint8 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt8))-1)/(sizeof(TInt)/sizeof(TInt8)))*(sizeof(TInt)/sizeof(TInt8))) ];
};
class TBufBase8 : public TDes8
{
protected:
__declspec(dllexport) TBufBase8(TInt aMaxLength);
__declspec(dllexport) TBufBase8(TInt aLength,TInt aMaxLength);
__declspec(dllexport) TBufBase8(const TUint8* aString,TInt aMaxLength);
__declspec(dllexport) TBufBase8(const TDesC8& aDes,TInt aMaxLength);
};
template <TInt S>
class TBuf8 : public TBufBase8
#line 486
{
public:
inline TBuf8();
inline explicit TBuf8(TInt aLength);
inline TBuf8(const TUint8* aString);
inline TBuf8(const TDesC8& aDes);
inline TBuf8<S>& operator=(const TUint8* aString);
inline TBuf8<S>& operator=(const TDesC8& aDes);
inline TBuf8<S>& operator=(const TBuf8<S>& aBuf);
protected:
TUint8 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt8))-1)/(sizeof(TInt)/sizeof(TInt8)))*(sizeof(TInt)/sizeof(TInt8))) ];
};
template <TInt S>
class TAlignedBuf8 : public TBufBase8
#line 515
{
public:
inline TAlignedBuf8();
inline explicit TAlignedBuf8(TInt aLength);
inline TAlignedBuf8(const TUint8* aString);
inline TAlignedBuf8(const TDesC8& aDes);
inline TAlignedBuf8<S>& operator=(const TUint8* aString);
inline TAlignedBuf8<S>& operator=(const TDesC8& aDes);
inline TAlignedBuf8<S>& operator=(const TAlignedBuf8<S>& aBuf);
protected:
union {
double only_here_to_force_8byte_alignment;
TUint8 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt8))-1)/(sizeof(TInt)/sizeof(TInt8)))*(sizeof(TInt)/sizeof(TInt8))) ];
};
};
class RBuf8 : public TDes8
#line 570
{
public:
__declspec(dllexport) RBuf8();
__declspec(dllexport) explicit RBuf8(HBufC8* aHBuf);
__declspec(dllexport) void Assign(const RBuf8& aRBuf);
__declspec(dllexport) void Assign(TUint8 *aHeapCell,TInt aMaxLength);
__declspec(dllexport) void Assign(TUint8 *aHeapCell,TInt aLength,TInt aMaxLength);
__declspec(dllexport) void Assign(HBufC8* aHBuf);
__declspec(dllexport) void Swap(RBuf8& aRBuf);
__declspec(dllexport) TInt Create(TInt aMaxLength);
__declspec(dllexport) void CreateL(TInt aMaxLength);
__declspec(dllexport) TInt CreateMax(TInt aMaxLength);
__declspec(dllexport) void CreateMaxL(TInt aMaxLength);
inline void CreateL(RReadStream &aStream,TInt aMaxLength);
__declspec(dllexport) TInt Create(const TDesC8& aDes);
__declspec(dllexport) void CreateL(const TDesC8& aDes);
__declspec(dllexport) TInt Create(const TDesC8& aDes,TInt aMaxLength);
__declspec(dllexport) void CreateL(const TDesC8& aDes,TInt aMaxLength);
__declspec(dllexport) TInt ReAlloc(TInt aMaxLength);
__declspec(dllexport) void ReAllocL(TInt aMaxLength);
__declspec(dllexport) void Close();
__declspec(dllexport) void CleanupClosePushL();
protected:
__declspec(dllexport) RBuf8(TInt aType,TInt aLength,TInt aMaxLength);
RBuf8(const RBuf8&);
union
{
TUint8* iEPtrType;
HBufC8* iEBufCPtrType;
};
public: void __DbgTestInvariant() const; void __DbgTest(TAny *aPtr) const ;
};
#line 614
typedef TRefByValue<const TDesC8> __TRefDesC8;
template <TInt S>
class TLitC8
#line 636
{
public:
inline const TDesC8* operator&() const;
inline operator const TDesC8&() const;
inline const TDesC8& operator()() const;
inline operator const __TRefDesC8() const;
public:
TUint iTypeLength;
TText8 iBuf[((((S)+(sizeof(TInt)/sizeof(TInt8))-1)/(sizeof(TInt)/sizeof(TInt8)))*(sizeof(TInt)/sizeof(TInt8))) ];
};
#line 1106 "C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\e32cmn.h" /* stack depth 4 */
#line 1 "C:\\Symbian\\9.1\\S60_3rd_MR\\epoc32\\include\\e32des16.h" /* stack depth 5 */
#line 12
const TUint KMaskDesLength16=0xfffffff;
const TInt KShiftDesType16=28;
class TBufCBase16;
class TDes16;
class TPtrC16;
class TPtr16;
struct TCollationMethod;
class HBufC16;
class TDesC16
#line 47
{
public:
enum TPrefix {
EIsPrefix = 0,
EMightBePrefix = 1,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -