Geant4-11
MPI_SET_MAX.icc
Go to the documentation of this file.
1
2#define TOOLS_WROOT_MPI_NTUPLE_LEAF_SET_LENGTH_MAX(a__type) \
3 {leaf_ref<a__type>* _pleaf_ = _pleaf?id_cast<base_leaf, leaf_ref<a__type> >(*_pleaf):0;\
4 if(_pleaf_) {\
5 if(!a_mpi.pack(_pleaf_->length())) return false;\
6 if(!a_mpi.pack(_pleaf_->get_max())) return false;\
7 set_done = true;\
8 }}
9
10#define TOOLS_WROOT_MPI_NTUPLE_LEAF_STD_VECTOR_SET_LENGTH_MAX(a__type) \
11 {leaf_std_vector_ref<a__type>* _pleaf_ = _pleaf?id_cast<base_leaf, leaf_std_vector_ref<a__type> >(*_pleaf):0;\
12 if(_pleaf_) {\
13 if(!a_mpi.pack(_pleaf_->length())) return false;\
14 if(!a_mpi.pack(_pleaf_->get_max())) return false;\
15 set_done = true;\
16 }}
17
18#define TOOLS_WROOT_MPI_NTUPLE_LEAF_STRING_SET_LENGTH_MAX \
19 {leaf_string_ref* _pleaf_ = _pleaf?id_cast<base_leaf,leaf_string_ref>(*_pleaf):0;\
20 if(_pleaf_) {\
21 if(!a_mpi.pack(_pleaf_->length())) return false;\
22 if(!a_mpi.pack(_pleaf_->get_max())) return false;\
23 set_done = true;\
24 }}
25