#include <Interval_Restriction.defs.hh>
Public Types | |
typedef Simple_Restriction_Integer_Modulo < T > | type |
Static Public Member Functions | |
static const type & | get (const From &x) |
Definition at line 437 of file Interval_Restriction.defs.hh.
typedef Simple_Restriction_Integer_Modulo<T> Parma_Polyhedra_Library::Restriction_Integer_Modulo< From, T, Base, typename Enable_If< Is_Same_Or_Derived< Interval_Restriction_None_Base, typename From::info_type >::value >::type >::type |
Definition at line 438 of file Interval_Restriction.defs.hh.
static const type& Parma_Polyhedra_Library::Restriction_Integer_Modulo< From, T, Base, typename Enable_If< Is_Same_Or_Derived< Interval_Restriction_None_Base, typename From::info_type >::value >::type >::get | ( | const From & | x | ) | [inline, static] |
Definition at line 439 of file Interval_Restriction.defs.hh.
References Parma_Polyhedra_Library::is_integer().
00439 { 00440 static const type integer(0, 1); 00441 static const type not_integer(0, 0); 00442 if (x.is_singleton() && is_integer(x.lower())) 00443 return integer; 00444 else 00445 return not_integer; 00446 }