XML path in class ConfigFile wiped out.

This commit is contained in:
Roland Jax
2014-11-20 08:19:33 +01:00
parent 61d618825b
commit 55e729ea32
2 changed files with 1 additions and 34 deletions
-11
View File
@@ -46,13 +46,6 @@ void ConfigFileCSV::parse(std::istream& is, Commands& commands)
};
void ConfigFileXML::parse(std::istream& is, Commands& commands)
{
; // ToDo: Implementation for xml files
}
ConfigCommands::ConfigCommands(const std::string path, const FileType type)
{
m_path = path;
@@ -71,10 +64,6 @@ void ConfigCommands::setType(const FileType type)
m_configfile = new ConfigFileCSV();
m_extension = "csv";
break;
case XML:
m_configfile = new ConfigFileXML();
m_extension = "xml";
break;
};
};
+1 -23
View File
@@ -25,7 +25,7 @@
#include <vector>
/** available file endings / types. */
enum FileType { CSV, XML };
enum FileType { CSV };
/**
* @brief base class for config files.
@@ -69,28 +69,6 @@ public:
};
/**
* @brief class for XML config files.
*/
class ConfigFileXML : public ConfigFile
{
public:
/**
* @brief destructor.
*/
~ConfigFileXML() {}
/**
* @brief read input stream and stored data into commands
* @param is open input stream for reading.
* @param commands object as datastore.
*/
void parse(std::istream& is, Commands& commands);
};
/**
* @brief class for class device.
*/