FACT++  1.0
Description.h
Go to the documentation of this file.
1 #ifndef FACT_Description
2 #define FACT_Description
3 
4 #include <string>
5 #include <vector>
6 
7 struct Description
8 {
9  std::string name;
10  std::string comment;
11  std::string unit;
12 
13  static std::vector<Description> SplitDescription(const std::string &buffer);
14  static std::string GetHtmlDescription(const std::vector<Description> &vec);
15 
16  Description(const std::string &n, const std::string &c, const std::string &u="");
17 };
18 
19 #endif
std::string unit
Definition: Description.h:11
A struct which stores a name, a unit and a comment.
Definition: Description.h:7
static std::string GetHtmlDescription(const std::vector< Description > &vec)
Definition: Description.cc:140
static std::vector< Description > SplitDescription(const std::string &buffer)
Definition: Description.cc:82
std::string name
Definition: Description.h:9
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
std::string comment
Definition: Description.h:10
Description(const std::string &n, const std::string &c, const std::string &u="")
Definition: Description.cc:63