|
Last change
on this file since 19285 was 10381, checked in by tbretz, 15 years ago |
|
Turned comment and unit in constructor, added a function to return a html formatted list.
|
|
File size:
438 bytes
|
| Line | |
|---|
| 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
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.