File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ namespace System
1717 // / get the filename for from the path
1818 static System::String GetFileName (const System::String &a);
1919
20+ // / get the fullpath from a filename
2021 static System::String GetFullPath (const System::String &a);
2122 };
2223}
Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ namespace System
4545 return m_str;
4646 }
4747
48- // an std::string casting converter (NOT .NET call)
48+ // / an std::string casting converter (NOT .NET call)
4949 const std::string operator ()(std::string&) const
5050 {
5151 return str ();
5252 }
5353
54- // an const char* casting converter (NOT .NET call)
54+ // / an const char* casting converter (NOT .NET call)
5555 const char * operator ()(const char *) const
5656 {
5757 return str ().c_str ();
Original file line number Diff line number Diff line change 33#include " System/String.h"
44#include " System/IO.h"
55
6+ // / xml document class
7+ namespace System
8+ {
9+ namespace Xml
10+ {
611class XmlDocument
712{
813 public:
@@ -11,8 +16,14 @@ class XmlDocument
1116 XmlDocument ()
1217 {}
1318
14- void LoadXml (const System::String &file)
19+ // / load the xml from a string
20+ void LoadXml (const System::String &str)
1521 {
16- static_cast <void >(file );
22+ static_cast <void >(str );
1723 }
1824};
25+ }
26+ }
27+
28+ using namespace System ::Xml;
29+
You can’t perform that action at this time.
0 commit comments