[sword-cvs] sword/include utilxml.h,1.3,1.4
sword@www.crosswire.org
sword@www.crosswire.org
Wed, 18 Jun 2003 13:15:01 -0700
Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv27120/include
Modified Files:
utilxml.h
Log Message:
Joachim added OSISFootnotes. Added entryAttributes
parsing in OSISFootnotes
Added = operator and empty constructor to XMLTag
Fixed OSISHeadings to passthru non x-preverse note
bodies
Index: utilxml.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/utilxml.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** utilxml.h 31 May 2003 17:34:43 -0000 1.3
--- utilxml.h 18 Jun 2003 20:14:59 -0000 1.4
***************
*** 48,54 ****
public:
! XMLTag(const char *tagString);
~XMLTag();
inline const char *getName() const { return name; }
--- 48,55 ----
public:
! XMLTag(const char *tagString = 0);
~XMLTag();
+ void setText(const char *tagString);
inline const char *getName() const { return name; }
***************
*** 67,70 ****
--- 68,73 ----
const char *toString() const;
inline operator const char *() const { return toString(); }
+ inline XMLTag & operator =(const char *tagString) { setText(tagString); return *this; }
+ inline XMLTag & operator =(const XMLTag &other) { setText(other.toString()); return *this; }
};