Revision: 255
http://acmcontester.svn.sourceforge.net/acmcontester/?rev=255&view=rev
Author: brus07
Date: 2008-06-15 09:28:12 -0700 (Sun, 15 Jun 2008)
Log Message:
-----------
Added empty function to class Xml, for future modification
Modified Paths:
--------------
ACMServer/trunk/ACMServer/Library/LibraryExtention/Xml.cs
Modified: ACMServer/trunk/ACMServer/Library/LibraryExtention/Xml.cs
===================================================================
--- ACMServer/trunk/ACMServer/Library/LibraryExtention/Xml.cs 2008-06-15 15:35:47 UTC (rev 254)
+++ ACMServer/trunk/ACMServer/Library/LibraryExtention/Xml.cs 2008-06-15 16:28:12 UTC (rev 255)
@@ -1,4 +1,5 @@
using System;
+using System.Collections;
namespace AcmContester.AcmLibraryExtention
{
@@ -6,13 +7,38 @@
{
string data;
+ string name;
+ Xml[] elements;
+
+ public string Name
+ {
+ get
+ {
+ return name;
+ }
+ }
+
public Xml(string str)
{
data = str;
+
}
public override string ToString()
{
return data;
}
+
+ public Xml[] GetElements()
+ {
+ /*
+ ArrayList arr = new ArrayList();
+ Xml[] result = new Xml[arr.Count];
+ for (int index = 0; index < arr.Count; index++)
+ {
+ result[index] = (Xml)arr[index];
+ }
+ */
+ return elements;
+ }
}
-}
+}
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|