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

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

Graph intermediate commit to a tmp branch.

File size: 547 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  };
14  struct CGraphDataPackage
15  {
16    int fromFilter;
17    int toFilter;
18    StdString current_filter_name;
19    CField *currentField=nullptr;
20    int distanceFromStart=-1;
21    StdString contextId;
22
23    CGraphDataPackage(): fromFilter(-1) {}
24  }; 
25} // namespace xios
26
27#endif //__XIOS_CGraph_package__
Note: See TracBrowser for help on using the repository browser.