summaryrefslogtreecommitdiffstats
path: root/src/Client/XLSSheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/XLSSheet.h')
-rw-r--r--src/Client/XLSSheet.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Client/XLSSheet.h b/src/Client/XLSSheet.h
index 3038fdc..0960fc0 100644
--- a/src/Client/XLSSheet.h
+++ b/src/Client/XLSSheet.h
@@ -22,9 +22,9 @@
#include "export.h"
-#include <string>
-#include <vector>
+#include <Core/String.h>
+#include <vector>
#include <boost/noncopyable.hpp>
#include <boost/shared_array.hpp>
#include <boost/shared_ptr.hpp>
@@ -37,7 +37,7 @@ class XLSReader;
class MAD_CLIENT_EXPORT XLSSheet : private boost::noncopyable {
public:
- typedef boost::shared_ptr<const std::vector<std::string> > RowType;
+ typedef boost::shared_ptr<const std::vector<Core::String> > RowType;
private:
friend class XLSReader;
@@ -45,17 +45,17 @@ class MAD_CLIENT_EXPORT XLSSheet : private boost::noncopyable {
boost::shared_ptr<xmlDoc> doc;
xmlNodePtr node;
- std::string title;
+ Core::String title;
size_t colCount;
std::vector<RowType> rows;
- std::vector<std::string> colNames;
+ std::vector<Core::String> colNames;
bool firstRowColNames;
XLSSheet(boost::shared_ptr<xmlDoc> doc0, xmlNodePtr node0);
- std::string getSheetLevelField(const std::string &name) const;
+ Core::String getSheetLevelField(const Core::String &name) const;
void readRows();
@@ -68,7 +68,7 @@ class MAD_CLIENT_EXPORT XLSSheet : private boost::noncopyable {
readRows();
}
- const std::string& getTitle() const {
+ const Core::String& getTitle() const {
return title;
}
@@ -76,7 +76,7 @@ class MAD_CLIENT_EXPORT XLSSheet : private boost::noncopyable {
return colCount;
}
- const std::string& getColumnName(unsigned col) const {
+ const Core::String& getColumnName(unsigned col) const {
return colNames[col];
}