source: XIOS/dev/dev_ym/XIOS_COUPLING/src/graph_package.hpp @ 2230

Last change on this file since 2230 was 2193, checked in by yushan, 3 years ago

workflow graph : enable unary and binary arithmetic filters

File size: 668 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    std::pair< Time, Time > graphInterval;
15
16    CGraphPackage(): show(true) {}
17  };
18  struct CGraphDataPackage
19  {
20    int fromFilter;
21    int toFilter;
22    StdString current_filter_name;
23    CField *currentField=nullptr;
24    int distanceFromStart=-1;
25    StdString contextId;
26    bool show;
27
28    CGraphDataPackage(): fromFilter(-1), show(true) {}
29  }; 
30} // namespace xios
31
32#endif //__XIOS_CGraph_package__
Note: See TracBrowser for help on using the repository browser.