source: XIOS/dev/dev_trunk_graph/src/graph_package.hpp @ 2026

Last change on this file since 2026 was 2026, checked in by yushan, 9 months ago

Graph intermediate commit to a tmp branch.

File size: 625 bytes
Line 
1#ifndef __XIOS_CGraph_package__
2#define __XIOS_CGraph_package__
3
4namespace 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.