| 338 | |
| 339 | template<class View, int n, class Val, unsigned int a> |
| 340 | forceinline void |
| 341 | postviewvalbrancher(Home home, |
| 342 | ViewArray<View>& x, |
| 343 | ViewSel<View>* vs[n], |
| 344 | ValSelCommitBase<View,Val>* vsc, |
| 345 | BranchFilter<typename View::VarType> bf, |
| 346 | VarValPrint<typename View::VarType,Val> vvp) { |
| 347 | if (bf) { |
| 348 | if (vvp) { |
| 349 | ViewValBrancher<View,n,Val,a, |
| 350 | BrancherFilter<View>,BrancherPrint<View,Val> > |
| 351 | ::post(home,x,vs,vsc,bf,vvp); |
| 352 | } else { |
| 353 | ViewValBrancher<View,n,Val,a, |
| 354 | BrancherFilter<View>,BrancherNoPrint<View,Val> > |
| 355 | ::post(home,x,vs,vsc,bf,vvp); |
| 356 | } |
| 357 | } else { |
| 358 | if (vvp) |
| 359 | ViewValBrancher<View,n,Val,a, |
| 360 | BrancherNoFilter<View>,BrancherPrint<View,Val> > |
| 361 | ::post(home,x,vs,vsc,bf,vvp); |
| 362 | else |
| 363 | ViewValBrancher<View,n,Val,a, |
| 364 | BrancherNoFilter<View>,BrancherNoPrint<View,Val> > |
| 365 | ::post(home,x,vs,vsc,bf,vvp); |
| 366 | } |
| 367 | } |
| 368 | |
| 369 | } |
| 370 | |