Qt 4.8
|
TraceCallback is a MappingCallback and takes care of the tracing of each individual item. More...
Public Types | |
typedef QExplicitlySharedDataPointer< TraceCallback > | Ptr |
Public Functions | |
Item | mapToItem (const Item &item, const DynamicContext::Ptr &context) |
TraceCallback (const QString &msg) | |
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 | |
const QString | m_msg |
xsInteger | m_position |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
TraceCallback is a MappingCallback and takes care of the tracing of each individual item.
Because Patternist must be thread safe, TraceFN creates a TraceCallback each time the function is evaluated. In other words, TraceFN, which is an Expression sub class, can't modify its members, but MappingCallback does not have this limitation since it's created on a per evaluation basis.
Definition at line 66 of file qtracefn.cpp.
Definition at line 69 of file qtracefn.cpp.
|
inline |
Definition at line 71 of file qtracefn.cpp.
Referenced by QPatternist::TraceFN::evaluateSequence(), and QPatternist::TraceFN::evaluateSingleton().
|
inline |
Performs the actual tracing.
Definition at line 79 of file qtracefn.cpp.
|
private |
Definition at line 114 of file qtracefn.cpp.
Referenced by mapToItem().
|
private |
Definition at line 113 of file qtracefn.cpp.
Referenced by mapToItem().