summaryrefslogtreecommitdiff
path: root/include/utilxml.h
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:54:01 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-03-29 10:54:01 -0400
commit71a39f4652cd51df814c930dd268f3c9ad2aee86 (patch)
tree5994350a603908c4e4d660bc9d72c4ec43dd648e /include/utilxml.h
parent03134fa5f6f25d92724ce4c183f9bbe12a9e37dc (diff)
Imported Upstream version 1.6.0+dfsg
Diffstat (limited to 'include/utilxml.h')
-rw-r--r--include/utilxml.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/utilxml.h b/include/utilxml.h
index dc5e9d8..5a9c994 100644
--- a/include/utilxml.h
+++ b/include/utilxml.h
@@ -1,7 +1,7 @@
/******************************************************************************
* utilxml.h - definition of class that deal with xml constructs
*
- * $Id: utilxml.h 2096 2007-10-07 00:40:00Z scribe $
+ * $Id: utilxml.h 2378 2009-05-04 23:18:51Z scribe $
*
* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -50,6 +50,7 @@ private:
public:
XMLTag(const char *tagString = 0);
+ XMLTag(const XMLTag& tag);
~XMLTag();
void setText(const char *tagString);
@@ -69,7 +70,11 @@ public:
endTag = false;
}
- inline bool isEndTag() const { return endTag; }
+ /***
+ * if an eID is provided, then we check to be sure we have an attribute <tag eID="xxx"/> value xxx equiv to what is given us
+ * otherwise, we return if we're a simple XML end </tag>.
+ */
+ bool isEndTag(const char *eID = 0) const;
const StringList getAttributeNames() const;
int getAttributePartCount(const char *attribName, char partSplit = '|') const;