ximol/control_flow.hpp File Reference

Detailed Description

control flow (declaration).

In this file we group all function to control the xml stream, like wait a tag, test the incoming tag, etc.

Tournois Florent
control_flow.hpp,v 1.13 2004/03/03 22:05:30 tournois Exp
Revision 1.13 2004/03/03 22:05:30 tournois Add a short roadmap. Add BOOST_NO_STD_WSTRING for gcc.

Revision 1.12 2004/02/25 15:57:06 tournois no message

Revision 1.11 2004/02/22 10:27:32 tournois Add some doc.

Revision 1.10 2004/02/22 09:54:19 tournois Change years on the copyright.

Revision 1.9 2004/02/09 12:41:25 tournois Fix bug about error message. Add a read_optionnal_space before the stag read.

Revision 1.8 2004/02/02 19:51:44 tournois Add a control_flow and finish the attribute tutorial.

Revision 1.7 2004/01/29 20:52:35 tournois doc and tutorial.

Revision 1.6 2004/01/27 21:49:51 tournois Add docs and tutorial.

Revision 1.5 2004/01/22 22:06:52 tournois no message

Revision 1.4 2004/01/21 21:06:41 tournois no message

Revision 1.3 2004/01/19 20:40:55 tournois Add min, max and digits facet. Create the control flow file.

Definition in file control_flow.hpp.

#include <ximol/namespace_defs.hpp>
#include <ximol/export_defs.hpp>
#include <ximol/stream.hpp>

Include dependency graph for control_flow.hpp:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.


has_skip_whitespace (xistream &xis)
 Test the flag to eat all white space.

XIMOL_EXPORT xistreamskip_whitespace (xistream &xis)
 Turn on the flag to eat all white space.

XIMOL_EXPORT xistreamno_skip_whitespace (xistream &xis)
 Turn off the flag to eat all white space.

XIMOL_EXPORT xistreamdrop_space (xistream &xis)
 Eat all white space.

XIMOL_EXPORT xistreamdrop_content (xistream &xis)
 Eat the content until the next end or start tag.

XIMOL_EXPORT bool is_stag (xistream &xis)
 Test next element.

XIMOL_EXPORT bool is_etag (xistream &xis)
 Test next element.

XIMOL_EXPORT xistreamdrop_next_element (xistream &xis)
 Drop next element This function drop the nest element if the stream is at a start tag.

XIMOL_EXPORT xistreamdrop_element_until_etag (xistream &xis)
 Drop next element a simple combinaison of function to control the flow.

template<typename String1, typename String2> bool wait_stag (xistream &xis, String1 ns, String2 tag)
 Wait for a pricise tag at this level.

template<typename String1> bool wait_stag (xistream &xis, String1 tag)
 Wait for a pricise tag at this level.

Donate to the XiMoL project SourceForge.net Logo If you have any questions about XiMoL, you could write to tournois@users.sourceforge.net.