Commit graph

20 commits

Author SHA1 Message Date
Dave Goodwin
f873fb6b1a changed exception XML_NoChild to print offending XML_Node. 2004-10-19 10:44:51 +00:00
Dave Goodwin
1faf4d5a2a cleanup 2004-10-09 15:00:42 +00:00
Dave Goodwin
92624d9ee8 added line numbers to exception error messages 2004-10-03 07:41:54 +00:00
Dave Goodwin
13db7c6dc6 removed unused files 2004-08-03 09:09:19 +00:00
Harry Moffat
40836cf9c2 VC++ warnings were taken out 2004-07-01 23:22:45 +00:00
Dave Goodwin
32f865ef26 moved functions to read XML input files out of importCTML.cpp and into specific classes 2004-06-09 00:59:23 +00:00
Dave Goodwin
2e6c5ad2a1 *** empty log message *** 2004-02-03 03:31:05 +00:00
Dave Goodwin
ec71c9dd36 - 2003-11-24 16:39:27 +00:00
Dave Goodwin
e6a0ba740c *** empty log message *** 2003-09-10 19:14:15 +00:00
Dave Goodwin
8a74abfd2d *** empty log message *** 2003-09-06 00:31:15 +00:00
Harry Moffat
35f71ec193 Added the function findNameID, which does a tree lookup on
the name and the id.
Took out m_level, which seemed to have no purpose.
2003-09-03 18:22:07 +00:00
Harry Moffat
2780df87b6 Changed findXMLPhase() to return a non const XML tree. It broke the
runDiamond program the other way, because importPhase() uses a
non const XML tree argument.
Also, the change commits a small alteration in the xml write operation
that allows for the top level of an xml file to contain multiple
elements. previously this was not possible.
2003-08-21 22:32:03 +00:00
Dave Goodwin
ff4720ef12 *** empty log message *** 2003-08-20 15:32:00 +00:00
Harry Moffat
0524cc9f71 Fixed an error with build(). Basically it was having trouble with
the tag "--". I think that tag is illegal anyway.
2003-08-13 15:24:24 +00:00
Dave Goodwin
81189197f1 *** empty log message *** 2003-08-13 13:56:34 +00:00
Harry Moffat
4391c86e45 Fixed two errors in reading an xml file.
1) empty child xml elements had an extra / character being added onto
    the end of their name
 2) comments with beginning and ending white space were being copied
    with an extra space added on to the front and end of the string.
2003-08-13 00:55:13 +00:00
Harry Moffat
8b2fd2e3a8 Took out print statements in debug blocks 2003-08-02 00:25:32 +00:00
Dave Goodwin
ae09566d97 *** empty log message *** 2003-07-30 02:05:00 +00:00
Harry Moffat
9227cd87fb Fixed several serious errors and added a couple of routines.
1) the read operation would hash any quoted string with a space
     character in it.
  2) changed children() to return a reference rather than the
     complete object
  3) write() would leave off the final endl character. This has
     been fixed.
Additions:
   copy()
   copyUnion(): union of two trees; this routine may be problematic
   findXMLPhase(): phase lookup.
Notes:
 find_XML() still contains a memory leak.
2003-07-25 20:46:01 +00:00
Dave Goodwin
1e8d3822ff Initial revision 2003-04-14 17:57:48 +00:00