Skip to content

Commit 815c55a

Browse files
missing documentation
1 parent ff7eac4 commit 815c55a

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

src/framework/Path.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
}

src/framework/System/String.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

src/framework/System/Xml.h

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
#include "System/String.h"
44
#include "System/IO.h"
55

6+
/// xml document class
7+
namespace System
8+
{
9+
namespace Xml
10+
{
611
class 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+

0 commit comments

Comments
 (0)