BitEvalL1.tpp 884 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. template<typename T>
  2. void BitEvalL1<T>::print() const
  3. {
  4. // cout << "____________" << endl;
  5. zout(bit_masque);
  6. JUMP;
  7. bipoint.print();
  8. // cout << "____________" << endl;
  9. }
  10. template<typename T>
  11. void BitEvalL1<T>::print_bit_masque() const
  12. {
  13. zout(bit_masque);
  14. }
  15. template<typename T>
  16. Bipoint<T> BitEvalL1<T>::get_bipoint() const
  17. {
  18. return bipoint;
  19. }
  20. template<typename T>
  21. BitEvalL1<T>::BitEvalL1(F2 a,Bipoint<T> b)
  22. {
  23. bit_masque = a;
  24. bipoint = b;
  25. }
  26. template<typename T>
  27. void BitEvalL1<T>::set_bit_masque(F2 bit)
  28. //manipulateur pour modifer attribut si nécessaire, méthode définie en dehors de la classe
  29. {
  30. bit_masque = bit;
  31. }
  32. template<typename T>
  33. F2 BitEvalL1<T>::get_bit_masque() const
  34. {
  35. return bit_masque;
  36. }
  37. template<typename T>
  38. void BitEvalL1<T>::set_bipoint(Bipoint<T> b)
  39. {
  40. bipoint = b;
  41. }
  42. template<typename T>
  43. void BitEvalL1<T>::makeaffine()
  44. {
  45. bipoint.makeaffine();
  46. }