concordia-server/concordia-server/string_param.cpp

20 lines
318 B
C++

#include "string_param.hpp"
StringParam::StringParam(std::string value) : _value(value) {
}
StringParam::~StringParam() {
}
const char * StringParam::getValue() {
return _value.c_str();
}
const int StringParam::getLength() {
return _value.size();
}
const int StringParam::isBinary() {
return 0;
}