Kaydet (Commit) 0f6888a2 authored tarafından Miklos Vajna's avatar Miklos Vajna

FastSaxSerializer: update documentation

Change-Id: I5e374c426a4741a88d43848392fc83e2368dbf92
üst b5997b93
...@@ -120,20 +120,20 @@ public: ...@@ -120,20 +120,20 @@ public:
This is to be able to change the order of the data being written. This is to be able to change the order of the data being written.
If you need to write eg. If you need to write eg.
p, r, rPr, [something], /rPr, t, [text], /r, /p, p, r, rPr, [something], /rPr, t, [text], /t, /r, /p,
but get it in order but get it in order
p, r, t, [text], /t, rPr, [something], /rPr, /r, /p, p, r, t, [text], /t, rPr, [something], /rPr, /r, /p,
simply do simply do
p, r, mark(), t, [text], /t, mark(), rPr, [something], /rPr, p, r, mark(), t, [text], /t, mark(), rPr, [something], /rPr,
mergeTopMarks( true ), mergeTopMarks(), /r, /p mergeTopMarks( MERGE_MARKS_PREPEND ), mergeTopMarks( MERGE_MARKS_APPEND ), /r, /p
and you are done. and you are done.
*/ */
void mark( const Int32Sequence& aOrder = Int32Sequence() ); void mark( const Int32Sequence& aOrder = Int32Sequence() );
/** Merge 2 topmost marks. /** Merge 2 topmost marks.
There are 3 possibilities - prepend the top before the second top-most The possibilities: prepend the top before the second top-most
mark, append it, or append it later; prepending brings the possibility mark, append it, append it later or ignore; prepending brings the possibility
to switch parts of the output, appending later allows to write some to switch parts of the output, appending later allows to write some
output in advance. output in advance.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment