Added ftm attributes to WiFiMeasurement

This commit is contained in:
2019-06-19 16:05:23 +02:00
parent 09e57292f6
commit 8761dce3ce
5 changed files with 69 additions and 3 deletions

View File

@@ -34,12 +34,15 @@ public:
const std::string& get(const int idx) const {return split.at(idx);}
const float getFloat(const int idx) const {return std::stof(get(idx));}
const float getFloat (const int idx) const {return std::stof(get(idx));}
const int getInteger(const int idx) const {return std::stoi(get(idx));}
size_t size() const {return split.size();}
bool empty() const {return split.empty();}
bool isEmpty(int idx) const { return has(idx) ? get(idx) == "" : true; }
private:
void build() {