Last change
on this file since 10349 was 10342, checked in by tbretz, 14 years ago |
Replaces local Trim function by new function from tools
|
File size:
435 bytes
|
Line | |
---|
1 | #ifndef FACT_Description
|
---|
2 | #define FACT_Description
|
---|
3 |
|
---|
4 | #include <string>
|
---|
5 | #include <vector>
|
---|
6 |
|
---|
7 | #include "tools.h"
|
---|
8 |
|
---|
9 | struct Description
|
---|
10 | {
|
---|
11 | std::string name;
|
---|
12 | std::string unit;
|
---|
13 | std::string comment;
|
---|
14 |
|
---|
15 | static std::vector<Description> SplitDescription(const std::string &buffer);
|
---|
16 |
|
---|
17 | Description(const std::string &n, const std::string &u, const std::string &c)
|
---|
18 | : name(Trim(n)), unit(Trim(u)), comment(Trim(c)) { }
|
---|
19 | };
|
---|
20 |
|
---|
21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.