ximol/control_flow.cpp File Reference


Detailed Description

control flow (Implementation).

Author:
Tournois Florent
Version:
1.0
Id
control_flow.cpp,v 1.9 2004/03/03 22:05:30 tournois Exp
Log
control_flow.cpp,v
Revision 1.9 2004/03/03 22:05:30 tournois Add a short roadmap. Add BOOST_NO_STD_WSTRING for gcc.

Revision 1.8 2004/02/25 18:58:39 tournois imporve the gcc compatibility.

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

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

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

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

Revision 1.3 2004/01/22 22:06:45 tournois no message

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

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

Definition in file control_flow.cpp.

#include <ximol/control_flow.hpp>
#include <ximol/parser/def_signs.hpp>
#include <ximol/parser/utils.hpp>
#include <ximol/xml/content.hpp>
#include <ximol/translation.hpp>
#include <ximol/error.hpp>

Include dependency graph for control_flow.cpp:

Include dependency graph

Go to the source code of this file.

Functions

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

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

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

xistreamdrop_space (xistream &xis)
 Eat all white space.

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

bool is_stag (xistream &xis)
 Test next element.

bool is_etag (xistream &xis)
 Test next element.

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

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



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