summaryrefslogtreecommitdiffstats
path: root/Source/cmXMLParser.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-05-12 18:36:39 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-05-12 18:36:39 (GMT)
commitbf5ed9b27b5ce80348de2ec283c7c13893a00360 (patch)
tree3b90c5eead00de46c7c140f83c374886c3f3a34e /Source/cmXMLParser.h
parentcac30b5ff8f7034b5290700a4dee28c84e001ac9 (diff)
downloadCMake-bf5ed9b27b5ce80348de2ec283c7c13893a00360.zip
CMake-bf5ed9b27b5ce80348de2ec283c7c13893a00360.tar.gz
CMake-bf5ed9b27b5ce80348de2ec283c7c13893a00360.tar.bz2
STYLE: fix line length
Diffstat (limited to 'Source/cmXMLParser.h')
-rw-r--r--Source/cmXMLParser.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/Source/cmXMLParser.h b/Source/cmXMLParser.h
index cb9b9b7..2c34442 100644
--- a/Source/cmXMLParser.h
+++ b/Source/cmXMLParser.h
@@ -44,18 +44,20 @@ public:
virtual int ParseFile(const char* file);
/**
- * When parsing fragments of XML or streaming XML, use the following three
- * methods. InitializeParser method initialize parser but does not perform
- * any actual parsing. ParseChunk parses framgent of XML. This has to match
- * to what was already parsed. CleanupParser finishes parsing. If there were
- * errors, CleanupParser will report them.
+ * When parsing fragments of XML or streaming XML, use the following
+ * three methods. InitializeParser method initialize parser but does
+ * not perform any actual parsing. ParseChunk parses framgent of
+ * XML. This has to match to what was already parsed. CleanupParser
+ * finishes parsing. If there were errors, CleanupParser will report
+ * them.
*/
virtual int InitializeParser();
virtual int ParseChunk(const char* inputString, unsigned int length);
virtual int CleanupParser();
protected:
- //! This variable is true if there was a parse error while parsing in chunks.
+ //! This variable is true if there was a parse error while parsing in
+ //chunks.
int ParseError;
//1 Expat parser structure. Exists only during call to Parse().
@@ -71,16 +73,15 @@ protected:
virtual int ParsingComplete();
/**
- * Called when a new element is opened in the XML source. Should be replaced
- * by subclasses to handle each element.
- * name = Name of new element.
- * atts = Null-terminated array of attribute name/value pairs. Even
- * indices are attribute names, and odd indices are values.
+ * Called when a new element is opened in the XML source. Should be
+ * replaced by subclasses to handle each element. name = Name of new
+ * element. atts = Null-terminated array of attribute name/value pairs.
+ * Even indices are attribute names, and odd indices are values.
*/
virtual void StartElement(const char* name, const char** atts);
- //! Called at the end of an element in the XML source opened when StartElement
- // was called.
+ //! Called at the end of an element in the XML source opened when
+ //StartElement was called.
virtual void EndElement(const char* name);
//! Called when there is character data to handle.