TGsmuLex8 Class Reference
class TGsmuLex8 : public TLex8 |
Thin wrapper over TLex8 to provide leaving functions when getting the next character(s).
These functions leave with KErrGsmuDecoding if there are insufficient characters remaining.
Private Member Functions |
---|
void | LeaveL() |
Inherited Functions |
---|
| TLex8::Assign(const TDesC8 &) |
| TLex8::Assign(const TLex8 &) |
| TLex8::Assign(const TUint8 *) |
| TLex8::BoundedVal(TInt32 &,TInt) |
| TLex8::BoundedVal(TInt64 &,TRadix,const TInt64 &) |
| TLex8::BoundedVal(TInt64 &,const TInt64 &) |
| TLex8::BoundedVal(TUint32 &,TRadix,TUint) |
| TLex8::Eos()const |
| TLex8::Get() |
| TLex8::Inc() |
| TLex8::Inc(TInt) |
| TLex8::Mark() |
| TLex8::Mark(TLexMark8 &)const |
| TLex8::MarkedOffset()const |
| TLex8::MarkedOffset(const TLexMark8)const |
| TLex8::MarkedToken()const |
| TLex8::MarkedToken(const TLexMark8)const |
| TLex8::NextToken() |
| TLex8::Offset()const |
| TLex8::Peek()const |
| TLex8::Remainder()const |
| TLex8::RemainderFromMark()const |
| TLex8::RemainderFromMark(const TLexMark8)const |
| TLex8::SkipAndMark(TInt) |
| TLex8::SkipAndMark(TInt,TLexMark8 &) |
| TLex8::SkipCharacters() |
| TLex8::SkipSpace() |
| TLex8::SkipSpaceAndMark() |
| TLex8::SkipSpaceAndMark(TLexMark8 &) |
| TLex8::TLex8() |
| TLex8::TLex8(const TDesC8 &) |
| TLex8::TLex8(const TUint8 *) |
| TLex8::TokenLength()const |
| TLex8::TokenLength(const TLexMark8)const |
| TLex8::UnGet() |
| TLex8::UnGetToMark() |
| TLex8::UnGetToMark(const TLexMark8) |
| TLex8::Val(TInt &) |
| TLex8::Val(TInt16 &) |
| TLex8::Val(TInt32 &) |
| TLex8::Val(TInt32 &,TInt) |
| TLex8::Val(TInt64 &) |
| TLex8::Val(TInt64 &,TRadix) |
| TLex8::Val(TInt64 &,TRadix,const TInt64 &) |
| TLex8::Val(TInt64 &,const TInt64 &) |
| TLex8::Val(TInt8 &) |
| TLex8::Val(TReal32 &) |
| TLex8::Val(TReal32 &,TChar) |
| TLex8::Val(TReal64 &) |
| TLex8::Val(TReal64 &,TChar) |
| TLex8::Val(TRealX &) |
| TLex8::Val(TRealX &,TChar) |
| TLex8::Val(TUint &,TRadix) |
| TLex8::Val(TUint16 &,TRadix) |
| TLex8::Val(TUint32 &,TRadix) |
| TLex8::Val(TUint32 &,TRadix,TUint) |
| TLex8::Val(TUint8 &,TRadix) |
| TLex8::operator=(const TDesC8 &) |
| TLex8::operator=(const TUint8 *) |
Constructor & Destructor Documentation
TGsmuLex8(const TDesC8 &)
TGsmuLex8 | ( | const TDesC8 & | aSource | ) | |
Constructs the object with a descriptor. The extraction mark and next character members are initialised to point to the start of the string.
Parameters
const TDesC8 & aSource | Descriptor to be assigned by reference |
Member Functions Documentation
GetL()
Gets the next character in the string and increments the next character position.
-
leave
- Leaves with KErrGsmuDecoding if at end of string
IncL(TInt)
void | IncL | ( | TInt | aNumber = 1 | ) | |
Increments the next character position by aNumber
-
leave
- If the increment puts the next character position before the start or beyond the end of the string, the function leaves with KErrGsmuDecoding.
Parameters
TInt aNumber = 1 | The number of characters to increment the next character position by. |
LeaveL()
void | LeaveL | ( | ) | const [private, inline] |
Leaves with KErrGsmuDecoding.
NextWithNoIncL(TInt)
Checks there are enough remaining characters, then returns a TPtrC containing the next aLength characters. Does not increment the current position.
-
leave
- Leaves with KErrGsmuDecoding if there are insufficient characters remaining
Parameters
TInt aLength | Number of characters to return |
NextWithNoIncL(TInt, TBool)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.