24 #ifndef PPL_Status_inlines_hh
25 #define PPL_Status_inlines_hh 1
36 : flags(ZERO_DIM_UNIV) {
41 return (flags & mask) == mask;
46 return (flags & mask) != 0;
61 return flags == ZERO_DIM_UNIV;
67 if (flags == ZERO_DIM_UNIV) {
76 flags = ZERO_DIM_UNIV;
81 return test_any(
EMPTY);
96 return test_any(C_UP_TO_DATE);
111 return test_any(G_UP_TO_DATE);
126 return test_any(C_MINIMIZED);
141 return test_any(G_MINIMIZED);
157 return test_any(CS_PENDING);
172 return test_any(GS_PENDING);
188 return test_any(SAT_C_UP_TO_DATE);
193 reset(SAT_C_UP_TO_DATE);
198 set(SAT_C_UP_TO_DATE);
203 return test_any(SAT_G_UP_TO_DATE);
208 reset(SAT_G_UP_TO_DATE);
213 set(SAT_G_UP_TO_DATE);
218 #endif // !defined(PPL_Status_inlines_hh)
The empty element, i.e., the empty set.
bool test_sat_g_up_to_date() const
void reset_g_up_to_date()
bool test_zero_dim_univ() const
void reset(flags_t mask)
Reset the bits in mask.
bool test_sat_c_up_to_date() const
bool test_c_minimized() const
bool test_g_pending() const
void reset_zero_dim_univ()
void set_sat_c_up_to_date()
void reset_sat_c_up_to_date()
bool test_g_up_to_date() const
bool test_all(flags_t mask) const
Check whether all bits in mask are set.
bool test_c_pending() const
The entire library is confined to this namespace.
void set_sat_g_up_to_date()
unsigned int flags_t
Status is implemented by means of a finite bitset.
bool test_g_minimized() const
void reset_sat_g_up_to_date()
bool test_any(flags_t mask) const
Check whether at least one bit in mask is set.
void reset_c_up_to_date()
void set(flags_t mask)
Set the bits in mask.
bool test_c_up_to_date() const
Status()
By default Status is the zero-dim universe assertion.