|
reSIProcate/rutil
9694
|
Similar to CurrentPosition, but does not move depending on the state of the ParseBuffer. Initializing one of these is more expensive. More...

Public Member Functions | |
| Pointer (const ParseBuffer &pb, const char *position, bool atEof) | |
| Pointer (const CurrentPosition &pos) | |
| operator const char * () const | |
| const char & | operator* () const |
Private Attributes | |
| const ParseBuffer & | mPb |
| const char * | mPosition |
| const bool | mIsValid |
Static Private Attributes | |
| static const Data | msg |
Similar to CurrentPosition, but does not move depending on the state of the ParseBuffer. Initializing one of these is more expensive.
Definition at line 71 of file ParseBuffer.hxx.
| ParseBuffer::Pointer::Pointer | ( | const ParseBuffer & | pb, |
| const char * | position, | ||
| bool | atEof | ||
| ) |
| ParseBuffer::Pointer::Pointer | ( | const CurrentPosition & | pos | ) |
Definition at line 975 of file ParseBuffer.cxx.
| resip::ParseBuffer::Pointer::operator const char * | ( | ) | const [inline] |
| const char & ParseBuffer::Pointer::operator* | ( | ) | const |
Definition at line 982 of file ParseBuffer.cxx.
References resip::ParseBuffer::mPosition.
{
if (mIsValid)
{
return *mPosition;
}
else
{
throw ParseException(msg, mPb.getContext(), __FILE__, __LINE__);
}
}
const bool resip::ParseBuffer::Pointer::mIsValid [private] |
Definition at line 88 of file ParseBuffer.hxx.
const ParseBuffer& resip::ParseBuffer::Pointer::mPb [private] |
Definition at line 86 of file ParseBuffer.hxx.
const char* resip::ParseBuffer::Pointer::mPosition [private] |
Definition at line 87 of file ParseBuffer.hxx.
Referenced by operator const char *().
const Data ParseBuffer::Pointer::msg [static, private] |
Definition at line 89 of file ParseBuffer.hxx.
1.7.5.1