Last change
on this file since 2141 was
2141,
checked in by yushan, 3 years ago
|
Big commit on graph functionality. Add files
|
File size:
625 bytes
|
Rev | Line | |
---|
[2141] | 1 | #ifndef __XIOS_CGraph_package__ |
---|
| 2 | #define __XIOS_CGraph_package__ |
---|
| 3 | |
---|
| 4 | namespace xios |
---|
| 5 | { |
---|
| 6 | class CField; |
---|
| 7 | struct CGraphPackage |
---|
| 8 | { |
---|
| 9 | int filterId; |
---|
| 10 | std::vector< int > sourceFilterIds; |
---|
| 11 | std::vector< CField* > inFields; |
---|
| 12 | StdString contextId; |
---|
| 13 | bool show; |
---|
| 14 | |
---|
| 15 | CGraphPackage(): show(true) {} |
---|
| 16 | }; |
---|
| 17 | struct CGraphDataPackage |
---|
| 18 | { |
---|
| 19 | int fromFilter; |
---|
| 20 | int toFilter; |
---|
| 21 | StdString current_filter_name; |
---|
| 22 | CField *currentField=nullptr; |
---|
| 23 | int distanceFromStart=-1; |
---|
| 24 | StdString contextId; |
---|
| 25 | bool show; |
---|
| 26 | |
---|
| 27 | CGraphDataPackage(): fromFilter(-1), show(true) {} |
---|
| 28 | }; |
---|
| 29 | } // namespace xios |
---|
| 30 | |
---|
| 31 | #endif //__XIOS_CGraph_package__ |
---|
Note: See
TracBrowser
for help on using the repository browser.