#ifndef FACT_Description #define FACT_Description #include #include struct Description { std::string name; std::string unit; std::string comment; static std::string Trim(std::string s); static std::vector SplitDescription(const std::string &buffer); Description(const std::string &n, const std::string &u, const std::string &c) : name(Trim(n)), unit(Trim(u)), comment(Trim(c)) { } }; #endif