Qt 4.8
|
Carries meta data for xsl:with-param
as encountered in template callsites such as xsl:call-template
and xsl:apply-templates
.
More...
#include <qwithparam_p.h>
Public Types | |
typedef QHash< QXmlName, Ptr > | Hash |
typedef QExplicitlySharedDataPointer< WithParam > | Ptr |
Public Types inherited from QPatternist::FunctionArgument | |
typedef QList< FunctionArgument::Ptr > | List |
typedef QExplicitlySharedDataPointer< FunctionArgument > | Ptr |
Public Functions | |
void | setSourceExpression (const Expression::Ptr &expr) |
Expression::Ptr | sourceExpression () const |
Returns the expression which is the source the value for this parameter. More... | |
WithParam (const QXmlName name, const SequenceType::Ptr &type, const Expression::Ptr &sourceExpression) | |
Public Functions inherited from QPatternist::FunctionArgument | |
FunctionArgument (const QXmlName name, const SequenceType::Ptr &type) | |
QXmlName | name () const |
SequenceType::Ptr | type () const |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Properties | |
Expression::Ptr | m_sourceExpression |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Carries meta data for xsl:with-param
as encountered in template callsites such as xsl:call-template
and xsl:apply-templates
.
WithParam is similar to FunctionArgument, but has in addition a default value in the form of an Expression.
Definition at line 75 of file qwithparam_p.h.
typedef QHash<QXmlName, Ptr> QPatternist::WithParam::Hash |
Definition at line 79 of file qwithparam_p.h.
Definition at line 78 of file qwithparam_p.h.
|
inline |
sourceExpression
can not be null
.
Definition at line 109 of file qwithparam_p.h.
|
inline |
Definition at line 88 of file qwithparam_p.h.
|
inline |
Returns the expression which is the source the value for this parameter.
Guaranteed to never be null
.
Definition at line 100 of file qwithparam_p.h.
|
private |
Definition at line 106 of file qwithparam_p.h.
Referenced by setSourceExpression(), sourceExpression(), and WithParam().