Qt 4.8
|
Provides functionality for encoding strings. Sub-classed by various function implementations. More...
#include <qstringvaluefns_p.h>
Protected Functions | |
EncodeString (const QByteArray &excludeChars, const QByteArray &includeChars) | |
Protected Functions inherited from QPatternist::UnlimitedContainer | |
template<CardinalityComputation suppliedCard> | |
SequenceType::Ptr | operandsUnionType () const |
Protected Functions inherited from QPatternist::Expression | |
void | typeCheckOperands (const StaticContext::Ptr &context) |
Protected Functions inherited from QPatternist::CppCastingHelper< Expression > | |
CppCastingHelper () | |
Properties | |
const QByteArray | m_excludeChars |
const QByteArray | m_includeChars |
Provides functionality for encoding strings. Sub-classed by various function implementations.
Definition at line 211 of file qstringvaluefns_p.h.
|
protected |
Encodes its operand with QUrl::toPercentEncoding(), with includeChars
as the characters to encode, and excludeChars
as the characters to not encode.
Definition at line 335 of file qstringvaluefns.cpp.
|
virtual |
Evaluates its first operand. If it is the empty sequence, an empty string is returned. Otherwise, the item's string value is returned percent encoded as specified in this class's constructor.
Reimplemented from QPatternist::Expression.
Definition at line 341 of file qstringvaluefns.cpp.
|
private |
Definition at line 229 of file qstringvaluefns_p.h.
Referenced by evaluateSingleton().
|
private |
Definition at line 230 of file qstringvaluefns_p.h.
Referenced by evaluateSingleton().