7 #ifndef PJ_STRINGSERIES_H 8 #define PJ_STRINGSERIES_H 13 #include <unordered_set> 47 const auto& str = p.y;
49 if (str.data() ==
nullptr || str.size() == 0)
62 _tmp_str.assign(str.data(), str.size());
Super simple, unmutable, string_view with small string optimization. If the string is 15 bytes or les...
std::shared_ptr< PlotGroup > Ptr
StringSeries(const std::string &name, PlotGroup::Ptr group)
virtual void clear() override
StringSeries & operator=(const StringSeries &other)=delete
const T & move(const T &v)
void pushBack(const Point &p) override
std::unordered_set< std::string > _storage
typename PlotDataBase< double, StringRef >::Point Point
const PlotGroup::Ptr & group() const
void pushBack(const Point &p) override
virtual void pushBack(Point &&p) override