summaryrefslogtreecommitdiffstats
path: root/include/astra/XMLDocument.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-02-16 14:37:44 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-02-16 14:37:44 +0100
commit27e23f29f368e06315f2ea381ef38a3affa93c64 (patch)
tree0cac9c94878909bb1eff59c8d4ae3e9b815aa76e /include/astra/XMLDocument.h
parentf591df5ff62deb8de2956cc8200db4034fb6ea05 (diff)
downloadastra-27e23f29f368e06315f2ea381ef38a3affa93c64.tar.gz
astra-27e23f29f368e06315f2ea381ef38a3affa93c64.tar.bz2
astra-27e23f29f368e06315f2ea381ef38a3affa93c64.tar.xz
astra-27e23f29f368e06315f2ea381ef38a3affa93c64.zip
Remove using namespace std; from headers
Diffstat (limited to 'include/astra/XMLDocument.h')
-rw-r--r--include/astra/XMLDocument.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/astra/XMLDocument.h b/include/astra/XMLDocument.h
index e25d398..fc8b29f 100644
--- a/include/astra/XMLDocument.h
+++ b/include/astra/XMLDocument.h
@@ -41,8 +41,6 @@ namespace rapidxml {
#include "Globals.h"
#include "XMLNode.h"
-using namespace std;
-
namespace astra {
/** This class encapsulates an XML Document of the Xerces DOM Parser.
@@ -64,14 +62,14 @@ public:
* @param sFilename Location of the XML file.
* @return XML Document containing the DOM tree
*/
- static XMLDocument* readFromFile(string sFilename);
+ static XMLDocument* readFromFile(std::string sFilename);
/** Construct an empty XML DOM tree with a specific root tag.
*
* @param sRootName Element name of the root tag.
* @return XML Document with an empty root node
*/
- static XMLDocument* createDocument(string sRootName);
+ static XMLDocument* createDocument(std::string sRootName);
/** Get the rootnode of the XML document
*
@@ -83,7 +81,7 @@ public:
*
* @param sFilename Location of the XML file.
*/
- void saveToFile(string sFilename);
+ void saveToFile(std::string sFilename);
/** convert and XML DOM tree to a string
*/